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.