michael ddf83bad19 + Version 1.9.4 21 년 전
..
Makefile ddf83bad19 + Version 1.9.4 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 22 년 전
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 22 년 전
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 22 년 전
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 22 년 전
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 22 년 전
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 22 년 전
sstatfsh.inc 4bc085713f + Initial implementation 22 년 전
sstath.inc eb4df64ffc + Fixed S_ISXX parameter typ to __mode_t as suggested by Michalis Kamburelis 22 년 전
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 22 년 전
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.