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

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.