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

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.