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

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.