michael bedf31abe9 + Dynamic library implementation by Joost van der Sluis 21 年之前
..
Makefile ef3b19b316 * regenerated 21 年之前
Makefile.fpc 26b56d31ce * updated makefile.fpc versions to 1.9.7, regenerated makefiles 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 年之前
cerrno.inc 07124634d3 + Moved to cerrno to avoid conflict with system unit 21 年之前
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 年之前
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 abf1ace89f * errno.inc -> cerrno.inc 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 bedf31abe9 + Dynamic library implementation by Joost van der Sluis 21 年之前
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.