Tomas Hajny fb84d5a45e * version 2.0.5 19 lat temu
..
Makefile fb84d5a45e * version 2.0.5 19 lat temu
Makefile.fpc fb84d5a45e * version 2.0.5 19 lat temu
README dbf8134f0a Merged revisions 231 via svnmerge from 20 lat temu
aineth.inc 02aaa32fb5 + Fix for var argument instead of pointer, reported by [email protected] 20 lat temu
aioh.inc e417e34496 * truncate log 20 lat temu
aliasesh.inc e417e34496 * truncate log 20 lat temu
allocah.inc e417e34496 * truncate log 20 lat temu
argph.inc e417e34496 * truncate log 20 lat temu
argzh.inc e417e34496 * truncate log 20 lat temu
asocketh.inc e417e34496 * truncate log 20 lat temu
asockiosh.inc e417e34496 * truncate log 20 lat temu
bconfnameh.inc e417e34496 * truncate log 20 lat temu
bdirenth.inc e417e34496 * truncate log 20 lat temu
bdlfcnh.inc e417e34496 * truncate log 20 lat temu
bfcntlh.inc e417e34496 * truncate log 20 lat temu
bfenvh.inc e417e34496 * truncate log 20 lat temu
binh.inc e417e34496 * truncate log 20 lat temu
bipch.inc e417e34496 * truncate log 20 lat temu
bmmanh.inc e417e34496 * truncate log 20 lat temu
bmsqh.inc e417e34496 * truncate log 20 lat temu
bnetdbh.inc e417e34496 * truncate log 20 lat temu
bpollh.inc e417e34496 * truncate log 20 lat temu
bresourceh.inc 67d69581e5 + Merged revision 321 20 lat temu
bschedh.inc e417e34496 * truncate log 20 lat temu
bselecth.inc e417e34496 * truncate log 20 lat temu
bsemh.inc e417e34496 * truncate log 20 lat temu
bshmh.inc e417e34496 * truncate log 20 lat temu
bsockaddrh.inc e417e34496 * truncate log 20 lat temu
bsocket.inc 4bc085713f + Initial implementation 22 lat temu
bsocketh.inc 690df7bd5b + Merged revisions 834,847 20 lat temu
bstatfsh.inc e417e34496 * truncate log 20 lat temu
bstath.inc e417e34496 * truncate log 20 lat temu
bstatvfsh.inc e417e34496 * truncate log 20 lat temu
bstroptsh.inc e417e34496 * truncate log 20 lat temu
btermiosh.inc e417e34496 * truncate log 20 lat temu
btimeh.inc e417e34496 * truncate log 20 lat temu
buioh.inc e417e34496 * truncate log 20 lat temu
bustath.inc e417e34496 * truncate log 20 lat temu
butmph.inc e417e34496 * truncate log 20 lat temu
butmpxh.inc e417e34496 * truncate log 20 lat temu
butsnameh.inc e417e34496 * truncate log 20 lat temu
bwaitflags.inc 4bc085713f + Initial implementation 22 lat temu
bwaitflagsh.inc e417e34496 * truncate log 20 lat temu
bwaitstatus.inc 4bc085713f + Initial implementation 22 lat temu
bwaitstatush.inc e417e34496 * truncate log 20 lat temu
cerrno.inc e417e34496 * truncate log 20 lat temu
crypth.inc 101eed1027 Merged revisions 1146-1152,1154-1160,1162-1164,1167-1170,1177-1178,1183-1184,1186-1192 via svnmerge from 20 lat temu
ctypeh.inc e417e34496 * truncate log 20 lat temu
dirent.inc 4bc085713f + Initial implementation 22 lat temu
direnth.inc 690df7bd5b + Merged revisions 834,847 20 lat temu
dlfcnh.inc 101eed1027 Merged revisions 1146-1152,1154-1160,1162-1164,1167-1170,1177-1178,1183-1184,1186-1192 via svnmerge from 20 lat temu
endianh.inc e417e34496 * truncate log 20 lat temu
envzh.inc e417e34496 * truncate log 20 lat temu
errh.inc e417e34496 * truncate log 20 lat temu
errnoh.inc e417e34496 * truncate log 20 lat temu
errorh.inc e417e34496 * truncate log 20 lat temu
fcntlh.inc e417e34496 * truncate log 20 lat temu
fenvh.inc e417e34496 * truncate log 20 lat temu
fileh.inc e417e34496 * truncate log 20 lat temu
fmtmsgh.inc e417e34496 * truncate log 20 lat temu
fnmatchh.inc e417e34496 * truncate log 20 lat temu
fstabh.inc e417e34496 * truncate log 20 lat temu
gconfigh.inc e417e34496 * truncate log 20 lat temu
gconvh.inc e417e34496 * truncate log 20 lat temu
getopth.inc e417e34496 * truncate log 20 lat temu
glibc_versionh.inc e417e34496 * truncate log 20 lat temu
globh.inc e417e34496 * truncate log 20 lat temu
glue.inc 8507617f0b Merged revisions 1243-1244 via svnmerge from 20 lat temu
grph.inc e417e34496 * truncate log 20 lat temu
h2p dbf8134f0a Merged revisions 231 via svnmerge from 20 lat temu
h2p1.sed 4bc085713f + Initial implementation 22 lat temu
h2p2.sed 4bc085713f + Initial implementation 22 lat temu
iconvh.inc 4bc085713f + Initial implementation 22 lat temu
igmph.inc e417e34496 * truncate log 20 lat temu
inttypesh.inc 4bc085713f + Initial implementation 22 lat temu
ioctl_typesh.inc e417e34496 * truncate log 20 lat temu
ioctlsh.inc e417e34496 * truncate log 20 lat temu
kerneldefs.pp b409904e44 Merged revisions 42 via svnmerge from 20 lat temu
kernelioctl.pp e417e34496 * truncate log 20 lat temu
kioctlsh.inc e417e34496 * truncate log 20 lat temu
langinfoh.inc e417e34496 * truncate log 20 lat temu
lib_namesh.inc 4bc085713f + Initial implementation 22 lat temu
libc.pp 101eed1027 Merged revisions 1146-1152,1154-1160,1162-1164,1167-1170,1177-1178,1183-1184,1186-1192 via svnmerge from 20 lat temu
libgenh.inc e417e34496 * truncate log 20 lat temu
libintlh.inc e417e34496 * truncate log 20 lat temu
libio.inc e417e34496 * truncate log 20 lat temu
libioh.inc e417e34496 * truncate log 20 lat temu
limitsh.inc 67d69581e5 + Merged revision 321 20 lat temu
local_limh.inc 4bc085713f + Initial implementation 22 lat temu
localeh.inc e417e34496 * truncate log 20 lat temu
malloch.inc e417e34496 * truncate log 20 lat temu
mcheckh.inc e417e34496 * truncate log 20 lat temu
mntenth.inc e417e34496 * truncate log 20 lat temu
monetaryh.inc e417e34496 * truncate log 20 lat temu
nashh.inc e417e34496 * truncate log 20 lat temu
nath.inc e417e34496 * truncate log 20 lat temu
nax25h.inc e417e34496 * truncate log 20 lat temu
nech.inc e417e34496 * truncate log 20 lat temu
netdbh.inc e417e34496 * truncate log 20 lat temu
netherh.inc e417e34496 * truncate log 20 lat temu
nethernet.inc 4bc085713f + Initial implementation 22 lat temu
netherneth.inc e417e34496 * truncate log 20 lat temu
nicmp6.inc 4bc085713f + Initial implementation 22 lat temu
nicmp6h.inc e417e34496 * truncate log 20 lat temu
nif_arph.inc e417e34496 * truncate log 20 lat temu
nif_ether.inc e417e34496 * truncate log 20 lat temu
nif_etherh.inc 4bc085713f + Initial implementation 22 lat temu
nif_fddih.inc e417e34496 * truncate log 20 lat temu
nif_packeth.inc e417e34496 * truncate log 20 lat temu
nif_ppp.inc 4bc085713f + Initial implementation 22 lat temu
nif_ppph.inc e417e34496 * truncate log 20 lat temu
nif_shaperh.inc e417e34496 * truncate log 20 lat temu
nif_trh.inc e417e34496 * truncate log 20 lat temu
nifh.inc e417e34496 * truncate log 20 lat temu
nigmph.inc e417e34496 * truncate log 20 lat temu
nin.inc 4bc085713f + Initial implementation 22 lat temu
nin_systmh.inc e417e34496 * truncate log 20 lat temu
ninh.inc e417e34496 * truncate log 20 lat temu
nip.inc 4bc085713f + Initial implementation 22 lat temu
nip6h.inc e417e34496 * truncate log 20 lat temu
nip_icmp.inc e417e34496 * truncate log 20 lat temu
nip_icmph.inc e417e34496 * truncate log 20 lat temu
niph.inc 6caa028202 + Wrong size for flags fields as reported by [email protected] 20 lat temu
nipxh.inc e417e34496 * truncate log 20 lat temu
nl_typesh.inc e417e34496 * truncate log 20 lat temu
nnetromh.inc e417e34496 * truncate log 20 lat temu
npacketh.inc e417e34496 * truncate log 20 lat temu
nroseh.inc e417e34496 * truncate log 20 lat temu
nroute.inc 4bc085713f + Initial implementation 22 lat temu
nrouteh.inc e417e34496 * truncate log 20 lat temu
nssh.inc e417e34496 * truncate log 20 lat temu
ntcph.inc e417e34496 * truncate log 20 lat temu
nudph.inc e417e34496 * truncate log 20 lat temu
nupdh.inc 50778076c3 initial import 20 lat temu
pathsh.inc 4bc085713f + Initial implementation 22 lat temu
posix1_limh.inc 4bc085713f + Initial implementation 22 lat temu
posix2_limh.inc e417e34496 * truncate log 20 lat temu
posixopth.inc 4bc085713f + Initial implementation 22 lat temu
printfh.inc e417e34496 * truncate log 20 lat temu
proutedh.inc e417e34496 * truncate log 20 lat temu
prwhodh.inc e417e34496 * truncate log 20 lat temu
ptalkdh.inc e417e34496 * truncate log 20 lat temu
pthread.inc cd584f08c3 Merged revisions 946 via svnmerge from 20 lat temu
pthreadh.inc cd584f08c3 Merged revisions 946 via svnmerge from 20 lat temu
pthreadtypesh.inc 690df7bd5b + Merged revisions 834,847 20 lat temu
ptimedh.inc e417e34496 * truncate log 20 lat temu
ptyh.inc e417e34496 * truncate log 20 lat temu
pwdh.inc e417e34496 * truncate log 20 lat temu
regexh.inc e417e34496 * truncate log 20 lat temu
regexph.inc e417e34496 * truncate log 20 lat temu
saccth.inc e417e34496 * truncate log 20 lat temu
schedh.inc 4bc085713f + Initial implementation 22 lat temu
searchh.inc e417e34496 * truncate log 20 lat temu
semaphoreh.inc 690df7bd5b + Merged revisions 834,847 20 lat temu
sfsuidh.inc e417e34496 * truncate log 20 lat temu
sgttyh.inc e417e34496 * truncate log 20 lat temu
shadowh.inc e417e34496 * truncate log 20 lat temu
sigactionh.inc dcd3180036 Merged revisions 1099-1104,1109,1111-1112,1118-1119,1122 via svnmerge from 20 lat temu
sigcontexth.inc e417e34496 * truncate log 20 lat temu
siginfoh.inc 690df7bd5b + Merged revisions 834,847 20 lat temu
signalh.inc fe3c61cb0b Merged revisions 3508 via svnmerge from 19 lat temu
signumh.inc 4bc085713f + Initial implementation 22 lat temu
sigseth.inc 690df7bd5b + Merged revisions 834,847 20 lat temu
sigstackh.inc e417e34496 * truncate log 20 lat temu
sigthreadh.inc e417e34496 * truncate log 20 lat temu
sioctlh.inc e417e34496 * truncate log 20 lat temu
sipch.inc e417e34496 * truncate log 20 lat temu
skdaemonh.inc e417e34496 * truncate log 20 lat temu
sklogh.inc e417e34496 * truncate log 20 lat temu
smmaph.inc da7dade6d1 Merged revisions 2967,2992-2993,3019,3121,3142,3158,3163,3188,3208,3220-3221 via svnmerge from 19 lat temu
smounth.inc 4bc085713f + Initial implementation 22 lat temu
smsgh.inc e417e34496 * truncate log 20 lat temu
spawnh.inc e417e34496 * truncate log 20 lat temu
spermh.inc e417e34496 * truncate log 20 lat temu
spollh.inc e417e34496 * truncate log 20 lat temu
sptraceh.inc e417e34496 * truncate log 20 lat temu
squota.inc 4bc085713f + Initial implementation 22 lat temu
squotah.inc e417e34496 * truncate log 20 lat temu
sraw.inc e417e34496 * truncate log 20 lat temu
srawh.inc e417e34496 * truncate log 20 lat temu
srebooth.inc e417e34496 * truncate log 20 lat temu
sresourceh.inc e417e34496 * truncate log 20 lat temu
sscsi_ioctlh.inc e417e34496 * truncate log 20 lat temu
sscsih.inc e417e34496 * truncate log 20 lat temu
sselect.inc 690df7bd5b + Merged revisions 834,847 20 lat temu
sselecth.inc 7922ddc216 Merged revisions 773-774 via svnmerge from 20 lat temu
ssemh.inc e417e34496 * truncate log 20 lat temu
ssendfileh.inc e417e34496 * truncate log 20 lat temu
ssgh.inc e417e34496 * truncate log 20 lat temu
sshmh.inc e417e34496 * truncate log 20 lat temu
ssocketh.inc 07cc362617 + Added overloaded calls with untyped buffer for send/recv calls. As reported by [email protected] 20 lat temu
sstat.inc f1aa6ff6c3 Merged revisions 1231 via svnmerge from 20 lat temu
sstatfsh.inc e417e34496 * truncate log 20 lat temu
sstath.inc f1aa6ff6c3 Merged revisions 1231 via svnmerge from 20 lat temu
sstatvfsh.inc e417e34496 * truncate log 20 lat temu
sswaph.inc e417e34496 * truncate log 20 lat temu
ssysctlh.inc e417e34496 * truncate log 20 lat temu
ssysinfoh.inc e417e34496 * truncate log 20 lat temu
ssyslog.inc 4bc085713f + Initial implementation 22 lat temu
ssyslogh.inc e417e34496 * truncate log 20 lat temu
stdinth.inc 67d69581e5 + Merged revision 321 20 lat temu
stdio_exth.inc e417e34496 * truncate log 20 lat temu
stdio_limh.inc e417e34496 * truncate log 20 lat temu
stdioh.inc 5f62928563 Merged revisions 3347 via svnmerge from 19 lat temu
stdlib.inc 4bc085713f + Initial implementation 22 lat temu
stdlibh.inc a23cf740db Merged revisions 33 via svnmerge from 20 lat temu
stime.inc e417e34496 * truncate log 20 lat temu
stimebh.inc e417e34496 * truncate log 20 lat temu
stimeh.inc 70eafb2cda Merged revisions 1540-1541,1566-1567,1569,1571,1594,1602,1604,1606 via svnmerge from 20 lat temu
stringh.inc e417e34496 * truncate log 20 lat temu
stroptsh.inc e417e34496 * truncate log 20 lat temu
sttydefaults.inc 4bc085713f + Initial implementation 22 lat temu
sttydefaultsh.inc e417e34496 * truncate log 20 lat temu
sucontexth.inc e417e34496 * truncate log 20 lat temu
suioh.inc e417e34496 * truncate log 20 lat temu
sun.inc 4bc085713f + Initial implementation 22 lat temu
sunh.inc e417e34496 * truncate log 20 lat temu
suserh.inc e417e34496 * truncate log 20 lat temu
sustath.inc e417e34496 * truncate log 20 lat temu
sutsnameh.inc e417e34496 * truncate log 20 lat temu
svlimith.inc e417e34496 * truncate log 20 lat temu
svtimesh.inc e417e34496 * truncate log 20 lat temu
swaith.inc e417e34496 * truncate log 20 lat temu
sysexitsh.inc e417e34496 * truncate log 20 lat temu
syslogh.inc e417e34496 * truncate log 20 lat temu
systypeshh.inc 690df7bd5b + Merged revisions 834,847 20 lat temu
termios.inc 4bc085713f + Initial implementation 22 lat temu
termiosh.inc 4bc085713f + Initial implementation 22 lat temu
time.inc 4bc085713f + Initial implementation 22 lat temu
timeh.inc e9860e8c97 * solved bug #3860 with a union 20 lat temu
timesh.inc e417e34496 * truncate log 20 lat temu
timexh.inc 690df7bd5b + Merged revisions 834,847 20 lat temu
ttyenth.inc e417e34496 * truncate log 20 lat temu
types.inc 690df7bd5b + Merged revisions 834,847 20 lat temu
typesh.inc 690df7bd5b + Merged revisions 834,847 20 lat temu
ucontexth.inc e417e34496 * truncate log 20 lat temu
ulimith.inc e417e34496 * truncate log 20 lat temu
unistdh.inc e417e34496 * truncate log 20 lat temu
utimeh.inc 4bc085713f + Initial implementation 22 lat temu
utmph.inc e417e34496 * truncate log 20 lat temu
utmpxh.inc e417e34496 * truncate log 20 lat temu
wcharh.inc e417e34496 * truncate log 20 lat temu
wctypeh.inc e417e34496 * truncate log 20 lat temu
wordexph.inc e417e34496 * truncate log 20 lat temu
wordsizeh.inc 4bc085713f + Initial implementation 22 lat temu
xlocaleh.inc e417e34496 * truncate log 20 lat temu
xopen_limh.inc 4bc085713f + Initial implementation 22 lat temu

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.