; $Id: psxdll.def,v 1.8 2002/05/17 02:21:54 hyperion 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
RtlUnicodeToMultiByteN
RtlUnicodeToMultiByteSize
RtlUnwind
RtlUpcaseUnicodeChar
RtlUpcaseUnicodeToMultiByteN
RtlZeroMemory

;WARNING: PRELIMINARY CODE FOR DEBUGGING PURPOSES ONLY - DO NOT CHANGE
__PdxGetProcessData

;EOF
