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