added some exports, and tweaked the makefile
[reactos.git] / posix / lib / psxdll / psxdll.edf
1 ; $Id: psxdll.edf,v 1.5 2002/03/10 17:10:30 hyperion Exp $
2 ;
3 ; ReactOS POSIX+ Client Library
4 ;
5
6 LIBRARY PSXDLL.DLL
7 EXPORTS
8
9 ;dirent
10 opendir=opendir
11 readdir=readdir
12 closedir=closedir
13
14 ;dlfcn
15 dlopen=dlopen
16 dlclose=dlclose
17 dlsym=dlsym
18 dlerror=dlerror
19
20 ;errno
21 __PdxGetThreadErrNum=__PdxGetThreadErrNum
22
23 ;fcntl
24 open=open
25 creat=creat
26 fcntl=fcntl
27
28 ;libgen
29 basename=basename
30
31 ;misc
32 ;misc/fdtable
33 __fdtable_init=__fdtable_init
34 __fdtable_free=__fdtable_free
35 __fdtable_entry_nextavail=__fdtable_entry_nextavail
36 __fdtable_entry_add=__fdtable_entry_add
37 __fdtable_entry_remove=__fdtable_entry_remove
38 __fdtable_entry_get=__fdtable_entry_get
39 ;misc/heap
40 ;for Microsoft POSIX and Interix compatibility
41 GetProcessHeap=GetProcessHeap@0
42 HeapAlloc=NTDLL.RtlAllocateHeap
43 HeapFree=NTDLL.RtlFreeHeap
44 HeapReAlloc=NTDLL.ReAllocateHeap
45 HeapSize=NTDLL.RtlSizeHeap
46 ;misc/init
47 __PdxInitializeData=__PdxInitializeData@8
48 ;misc/path
49 __PdxPosixPathGetNextComponent_A=__PdxPosixPathGetNextComponent_A
50 __PdxPosixPathGetNextComponent_U=__PdxPosixPathGetNextComponent_U
51 __PdxPosixPathResolve_A=__PdxPosixPathResolve_A
52 __PdxPosixPathResolve_U=__PdxPosixPathResolve_U
53 __PdxPosixPathNameToNtPathName=__PdxPosixPathNameToNtPathName
54 ;misc/safeobj
55 __safeobj_validate=__safeobj_validate
56 ;misc/spawn
57 __PdxSpawnPosixProcess=__PdxSpawnPosixProcess@24
58
59 ;pthread
60 pthread_create=pthread_create
61 pthread_exit=pthread_exit
62 pthread_join=pthread_join
63 pthread_mutex_destroy=pthread_mutex_destroy
64 pthread_mutex_init=pthread_mutex_init
65 pthread_mutex_lock=pthread_mutex_lock
66 pthread_mutex_trylock=pthread_mutex_trylock
67 pthread_mutex_unlock=pthread_mutex_unlock
68 pthread_mutex_getprioceiling=pthread_mutex_getprioceiling
69 pthread_mutex_setprioceiling=pthread_mutex_setprioceiling
70 pthread_mutexattr_destroy=pthread_mutexattr_destroy
71 pthread_mutexattr_getpshared=pthread_mutexattr_getpshared
72 pthread_mutexattr_init=pthread_mutexattr_init
73 pthread_mutexattr_setpshared=pthread_mutexattr_setpshared
74 pthread_mutexattr_gettype=pthread_mutexattr_gettype
75 pthread_mutexattr_settype=pthread_mutexattr_settype
76 pthread_mutexattr_getprioceiling=pthread_mutexattr_getprioceiling
77 pthread_mutexattr_getprotocol=pthread_mutexattr_getprotocol
78 pthread_mutexattr_setprioceiling=pthread_mutexattr_setprioceiling
79 pthread_mutexattr_setprotocol=pthread_mutexattr_setprotocol
80
81 ;sched
82 sched_yield=sched_yield
83
84 ;signal
85 pthread_kill=pthread_kill
86 raise=raise
87
88 ;stdio
89 ;temporary forward exports, soon to be changed
90 printf=MSVCRT.printf
91 gets=MSVCRT.gets
92
93 ;stdlib
94 abort=abort
95 malloc=malloc
96 realloc=realloc
97 free=free
98 calloc=calloc
99 exit=exit
100 ;FIXME: should the two calls be distinct?
101 _exit=exit
102
103 ;string
104 ;forward-exports to NTDLL
105 memchr=NTDLL.memchr
106 memcmp=NTDLL.memcmp
107 memcpy=NTDLL.memcpy
108 memmove=NTDLL.memmove
109 memset=NTDLL.memset
110 strcat=NTDLL.strcat
111 strchr=NTDLL.strchr
112 strcmp=NTDLL.strcmp
113 strcpy=NTDLL.strcpy
114 strcspn=NTDLL.strcspn
115 strlen=NTDLL.strlen
116 strncat=NTDLL.strncat
117 strncmp=NTDLL.strncmp
118 strncpy=NTDLL.strncpy
119 strpbrk=NTDLL.strpbrk
120 strrchr=NTDLL.strrchr
121 strspn=NTDLL.strspn
122 strstr=NTDLL.strstr
123 ;implemented internally
124 strdup
125
126 ;sys/utsname
127 uname=uname
128
129 ;unistd
130 close=close
131 dup=dup
132 dup2=dup2
133 getcwd=getcwd
134 getpid=getpid
135 getppid=getppid
136
137 ;wchar
138 ;forward-exports to NTDLL
139 wcscat=NTDLL.wcscat
140 wcschr=NTDLL.wcschr
141 wcscmp=NTDLL.wcscmp
142 wcscpy=NTDLL.wcscpy
143 wcscspn=NTDLL.wcscspn
144 wcslen=NTDLL.wcslen
145 wcsncat=NTDLL.wcsncat
146 wcsncmp=NTDLL.wcsncmp
147 wcsncpy=NTDLL.wcsncpy
148 wcspbrk=NTDLL.wcspbrk
149 wcsrchr=NTDLL.wcsrchr
150 wcsspn=NTDLL.wcsspn
151 wcsstr=NTDLL.wcsstr
152 wcstol=NTDLL.wcstol
153 wcstombs=NTDLL.wcstombs
154 wcstoul=NTDLL.wcstoul
155 ;implemented internally
156
157 ;others (FIXME: cathegorize these calls)
158 RtlAnsiCharToUnicodeChar=NTDLL.RtlAnsiCharToUnicodeChar
159 RtlFillMemory=NTDLL.RtlFillMemory
160 RtlMoveMemory=NTDLL.RtlMoveMemory
161 RtlMultiByteToUnicodeN=NTDLL.RtlMultiByteToUnicodeN
162 RtlUnicodeToMultiByteN=NTDLL.RtlUnicodeToMultiByteN
163 RtlUnicodeToMultiByteSize=NTDLL.RtlUnicodeToMultiByteSize
164 RtlUnwind=NTDLL.RtlUnwind
165 RtlUpcaseUnicodeChar=NTDLL.RtlUpcaseUnicodeChar
166 RtlUpcaseUnicodeToMultiByteN=NTDLL.RtlUpcaseUnicodeToMultiByteN
167 RtlZeroMemory=NTDLL.RtlZeroMemory
168
169 ;EOF