From aec0b9bcfc2a148ce44218141c0fddbfafc4ce34 Mon Sep 17 00:00:00 2001 From: "KJK::Hyperion" Date: Fri, 17 May 2002 02:21:54 +0000 Subject: [PATCH] New calls and new exported functions svn path=/trunk/; revision=2967 --- posix/lib/psxdll/Makefile | 73 ++++++++++++++++++++++--------------- posix/lib/psxdll/psxdll.def | 19 +++++++++- posix/lib/psxdll/psxdll.edf | 19 +++++++++- 3 files changed, 79 insertions(+), 32 deletions(-) diff --git a/posix/lib/psxdll/Makefile b/posix/lib/psxdll/Makefile index 506d052e8a7..99e9deb1417 100644 --- a/posix/lib/psxdll/Makefile +++ b/posix/lib/psxdll/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.7 2002/03/23 18:13:33 hyperion Exp $ +# $Id: Makefile,v 1.8 2002/05/17 02:21:54 hyperion Exp $ PATH_TO_TOP = ../../../.. @@ -34,15 +34,16 @@ include $(PATH_TO_TOP)/rules.mak include $(TOOLS_PATH)/helper.mk OBJECTS_MISC = \ - misc/main.o \ - misc/init.o \ - misc/heap.o \ - misc/interlock.o \ - misc/safeobj.o \ + misc/main.o \ + misc/init.o \ + misc/heap.o \ + misc/interlock.o \ + misc/safeobj.o \ misc/spawn.o \ - misc/path.o \ + misc/path.o \ misc/pdata.o \ - misc/fdtable.o + misc/fdtable.o \ + misc/tls.o OBJECTS_DIRENT = \ dirent/opendir.o \ @@ -50,13 +51,13 @@ OBJECTS_DIRENT = \ dirent/closedir.o OBJECTS_DLFCN = \ - dlfcn/dlopen.o \ - dlfcn/dlclose.o \ - dlfcn/dlsym.o \ - dlfcn/dlerror.o + dlfcn/dlopen.o \ + dlfcn/dlclose.o \ + dlfcn/dlsym.o \ + dlfcn/dlerror.o OBJECTS_ERRNO = \ - errno/errno.o + errno/errno.o OBJECTS_FCNTL = \ fcntl/open.o \ @@ -74,45 +75,57 @@ OBJECTS_SIGNAL = \ OBJECTS_STDLIB = \ stdlib/abort.o \ - stdlib/malloc.o \ - stdlib/exit.o + stdlib/malloc.o \ + stdlib/exit.o OBJECTS_STRING = \ - string/strdup.o \ - string/strerror.o + string/strdup.o \ + string/strerror.o OBJECTS_PTHREAD = \ - pthread/create.o \ - pthread/exit.o \ - pthread/join.o \ - pthread/mutex.o \ - pthread/self.o + pthread/create.o \ + pthread/exit.o \ + pthread/join.o \ + pthread/mutex.o \ + pthread/self.o + +OBJECTS_SYS_STAT = \ + sys/stat/chmod.o \ + sys/stat/mkdir.o \ + sys/stat/mkfifo.o \ + sys/stat/mknod.o \ + sys/stat/stat.o \ + sys/stat/umask.o OBJECTS_SYS_UTSNAME = \ - sys/utsname/uname.o + sys/utsname/uname.o OBJECTS_UNISTD = \ + unistd/access.o \ unistd/close.o \ unistd/dup.o \ + unistd/fork.o \ unistd/getcwd.o \ unistd/getpid.o \ unistd/getppid.o \ unistd/read.o \ + unistd/sleep.o \ unistd/write.o OBJECTS = \ - $(OBJECTS_MISC) \ + $(OBJECTS_MISC) \ $(OBJECTS_DIRENT) \ - $(OBJECTS_DLFCN) \ - $(OBJECTS_ERRNO) \ + $(OBJECTS_DLFCN) \ + $(OBJECTS_ERRNO) \ $(OBJECTS_FCNTL) \ $(OBJECTS_LIBGEN) \ $(OBJECTS_SCHED) \ $(OBJECTS_SIGNAL) \ - $(OBJECTS_STDLIB) \ - $(OBJECTS_STRING) \ - $(OBJECTS_PTHREAD) \ - $(OBJECTS_SYS_UTSNAME) \ + $(OBJECTS_STDLIB) \ + $(OBJECTS_STRING) \ + $(OBJECTS_PTHREAD) \ + $(OBJECTS_SYS_STAT) \ + $(OBJECTS_SYS_UTSNAME) \ $(OBJECTS_UNISTD) DEP_OBJECTS = $(OBJECTS) diff --git a/posix/lib/psxdll/psxdll.def b/posix/lib/psxdll/psxdll.def index 740b0039dc3..bac034e614c 100644 --- a/posix/lib/psxdll/psxdll.def +++ b/posix/lib/psxdll/psxdll.def @@ -1,4 +1,4 @@ -; $Id: psxdll.def,v 1.7 2002/03/21 22:47:05 hyperion Exp $ +; $Id: psxdll.def,v 1.8 2002/05/17 02:21:54 hyperion Exp $ ; ; ReactOS POSIX+ Client Library ; @@ -162,18 +162,32 @@ 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 @@ -208,4 +222,7 @@ RtlUpcaseUnicodeChar RtlUpcaseUnicodeToMultiByteN RtlZeroMemory +;WARNING: PRELIMINARY CODE FOR DEBUGGING PURPOSES ONLY - DO NOT CHANGE +__PdxGetProcessData + ;EOF diff --git a/posix/lib/psxdll/psxdll.edf b/posix/lib/psxdll/psxdll.edf index b541fbd918e..2fd30f4a19d 100644 --- a/posix/lib/psxdll/psxdll.edf +++ b/posix/lib/psxdll/psxdll.edf @@ -1,4 +1,4 @@ -; $Id: psxdll.edf,v 1.6 2002/03/21 22:47:05 hyperion Exp $ +; $Id: psxdll.edf,v 1.7 2002/05/17 02:21:54 hyperion Exp $ ; ; ReactOS POSIX+ Client Library ; @@ -162,18 +162,32 @@ strstr=NTDLL.strstr ;implemented internally strdup +;sys/stat +chmod=chmod +fchmod=fchmod +fstat=fstat +lstat=lstat +mkdir=mkdir +mkfifo=mkfifo +mknod=mknod +stat=stat +umask=umask + ;sys/utsname uname=uname ;unistd +access=access close=close dup=dup dup2=dup2 +fork=fork getcwd=getcwd getpid=getpid getppid=getppid pread=pread read=read +sleep=sleep write=write ;wchar @@ -208,4 +222,7 @@ RtlUpcaseUnicodeChar=NTDLL.RtlUpcaseUnicodeChar RtlUpcaseUnicodeToMultiByteN=NTDLL.RtlUpcaseUnicodeToMultiByteN RtlZeroMemory=NTDLL.RtlZeroMemory +;WARNING: PRELIMINARY CODE FOR DEBUGGING PURPOSES ONLY - DO NOT CHANGE +__PdxGetProcessData=__PdxGetProcessData + ;EOF