New calls and new exported functions
[reactos.git] / posix / lib / psxdll / psxdll.def
index 7a852df..bac034e 100644 (file)
@@ -1,4 +1,4 @@
-; $Id: psxdll.def,v 1.4 2002/03/07 06:07:31 hyperion Exp $
+; $Id: psxdll.def,v 1.8 2002/05/17 02:21:54 hyperion Exp $
 ;
 ; ReactOS POSIX+ Client Library
 ;
@@ -6,6 +6,29 @@
 LIBRARY PSXDLL.DLL
 EXPORTS
 
+;ctype
+isalnum
+isalpha
+iscntrl
+isdigit
+isgraph
+islower
+isprint
+ispunct
+isspace
+isupper
+iswalpha
+iswctype
+iswdigit
+iswlower
+iswspace
+iswxdigit
+isxdigit
+tolower
+toupper
+towlower
+towupper
+
 ;dirent
 opendir
 readdir
@@ -28,6 +51,18 @@ fcntl
 ;libgen
 basename
 
+;math
+atan
+ceil
+cos
+fabs
+floor
+log
+pow
+sin
+sqrt
+tan
+
 ;misc
 ;misc/fdtable
 __fdtable_init
@@ -37,9 +72,14 @@ __fdtable_entry_add
 __fdtable_entry_remove
 __fdtable_entry_get
 ;misc/heap
-GetProcessHeap
+;for Microsoft POSIX and Interix compatibility
+GetProcessHeap@0
+HeapAlloc
+HeapFree
+HeapReAlloc
+HeapSize
 ;misc/init
-__PdxInitializeData
+__PdxInitializeData@8
 ;misc/path
 __PdxPosixPathGetNextComponent_A
 __PdxPosixPathGetNextComponent_U
@@ -49,7 +89,7 @@ __PdxPosixPathNameToNtPathName
 ;misc/safeobj
 __safeobj_validate
 ;misc/spawn
-__PdxSpawnPosixProcess
+__PdxSpawnPosixProcess@24
 
 ;pthread
 pthread_create
@@ -81,16 +121,23 @@ pthread_kill
 raise
 
 ;stdio
+;temporary forward exports, soon to be changed
 printf
 gets
 
 ;stdlib
+abs
 abort
+atoi
+atol
 malloc
+mbstowcs
 realloc
 free
 calloc
 exit
+;FIXME: should the two calls be distinct?
+_exit
 
 ;string
 ;forward-exports to NTDLL
@@ -115,16 +162,33 @@ strstr
 ;implemented internally
 strdup
 
+;sys/stat
+chmod
+fchmod
+fstat
+lstat
+mkdir
+mkfifo
+mknod
+stat
+umask
+
 ;sys/utsname
 uname
 
 ;unistd
+access
 close
 dup
 dup2
+fork
 getcwd
 getpid
 getppid
+pread
+read
+sleep
+write
 
 ;wchar
 ;forward-exports to NTDLL
@@ -146,4 +210,19 @@ wcstombs
 wcstoul
 ;implemented internally
 
+;others (FIXME: cathegorize these calls)
+RtlAnsiCharToUnicodeChar
+RtlFillMemory
+RtlMoveMemory
+RtlMultiByteToUnicodeN
+RtlUnicodeToMultiByteN
+RtlUnicodeToMultiByteSize
+RtlUnwind
+RtlUpcaseUnicodeChar
+RtlUpcaseUnicodeToMultiByteN
+RtlZeroMemory
+
+;WARNING: PRELIMINARY CODE FOR DEBUGGING PURPOSES ONLY - DO NOT CHANGE
+__PdxGetProcessData
+
 ;EOF