mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 14:05:42 +00:00
first bits for the POSIX+ client DLL
svn path=/trunk/; revision=597
This commit is contained in:
parent
d2eea59593
commit
b6ae20fcd0
3 changed files with 313 additions and 0 deletions
197
reactos/lib/psxdll/psxdll.def
Normal file
197
reactos/lib/psxdll/psxdll.def
Normal file
|
@ -0,0 +1,197 @@
|
|||
; $Id: psxdll.def,v 1.1 1999/07/18 20:54:04 ea Exp $
|
||||
;
|
||||
; psxdll.def
|
||||
;
|
||||
; ReactOS POSIX+ Subsystem
|
||||
;
|
||||
LIBRARY psxdll
|
||||
EXPORTS
|
||||
GetProcessHeap
|
||||
HeapAlloc = NTDLL.RtlAllocateHeap
|
||||
HeapFree = NTDLL.RtlFreeHeap
|
||||
HeapReAlloc = NTDLL.RtlReAllocateHeap
|
||||
HeapSize = NTDLL.RtlSizeHeap
|
||||
RtlAnsiCharToUnicodeChar = NTDLL.RtlAnsiCharToUnicodeChar
|
||||
RtlFillMemory = NTDLL.RtlFillMemory
|
||||
RtlMoveMemory = NTDLL.RtlMoveMemory
|
||||
RtlMultiByteToUnicodeN = NTDLL.RtlMultiByteToUnicodeN
|
||||
RtlUnicodeToMultiByteN = NTDLL.RtlUnicodeToMultiByteN
|
||||
RtlUnicodeToMultiByteSize = NTDLL.RtlUnicodeToMultiByteSize
|
||||
RtlUnwind = NTDLL.RtlUnwind
|
||||
RtlUpcaseUnicodeChar = NTDLL.RtlUpcaseUnicodeChar
|
||||
RtlUpcaseUnicodeToMultiByteN = NTDLL.RtlUpcaseUnicodeToMultiByteN
|
||||
RtlZeroMemory = NTDLL.RtlZeroMemory
|
||||
__PdxGetCmdLine
|
||||
__PdxInitializeData
|
||||
__findenv
|
||||
_exit
|
||||
_fdptcheck
|
||||
_sigjmp_store_mask
|
||||
accept
|
||||
access
|
||||
alarm
|
||||
authenticateuser
|
||||
bind
|
||||
cfgetispeed
|
||||
cfgetospeed
|
||||
cfsetispeed
|
||||
cfsetospeed
|
||||
chdir
|
||||
chmod
|
||||
chown
|
||||
close
|
||||
closedir
|
||||
connect
|
||||
creat
|
||||
ctermid
|
||||
cuserid
|
||||
dup
|
||||
dup2
|
||||
endutxent
|
||||
execl
|
||||
execl_asuser
|
||||
execle
|
||||
execle_asuser
|
||||
execlp
|
||||
execlp_asuser
|
||||
execv
|
||||
execv_asuser
|
||||
execve
|
||||
execve_asuser
|
||||
execvp
|
||||
execvp_asuser
|
||||
fcntl
|
||||
flock
|
||||
fork
|
||||
fpathconf
|
||||
fstat
|
||||
fstatvfs
|
||||
fsync
|
||||
ftruncate
|
||||
getcwd
|
||||
getegid
|
||||
getenv
|
||||
geteuid
|
||||
getgid
|
||||
getgrgid
|
||||
getgrgid_nomembers
|
||||
getgrnam
|
||||
getgrnam_nomembers
|
||||
getgroups
|
||||
gethostbyaddr
|
||||
gethostbyname
|
||||
getitimer
|
||||
getlogin
|
||||
getloginenv
|
||||
getpeername
|
||||
getpgrp
|
||||
getpid
|
||||
getppid
|
||||
getprotobyname
|
||||
getprotobynumber
|
||||
getpwnam
|
||||
getpwuid
|
||||
getreg
|
||||
getreg_strvalue
|
||||
getservbyname
|
||||
getservbyport
|
||||
getsockname
|
||||
getsockopt
|
||||
gettimeofday
|
||||
gettzenv
|
||||
getuid
|
||||
getutxent
|
||||
getutxid
|
||||
getutxline
|
||||
grantpt
|
||||
ioctl
|
||||
ipcs
|
||||
isatty
|
||||
isatty2
|
||||
kill
|
||||
link
|
||||
listen
|
||||
lseek
|
||||
mkdir
|
||||
mkfifo
|
||||
mmap
|
||||
mprotect
|
||||
msgctl
|
||||
msgget
|
||||
msgrcv
|
||||
msgsnd
|
||||
munmap
|
||||
open
|
||||
opendir
|
||||
pathconf
|
||||
pause
|
||||
pipe
|
||||
poll
|
||||
ptsname
|
||||
pututxline
|
||||
raise
|
||||
read
|
||||
readdir
|
||||
recv
|
||||
recvfrom
|
||||
remove
|
||||
rename
|
||||
renamewtmpx
|
||||
rewinddir
|
||||
rmdir
|
||||
select
|
||||
semctl
|
||||
semget
|
||||
semop
|
||||
send
|
||||
sendto
|
||||
setgid
|
||||
setitimer
|
||||
setpgid
|
||||
setsid
|
||||
setsockopt
|
||||
setuid
|
||||
setuser
|
||||
setutxent
|
||||
shmat
|
||||
shmctl
|
||||
shmdt
|
||||
shmget
|
||||
shutdown
|
||||
sigaction
|
||||
sigaddset
|
||||
sigdelset
|
||||
sigemptyset
|
||||
sigfillset
|
||||
sigismember
|
||||
siglongjmp
|
||||
signal
|
||||
sigpending
|
||||
sigprocmask
|
||||
sigsuspend
|
||||
sleep
|
||||
socket
|
||||
stat
|
||||
statvfs
|
||||
sysconf
|
||||
system
|
||||
tcdrain
|
||||
tcflow
|
||||
tcflush
|
||||
tcgetattr
|
||||
tcgetpgrp
|
||||
tcsendbreak
|
||||
tcsetattr
|
||||
tcsetpgrp
|
||||
time
|
||||
times
|
||||
ttyname
|
||||
uidtontsid
|
||||
umask
|
||||
uname
|
||||
unlink
|
||||
unlockpt
|
||||
utime
|
||||
wait
|
||||
waitpid
|
||||
write
|
38
reactos/lib/psxdll/psxdll.rc
Normal file
38
reactos/lib/psxdll/psxdll.rc
Normal file
|
@ -0,0 +1,38 @@
|
|||
#include "../../include/defines.h"
|
||||
#include "../../include/reactos/resource.h"
|
||||
|
||||
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
|
||||
PRODUCTVERSION RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
#else
|
||||
FILEFLAGS 0x0L
|
||||
#endif
|
||||
FILEOS 0x40004L
|
||||
FILETYPE 0x2L
|
||||
FILESUBTYPE 0x0L
|
||||
BEGIN
|
||||
BLOCK "StringFileInfo"
|
||||
BEGIN
|
||||
BLOCK "040904b0"
|
||||
BEGIN
|
||||
VALUE "CompanyName", RES_STR_COMPANY_NAME
|
||||
VALUE "FileDescription", "POSIX+ Subsystem Client DLL\0"
|
||||
VALUE "FileVersion", RES_STR_FILE_VERSION
|
||||
VALUE "InternalName", "psxdll\0"
|
||||
VALUE "LegalCopyright", RES_STR_LEGAL_COPYRIGHT
|
||||
VALUE "OriginalFilename", "psxdll.dll\0"
|
||||
VALUE "ProductName", RES_STR_PRODUCT_NAME
|
||||
VALUE "ProductVersion", RES_STR_PRODUCT_VERSION
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
BEGIN
|
||||
VALUE "Translation", 0x409, 1200
|
||||
END
|
||||
END
|
||||
|
78
reactos/lib/psxdll/psxdll_specs
Normal file
78
reactos/lib/psxdll/psxdll_specs
Normal file
|
@ -0,0 +1,78 @@
|
|||
*asm:
|
||||
|
||||
|
||||
*asm_final:
|
||||
|
||||
|
||||
*cpp:
|
||||
-remap %(cpp_cpu) %{posix:-D_POSIX_SOURCE}
|
||||
|
||||
*cc1:
|
||||
%(cc1_spec)
|
||||
|
||||
*cc1plus:
|
||||
|
||||
|
||||
*endfile:
|
||||
|
||||
|
||||
*link:
|
||||
%{mwindows:--subsystem windows} %{mdll:--dll -e _DllMain@12}
|
||||
|
||||
*lib:
|
||||
|
||||
|
||||
*libgcc:
|
||||
-lgcc
|
||||
|
||||
*startfile:
|
||||
|
||||
|
||||
*switches_need_spaces:
|
||||
|
||||
|
||||
*signed_char:
|
||||
%{funsigned-char:-D__CHAR_UNSIGNED__}
|
||||
|
||||
*predefines:
|
||||
-Di386 -D_WIN32 -DWIN32 -D__WIN32__ -D__MINGW32__ -DWINNT -D_X86_=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) _D_stdcall=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) -Asystem(winnt) -Acpu(i386) -Amachine(i386)
|
||||
|
||||
*cross_compile:
|
||||
1
|
||||
|
||||
*version:
|
||||
egcs-2.91.57
|
||||
|
||||
*multilib:
|
||||
. ;
|
||||
|
||||
*multilib_defaults:
|
||||
|
||||
|
||||
*multilib_extra:
|
||||
|
||||
|
||||
*multilib_matches:
|
||||
|
||||
|
||||
*linker:
|
||||
collect2
|
||||
|
||||
*cpp_486:
|
||||
%{!ansi:-Di486} -D__i486 -D__i486__
|
||||
|
||||
*cpp_586:
|
||||
%{!ansi:-Di586 -Dpentium} -D__i586 -D__i586__ -D__pentium -D__pentium__
|
||||
|
||||
*cpp_686:
|
||||
%{!ansi:-Di686 -Dpentiumpro} -D__i686 -D__i686__ -D__pentiumpro -D__pentiumpro__
|
||||
|
||||
*cpp_cpu_default:
|
||||
%(cpp_586)
|
||||
|
||||
*cpp_cpu:
|
||||
-Acpu(i386) -Amachine(i386) %{!ansi:-Di386} -D__i386 -D__i386__ %{mcpu=i486:%(cpp_486)} %{m486:%(cpp_486)} %{mpentium:%(cpp_586)} %{mcpu=pentium:%(cpp_586)} %{mpentiumpro:%(cpp_686)} %{mcpu=pentiumpro:%(cpp_686)} %{!mcpu*:%{!m486:%{!mpentium*:%(cpp_cpu_default)}}}
|
||||
|
||||
*cc1_cpu:
|
||||
%{!mcpu*: %{m386:-mcpu=i386 -march=i386} %{mno-486:-mcpu=i386 -march=i386} %{m486:-mcpu=i486 -march=i486} %{mno-386:-mcpu=i486 -march=i486} %{mno-pentium:-mcpu=i486 -march=i486} %{mpentium:-mcpu=pentium} %{mno-pentiumpro:-mcpu=pentium} %{mpentiumpro:-mcpu=pentiumpro}}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue