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.