Merge 13831:14550 from trunk
[reactos.git] / posix / lib / psxdll / psxdll.edf
1 ; $Id: psxdll.edf,v 1.10 2003/08/22 13:55:15 ea Exp $
2 ;
3 ; ReactOS POSIX+ Client Library
4 ;
5
6 LIBRARY PSXDLL.DLL
7 EXPORTS
8
9 ;ctype
10 isalnum=NTDLL.isalnum
11 isalpha=NTDLL.isalpha
12 iscntrl=NTDLL.iscntrl
13 isdigit=NTDLL.isdigit
14 isgraph=NTDLL.isgraph
15 islower=NTDLL.islower
16 isprint=NTDLL.isprint
17 ispunct=NTDLL.ispunct
18 isspace=NTDLL.isspace
19 isupper=NTDLL.isupper
20 iswalpha=NTDLL.iswalpha
21 iswctype=NTDLL.iswctype
22 iswdigit=NTDLL.iswdigit
23 iswlower=NTDLL.iswlower
24 iswspace=NTDLL.iswspace
25 iswxdigit=NTDLL.iswxdigit
26 isxdigit=NTDLL.isxdigit
27 tolower=NTDLL.tolower
28 toupper=NTDLL.toupper
29 towlower=NTDLL.towlower
30 towupper=NTDLL.towupper
31
32 ;dirent
33 opendir=opendir
34 readdir=readdir
35 closedir=closedir
36
37 ;dlfcn
38 dlopen=dlopen
39 dlclose=dlclose
40 dlsym=dlsym
41 dlerror=dlerror
42
43 ;errno
44 __PdxGetThreadErrNum=__PdxGetThreadErrNum
45
46 ;fcntl
47 open=open
48 creat=creat
49 fcntl=fcntl
50
51 ;libgen
52 basename=basename
53
54 ;math
55 atan=NTDLL.atan
56 ceil=NTDLL.ceil
57 cos=NTDLL.cos
58 fabs=NTDLL.fabs
59 floor=NTDLL.floor
60 log=NTDLL.log
61 pow=NTDLL.pow
62 sin=NTDLL.sin
63 sqrt=NTDLL.sqrt
64 tan=NTDLL.tan
65
66 ;misc
67 ;misc/fdtable
68 __fdtable_init=__fdtable_init
69 __fdtable_free=__fdtable_free
70 __fdtable_entry_nextavail=__fdtable_entry_nextavail
71 __fdtable_entry_add=__fdtable_entry_add
72 __fdtable_entry_remove=__fdtable_entry_remove
73 __fdtable_entry_get=__fdtable_entry_get
74 ;misc/heap
75 ;for Microsoft POSIX and Interix compatibility
76 GetProcessHeap=GetProcessHeap@0
77 HeapAlloc=NTDLL.RtlAllocateHeap
78 HeapFree=NTDLL.RtlFreeHeap
79 HeapReAlloc=NTDLL.ReAllocateHeap
80 HeapSize=NTDLL.RtlSizeHeap
81 ;misc/init
82 __PdxInitializeData=__PdxInitializeData@8
83 ;misc/path
84 __PdxPosixPathGetNextComponent_A=__PdxPosixPathGetNextComponent_A
85 __PdxPosixPathGetNextComponent_U=__PdxPosixPathGetNextComponent_U
86 __PdxPosixPathResolve_A=__PdxPosixPathResolve_A
87 __PdxPosixPathResolve_U=__PdxPosixPathResolve_U
88 __PdxPosixPathNameToNtPathName=__PdxPosixPathNameToNtPathName
89 ;misc/safeobj
90 __safeobj_validate=__safeobj_validate
91 ;misc/spawn
92 __PdxSpawnPosixProcess=__PdxSpawnPosixProcess@24
93
94 ;pthread
95 pthread_create=pthread_create
96 pthread_exit=pthread_exit
97 pthread_join=pthread_join
98 pthread_mutex_destroy=pthread_mutex_destroy
99 pthread_mutex_init=pthread_mutex_init
100 pthread_mutex_lock=pthread_mutex_lock
101 pthread_mutex_trylock=pthread_mutex_trylock
102 pthread_mutex_unlock=pthread_mutex_unlock
103 pthread_mutex_getprioceiling=pthread_mutex_getprioceiling
104 pthread_mutex_setprioceiling=pthread_mutex_setprioceiling
105 pthread_mutexattr_destroy=pthread_mutexattr_destroy
106 pthread_mutexattr_getpshared=pthread_mutexattr_getpshared
107 pthread_mutexattr_init=pthread_mutexattr_init
108 pthread_mutexattr_setpshared=pthread_mutexattr_setpshared
109 pthread_mutexattr_gettype=pthread_mutexattr_gettype
110 pthread_mutexattr_settype=pthread_mutexattr_settype
111 pthread_mutexattr_getprioceiling=pthread_mutexattr_getprioceiling
112 pthread_mutexattr_getprotocol=pthread_mutexattr_getprotocol
113 pthread_mutexattr_setprioceiling=pthread_mutexattr_setprioceiling
114 pthread_mutexattr_setprotocol=pthread_mutexattr_setprotocol
115
116 ;sched
117 sched_yield=sched_yield
118
119 ;signal
120 pthread_kill=pthread_kill
121 raise=raise
122
123 ;stdio
124 ;temporary forward exports, soon to be changed
125 printf=MSVCRT.printf
126 gets=MSVCRT.gets
127
128 ;stdlib
129 abs=NTDLL.abs
130 abort=abort
131 atoi=NTDLL.atoi
132 atol=NTDLL.atol
133 malloc=malloc
134 mbstowcs=NTDLL.mbstowcs
135 realloc=realloc
136 free=free
137 calloc=calloc
138 exit=exit
139 ;FIXME: should the two calls be distinct?
140 _exit=exit
141
142 ;string
143 ;forward-exports to NTDLL
144 memchr=NTDLL.memchr
145 memcmp=NTDLL.memcmp
146 memcpy=NTDLL.memcpy
147 memmove=NTDLL.memmove
148 memset=NTDLL.memset
149 strcat=NTDLL.strcat
150 strchr=NTDLL.strchr
151 strcmp=NTDLL.strcmp
152 strcpy=NTDLL.strcpy
153 strcspn=NTDLL.strcspn
154 strlen=NTDLL.strlen
155 strncat=NTDLL.strncat
156 strncmp=NTDLL.strncmp
157 strncpy=NTDLL.strncpy
158 strpbrk=NTDLL.strpbrk
159 strrchr=NTDLL.strrchr
160 strspn=NTDLL.strspn
161 strstr=NTDLL.strstr
162 ;implemented internally
163 strdup
164
165 ;sys/stat
166 chmod=chmod
167 fchmod=fchmod
168 fstat=fstat
169 lstat=lstat
170 mkdir=mkdir
171 mkfifo=mkfifo
172 mknod=mknod
173 stat=stat
174 umask=umask
175
176 ;sys/utsname
177 uname=uname
178
179 ;unistd
180 access=access
181 close=close
182 dup=dup
183 dup2=dup2
184 fork=fork
185 getcwd=getcwd
186 getpid=getpid
187 getppid=getppid
188 pread=pread
189 read=read
190 sleep=sleep
191 write=write
192
193 ;wchar
194 ;forward-exports to NTDLL
195 wcscat=NTDLL.wcscat
196 wcschr=NTDLL.wcschr
197 wcscmp=NTDLL.wcscmp
198 wcscpy=NTDLL.wcscpy
199 wcscspn=NTDLL.wcscspn
200 wcslen=NTDLL.wcslen
201 wcsncat=NTDLL.wcsncat
202 wcsncmp=NTDLL.wcsncmp
203 wcsncpy=NTDLL.wcsncpy
204 wcspbrk=NTDLL.wcspbrk
205 wcsrchr=NTDLL.wcsrchr
206 wcsspn=NTDLL.wcsspn
207 wcsstr=NTDLL.wcsstr
208 wcstol=NTDLL.wcstol
209 wcstombs=NTDLL.wcstombs
210 wcstoul=NTDLL.wcstoul
211 ;implemented internally
212
213 ;others (FIXME: cathegorize these calls)
214 RtlAnsiCharToUnicodeChar=NTDLL.RtlAnsiCharToUnicodeChar
215 RtlFillMemory=NTDLL.RtlFillMemory
216 RtlMoveMemory=NTDLL.RtlMoveMemory
217 RtlMultiByteToUnicodeN=NTDLL.RtlMultiByteToUnicodeN
218 RtlNtStatusToPsxErrno=RtlNtStatusToPsxErrno@4
219 RtlUnicodeToMultiByteN=NTDLL.RtlUnicodeToMultiByteN
220 RtlUnicodeToMultiByteSize=NTDLL.RtlUnicodeToMultiByteSize
221 RtlUnwind=NTDLL.RtlUnwind
222 RtlUpcaseUnicodeChar=NTDLL.RtlUpcaseUnicodeChar
223 RtlUpcaseUnicodeToMultiByteN=NTDLL.RtlUpcaseUnicodeToMultiByteN
224 RtlZeroMemory=NTDLL.RtlZeroMemory
225
226 ;WARNING: PRELIMINARY CODE FOR DEBUGGING PURPOSES ONLY - DO NOT CHANGE
227 __PdxGetProcessData=__PdxGetProcessData
228
229 ;EOF