peter 86f78c7300 * units are now created in separate directory units/cpu-os/ 21 سال پیش
..
Makefile 86f78c7300 * units are now created in separate directory units/cpu-os/ 21 سال پیش
Makefile.fpc 1682586b08 + Version on 1.9.4 21 سال پیش
README 5ac94f8092 + Fixed errno_location problem 22 سال پیش
aineth.inc 3bf060e15c + Moved ineth.inc to aineth.inc as originally intended. Thanks to Sebastian Volland 22 سال پیش
aioh.inc 4bc085713f + Initial implementation 22 سال پیش
aliasesh.inc 4bc085713f + Initial implementation 22 سال پیش
allocah.inc 4bc085713f + Initial implementation 22 سال پیش
argph.inc 4bc085713f + Initial implementation 22 سال پیش
argzh.inc 4bc085713f + Initial implementation 22 سال پیش
asocketh.inc 4bc085713f + Initial implementation 22 سال پیش
asockiosh.inc 4bc085713f + Initial implementation 22 سال پیش
bconfnameh.inc 4bc085713f + Initial implementation 22 سال پیش
bdirenth.inc 4bc085713f + Initial implementation 22 سال پیش
bdlfcnh.inc 4bc085713f + Initial implementation 22 سال پیش
bfcntlh.inc 5c2ad1c4ec + Fixed octal constants. Thanks to Martin Schreiber for reporting it 21 سال پیش
bfenvh.inc 4bc085713f + Initial implementation 22 سال پیش
binh.inc 4bc085713f + Initial implementation 22 سال پیش
bipch.inc 4bc085713f + Initial implementation 22 سال پیش
bmmanh.inc 4bc085713f + Initial implementation 22 سال پیش
bmsqh.inc 4bc085713f + Initial implementation 22 سال پیش
bnetdbh.inc 4bc085713f + Initial implementation 22 سال پیش
bpollh.inc 4bc085713f + Initial implementation 22 سال پیش
bresourceh.inc 4bc085713f + Initial implementation 22 سال پیش
bschedh.inc 4bc085713f + Initial implementation 22 سال پیش
bselecth.inc 4bc085713f + Initial implementation 22 سال پیش
bsemh.inc 4bc085713f + Initial implementation 22 سال پیش
bshmh.inc 4bc085713f + Initial implementation 22 سال پیش
bsockaddrh.inc 4bc085713f + Initial implementation 22 سال پیش
bsocket.inc 4bc085713f + Initial implementation 22 سال پیش
bsocketh.inc 4bc085713f + Initial implementation 22 سال پیش
bstatfsh.inc 4bc085713f + Initial implementation 22 سال پیش
bstath.inc 6fc1eee56c + Fixed stat record as reported by Michalis Kamburelis 21 سال پیش
bstatvfsh.inc 4bc085713f + Initial implementation 22 سال پیش
bstroptsh.inc 4bc085713f + Initial implementation 22 سال پیش
btermiosh.inc 4bc085713f + Initial implementation 22 سال پیش
btimeh.inc 4bc085713f + Initial implementation 22 سال پیش
buioh.inc 4bc085713f + Initial implementation 22 سال پیش
bustath.inc 4bc085713f + Initial implementation 22 سال پیش
butmph.inc 4bc085713f + Initial implementation 22 سال پیش
butmpxh.inc 4bc085713f + Initial implementation 22 سال پیش
butsnameh.inc 4bc085713f + Initial implementation 22 سال پیش
bwaitflags.inc 4bc085713f + Initial implementation 22 سال پیش
bwaitflagsh.inc 4bc085713f + Initial implementation 22 سال پیش
bwaitstatus.inc 4bc085713f + Initial implementation 22 سال پیش
bwaitstatush.inc 4bc085713f + Initial implementation 22 سال پیش
crypth.inc 4bc085713f + Initial implementation 22 سال پیش
ctypeh.inc 0e4c0cfd0b + Added isblank function. reported by Mario R. Carro 21 سال پیش
dirent.inc 4bc085713f + Initial implementation 22 سال پیش
direnth.inc 4bc085713f + Initial implementation 22 سال پیش
dlfcnh.inc 4bc085713f + Initial implementation 22 سال پیش
endianh.inc 4bc085713f + Initial implementation 22 سال پیش
envzh.inc 4bc085713f + Initial implementation 22 سال پیش
errh.inc 4bc085713f + Initial implementation 22 سال پیش
errno.inc 547efccdb6 + Need to ifdef LIBC_OLDERRNO in implementation 22 سال پیش
errnoh.inc 5ac94f8092 + Fixed errno_location problem 22 سال پیش
errorh.inc 4bc085713f + Initial implementation 22 سال پیش
fcntlh.inc 4bc085713f + Initial implementation 22 سال پیش
fenvh.inc 4bc085713f + Initial implementation 22 سال پیش
fileh.inc 4bc085713f + Initial implementation 22 سال پیش
fmtmsgh.inc 4bc085713f + Initial implementation 22 سال پیش
fnmatchh.inc 4bc085713f + Initial implementation 22 سال پیش
fstabh.inc 4bc085713f + Initial implementation 22 سال پیش
gconfigh.inc 4bc085713f + Initial implementation 22 سال پیش
gconvh.inc 4bc085713f + Initial implementation 22 سال پیش
getopth.inc 4bc085713f + Initial implementation 22 سال پیش
glibc_versionh.inc 4bc085713f + Initial implementation 22 سال پیش
globh.inc 4bc085713f + Initial implementation 22 سال پیش
glue.inc 4bc085713f + Initial implementation 22 سال پیش
grph.inc 4bc085713f + Initial implementation 22 سال پیش
h2p 4bc085713f + Initial implementation 22 سال پیش
h2p1.sed 4bc085713f + Initial implementation 22 سال پیش
h2p2.sed 4bc085713f + Initial implementation 22 سال پیش
iconvh.inc 4bc085713f + Initial implementation 22 سال پیش
igmph.inc 4bc085713f + Initial implementation 22 سال پیش
inttypesh.inc 4bc085713f + Initial implementation 22 سال پیش
ioctl_typesh.inc 4bc085713f + Initial implementation 22 سال پیش
ioctlsh.inc 4bc085713f + Initial implementation 22 سال پیش
kerneldefs.pp 4bc085713f + Initial implementation 22 سال پیش
kernelioctl.pp 4bc085713f + Initial implementation 22 سال پیش
kioctlsh.inc 4bc085713f + Initial implementation 22 سال پیش
langinfoh.inc 4bc085713f + Initial implementation 22 سال پیش
lib_namesh.inc 4bc085713f + Initial implementation 22 سال پیش
libc.pp 52eb05e365 + Fixed inclusion of ctypeh.inc, reported by Mario R. Carro 21 سال پیش
libgenh.inc 4bc085713f + Initial implementation 22 سال پیش
libintlh.inc 4bc085713f + Initial implementation 22 سال پیش
libio.inc 4bc085713f + Initial implementation 22 سال پیش
libioh.inc 4bc085713f + Initial implementation 22 سال پیش
limitsh.inc 4bc085713f + Initial implementation 22 سال پیش
local_limh.inc 4bc085713f + Initial implementation 22 سال پیش
localeh.inc 4bc085713f + Initial implementation 22 سال پیش
malloch.inc 4bc085713f + Initial implementation 22 سال پیش
mcheckh.inc 4bc085713f + Initial implementation 22 سال پیش
mntenth.inc 4bc085713f + Initial implementation 22 سال پیش
monetaryh.inc 4bc085713f + Initial implementation 22 سال پیش
nashh.inc 4bc085713f + Initial implementation 22 سال پیش
nath.inc 4bc085713f + Initial implementation 22 سال پیش
nax25h.inc 4bc085713f + Initial implementation 22 سال پیش
nech.inc 4bc085713f + Initial implementation 22 سال پیش
netdbh.inc 4bc085713f + Initial implementation 22 سال پیش
netherh.inc 4bc085713f + Initial implementation 22 سال پیش
nethernet.inc 4bc085713f + Initial implementation 22 سال پیش
netherneth.inc 4bc085713f + Initial implementation 22 سال پیش
nicmp6.inc 4bc085713f + Initial implementation 22 سال پیش
nicmp6h.inc 4bc085713f + Initial implementation 22 سال پیش
nif_arph.inc 4bc085713f + Initial implementation 22 سال پیش
nif_ether.inc 4bc085713f + Initial implementation 22 سال پیش
nif_etherh.inc 4bc085713f + Initial implementation 22 سال پیش
nif_fddih.inc 4bc085713f + Initial implementation 22 سال پیش
nif_packeth.inc 4bc085713f + Initial implementation 22 سال پیش
nif_ppp.inc 4bc085713f + Initial implementation 22 سال پیش
nif_ppph.inc 4bc085713f + Initial implementation 22 سال پیش
nif_shaperh.inc 4bc085713f + Initial implementation 22 سال پیش
nif_trh.inc 4bc085713f + Initial implementation 22 سال پیش
nifh.inc 4bc085713f + Initial implementation 22 سال پیش
nigmph.inc 4bc085713f + Initial implementation 22 سال پیش
nin.inc 4bc085713f + Initial implementation 22 سال پیش
nin_systmh.inc 4bc085713f + Initial implementation 22 سال پیش
ninh.inc 4bc085713f + Initial implementation 22 سال پیش
nip.inc 4bc085713f + Initial implementation 22 سال پیش
nip6h.inc 4bc085713f + Initial implementation 22 سال پیش
nip_icmp.inc 4bc085713f + Initial implementation 22 سال پیش
nip_icmph.inc 4bc085713f + Initial implementation 22 سال پیش
niph.inc 4bc085713f + Initial implementation 22 سال پیش
nipxh.inc 4bc085713f + Initial implementation 22 سال پیش
nl_typesh.inc 4bc085713f + Initial implementation 22 سال پیش
nnetromh.inc 4bc085713f + Initial implementation 22 سال پیش
npacketh.inc 4bc085713f + Initial implementation 22 سال پیش
nroseh.inc 4bc085713f + Initial implementation 22 سال پیش
nroute.inc 4bc085713f + Initial implementation 22 سال پیش
nrouteh.inc 4bc085713f + Initial implementation 22 سال پیش
nssh.inc 4bc085713f + Initial implementation 22 سال پیش
ntcph.inc 4bc085713f + Initial implementation 22 سال پیش
nudph.inc 4bc085713f + Initial implementation 22 سال پیش
nupdh.inc 4bc085713f + Initial implementation 22 سال پیش
pathsh.inc 4bc085713f + Initial implementation 22 سال پیش
posix1_limh.inc 4bc085713f + Initial implementation 22 سال پیش
posix2_limh.inc 4bc085713f + Initial implementation 22 سال پیش
posixopth.inc 4bc085713f + Initial implementation 22 سال پیش
printfh.inc 4bc085713f + Initial implementation 22 سال پیش
proutedh.inc 4bc085713f + Initial implementation 22 سال پیش
prwhodh.inc 4bc085713f + Initial implementation 22 سال پیش
ptalkdh.inc 2711f7d464 + DELETE naming conflct 22 سال پیش
pthreadh.inc 4bc085713f + Initial implementation 22 سال پیش
pthreadtypesh.inc 4bc085713f + Initial implementation 22 سال پیش
ptimedh.inc 4bc085713f + Initial implementation 22 سال پیش
ptyh.inc 4bc085713f + Initial implementation 22 سال پیش
pwdh.inc 21aff687ac + Fixed getpwuid_r as reported by Michalis Kamburelis 21 سال پیش
regexh.inc 4bc085713f + Initial implementation 22 سال پیش
regexph.inc 4bc085713f + Initial implementation 22 سال پیش
saccth.inc 4bc085713f + Initial implementation 22 سال پیش
schedh.inc 4bc085713f + Initial implementation 22 سال پیش
searchh.inc 4bc085713f + Initial implementation 22 سال پیش
semaphoreh.inc 4bc085713f + Initial implementation 22 سال پیش
sfsuidh.inc 4bc085713f + Initial implementation 22 سال پیش
sgttyh.inc 4bc085713f + Initial implementation 22 سال پیش
shadowh.inc 4bc085713f + Initial implementation 22 سال پیش
sigactionh.inc 4bc085713f + Initial implementation 22 سال پیش
sigcontexth.inc 4bc085713f + Initial implementation 22 سال پیش
siginfoh.inc 4bc085713f + Initial implementation 22 سال پیش
signalh.inc 4bc085713f + Initial implementation 22 سال پیش
signumh.inc 4bc085713f + Initial implementation 22 سال پیش
sigseth.inc 4bc085713f + Initial implementation 22 سال پیش
sigstackh.inc 4bc085713f + Initial implementation 22 سال پیش
sigthreadh.inc 4bc085713f + Initial implementation 22 سال پیش
sioctlh.inc 519a94be0a + Solved some more naming conflicts 22 سال پیش
sipch.inc 4bc085713f + Initial implementation 22 سال پیش
skdaemonh.inc 4bc085713f + Initial implementation 22 سال پیش
sklogh.inc 4bc085713f + Initial implementation 22 سال پیش
smmaph.inc 4bc085713f + Initial implementation 22 سال پیش
smounth.inc 4bc085713f + Initial implementation 22 سال پیش
smsgh.inc 4bc085713f + Initial implementation 22 سال پیش
spawnh.inc 4bc085713f + Initial implementation 22 سال پیش
spermh.inc 4bc085713f + Initial implementation 22 سال پیش
spollh.inc 4bc085713f + Initial implementation 22 سال پیش
sptraceh.inc 4bc085713f + Initial implementation 22 سال پیش
squota.inc 4bc085713f + Initial implementation 22 سال پیش
squotah.inc 4bc085713f + Initial implementation 22 سال پیش
sraw.inc 4bc085713f + Initial implementation 22 سال پیش
srawh.inc 4bc085713f + Initial implementation 22 سال پیش
srebooth.inc 4bc085713f + Initial implementation 22 سال پیش
sresourceh.inc 4bc085713f + Initial implementation 22 سال پیش
sscsi_ioctlh.inc 4bc085713f + Initial implementation 22 سال پیش
sscsih.inc 1c9707a8a7 + Fixed renaming conflict 22 سال پیش
sselect.inc 4bc085713f + Initial implementation 22 سال پیش
sselecth.inc 4bc085713f + Initial implementation 22 سال پیش
ssemh.inc 4bc085713f + Initial implementation 22 سال پیش
ssendfileh.inc 4bc085713f + Initial implementation 22 سال پیش
ssgh.inc 4bc085713f + Initial implementation 22 سال پیش
sshmh.inc 4bc085713f + Initial implementation 22 سال پیش
ssocketh.inc 4bc085713f + Initial implementation 22 سال پیش
sstat.inc eb4df64ffc + Fixed S_ISXX parameter typ to __mode_t as suggested by Michalis Kamburelis 21 سال پیش
sstatfsh.inc 4bc085713f + Initial implementation 22 سال پیش
sstath.inc eb4df64ffc + Fixed S_ISXX parameter typ to __mode_t as suggested by Michalis Kamburelis 21 سال پیش
sstatvfsh.inc 4bc085713f + Initial implementation 22 سال پیش
sswaph.inc 4bc085713f + Initial implementation 22 سال پیش
ssysctlh.inc 4bc085713f + Initial implementation 22 سال پیش
ssysinfoh.inc 4bc085713f + Initial implementation 22 سال پیش
ssyslog.inc 4bc085713f + Initial implementation 22 سال پیش
ssyslogh.inc 4bc085713f + Initial implementation 22 سال پیش
stdinth.inc 4bc085713f + Initial implementation 22 سال پیش
stdio_exth.inc 4bc085713f + Initial implementation 22 سال پیش
stdio_limh.inc 4bc085713f + Initial implementation 22 سال پیش
stdioh.inc 519a94be0a + Solved some more naming conflicts 22 سال پیش
stdlib.inc 4bc085713f + Initial implementation 22 سال پیش
stdlibh.inc c593f7572b + Fixed random name conflict 22 سال پیش
stime.inc 4bc085713f + Initial implementation 22 سال پیش
stimebh.inc 4bc085713f + Initial implementation 22 سال پیش
stimeh.inc fe23e95957 + Fixed __timezone_ptr_t. Thanks to Martin Schreiber for reporting it 21 سال پیش
stringh.inc 519a94be0a + Solved some more naming conflicts 22 سال پیش
stroptsh.inc 4bc085713f + Initial implementation 22 سال پیش
sttydefaults.inc 4bc085713f + Initial implementation 22 سال پیش
sttydefaultsh.inc 4bc085713f + Initial implementation 22 سال پیش
sucontexth.inc 4bc085713f + Initial implementation 22 سال پیش
suioh.inc 4bc085713f + Initial implementation 22 سال پیش
sun.inc 4bc085713f + Initial implementation 22 سال پیش
sunh.inc 4bc085713f + Initial implementation 22 سال پیش
suserh.inc 4bc085713f + Initial implementation 22 سال پیش
sustath.inc 4bc085713f + Initial implementation 22 سال پیش
sutsnameh.inc 4bc085713f + Initial implementation 22 سال پیش
svlimith.inc 4bc085713f + Initial implementation 22 سال پیش
svtimesh.inc 4bc085713f + Initial implementation 22 سال پیش
swaith.inc 4bc085713f + Initial implementation 22 سال پیش
sysexitsh.inc 4bc085713f + Initial implementation 22 سال پیش
syslogh.inc 4bc085713f + Initial implementation 22 سال پیش
systypeshh.inc 4bc085713f + Initial implementation 22 سال پیش
termios.inc 4bc085713f + Initial implementation 22 سال پیش
termiosh.inc 4bc085713f + Initial implementation 22 سال پیش
time.inc 4bc085713f + Initial implementation 22 سال پیش
timeh.inc 4bc085713f + Initial implementation 22 سال پیش
timesh.inc 4bc085713f + Initial implementation 22 سال پیش
timexh.inc 4bc085713f + Initial implementation 22 سال پیش
ttyenth.inc 4bc085713f + Initial implementation 22 سال پیش
typesh.inc 4bc085713f + Initial implementation 22 سال پیش
ucontexth.inc 4bc085713f + Initial implementation 22 سال پیش
ulimith.inc 4bc085713f + Initial implementation 22 سال پیش
unistdh.inc 9c4bd8e7a1 + Fixed execve 22 سال پیش
utimeh.inc 4bc085713f + Initial implementation 22 سال پیش
utmph.inc 4bc085713f + Initial implementation 22 سال پیش
utmpxh.inc 4bc085713f + Initial implementation 22 سال پیش
wcharh.inc 4bc085713f + Initial implementation 22 سال پیش
wctypeh.inc 4bc085713f + Initial implementation 22 سال پیش
wordexph.inc 4bc085713f + Initial implementation 22 سال پیش
wordsizeh.inc 4bc085713f + Initial implementation 22 سال پیش
xlocaleh.inc 4bc085713f + Initial implementation 22 سال پیش
xopen_limh.inc 4bc085713f + Initial implementation 22 سال پیش

README

This is the FPC translation of the C library header files.
This unit is meant to
- Give full access to the GNU libc library functionality.
- Be compatible to Borland's Libc.pas unit.

There will often exist 2 versions of a function call: one with a
pointer type argument - this is the straight translation of a libc call.
One is with a var/const argument, this is a more 'pascal' like call,
which is usually also the way Borland did it.

Each C header file has been translated to an .inc file.
The translation of header file xxx.h is named xxxh.inc.
If macros were converted, they are in a file xxx.inc

All files are included in libc.pp and their origin is noted there.

the file glue.inc is meant to form a bridge between the pascal
and C types, and to take care of some problems in the ordering
of the header files.

The translation was done on a SuSE 8.1 machine:
Kernel version: 2.4.18
glibc version: 2.3

Note on the Libc errno variable. On recent systems the errno symbol is no
longer published in libc. It has been replaced by a __errno_location
pointer, with a macro in the C header files to mask this. The pascal
Libc files assume this by default. This also means you cannot set the
errno value directly, you must use the 'seterrno' procedure for that.
(see errno.inc)

The old mechanism of a published errno libc variable is still available
by setting the LIBC_OLDERRNO define when compiling the libc units.

Michael.