Resuscitate POSIX subsystem from revision 21378.
[reactos.git] / rossubsys / posix / lib / psxdll / psxdll.def
diff --git a/rossubsys/posix/lib/psxdll/psxdll.def b/rossubsys/posix/lib/psxdll/psxdll.def
new file mode 100644 (file)
index 0000000..b40e120
--- /dev/null
@@ -0,0 +1,229 @@
+; $Id: psxdll.def,v 1.11 2003/08/22 13:55:15 ea Exp $
+;
+; ReactOS POSIX+ Client Library
+;
+
+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
+closedir
+
+;dlfcn
+dlopen
+dlclose
+dlsym
+dlerror
+
+;errno
+__PdxGetThreadErrNum
+
+;fcntl
+open
+creat
+fcntl
+
+;libgen
+basename
+
+;math
+atan
+ceil
+cos
+fabs
+floor
+log
+pow
+sin
+sqrt
+tan
+
+;misc
+;misc/fdtable
+__fdtable_init
+__fdtable_free
+__fdtable_entry_nextavail
+__fdtable_entry_add
+__fdtable_entry_remove
+__fdtable_entry_get
+;misc/heap
+;for Microsoft POSIX and Interix compatibility
+GetProcessHeap@0
+HeapAlloc
+HeapFree
+HeapReAlloc
+HeapSize
+;misc/init
+__PdxInitializeData@8
+;misc/path
+__PdxPosixPathGetNextComponent_A
+__PdxPosixPathGetNextComponent_U
+__PdxPosixPathResolve_A
+__PdxPosixPathResolve_U
+__PdxPosixPathNameToNtPathName
+;misc/safeobj
+__safeobj_validate
+;misc/spawn
+__PdxSpawnPosixProcess@24
+
+;pthread
+pthread_create
+pthread_exit
+pthread_join
+pthread_mutex_destroy
+pthread_mutex_init
+pthread_mutex_lock
+pthread_mutex_trylock
+pthread_mutex_unlock
+pthread_mutex_getprioceiling
+pthread_mutex_setprioceiling
+pthread_mutexattr_destroy
+pthread_mutexattr_getpshared
+pthread_mutexattr_init
+pthread_mutexattr_setpshared
+pthread_mutexattr_gettype
+pthread_mutexattr_settype
+pthread_mutexattr_getprioceiling
+pthread_mutexattr_getprotocol
+pthread_mutexattr_setprioceiling
+pthread_mutexattr_setprotocol
+
+;sched
+sched_yield
+
+;signal
+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
+memchr
+memcmp
+memcpy
+memmove
+memset
+strcat
+strchr
+strcmp
+strcpy
+strcspn
+strlen
+strncat
+strncmp
+strncpy
+strpbrk
+strrchr
+strspn
+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
+wcscat
+wcschr
+wcscmp
+wcscpy
+wcscspn
+wcslen
+wcsncat
+wcsncmp
+wcsncpy
+wcspbrk
+wcsrchr
+wcsspn
+wcsstr
+wcstol
+wcstombs
+wcstoul
+;implemented internally
+
+;others (FIXME: cathegorize these calls)
+RtlAnsiCharToUnicodeChar
+RtlFillMemory
+RtlMoveMemory
+RtlMultiByteToUnicodeN
+RtlNtStatusToPsxErrno
+RtlUnicodeToMultiByteN
+RtlUnicodeToMultiByteSize
+RtlUnwind
+RtlUpcaseUnicodeChar
+RtlUpcaseUnicodeToMultiByteN
+RtlZeroMemory
+
+;WARNING: PRELIMINARY CODE FOR DEBUGGING PURPOSES ONLY - DO NOT CHANGE
+__PdxGetProcessData
+
+;EOF