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

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.