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

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.