florian 6ffce79785 * exported __FD* il y a 20 ans
..
Makefile 6cf4eb98c3 * use current fpcmake instead of from 1.9.8 il y a 20 ans
Makefile.fpc 7dadd64723 * 2.0.0 il y a 20 ans
README 4ace790492 * remove $Log il y a 20 ans
aineth.inc 02aaa32fb5 + Fix for var argument instead of pointer, reported by [email protected] il y a 20 ans
aioh.inc e417e34496 * truncate log il y a 20 ans
aliasesh.inc e417e34496 * truncate log il y a 20 ans
allocah.inc e417e34496 * truncate log il y a 20 ans
argph.inc e417e34496 * truncate log il y a 20 ans
argzh.inc e417e34496 * truncate log il y a 20 ans
asocketh.inc e417e34496 * truncate log il y a 20 ans
asockiosh.inc e417e34496 * truncate log il y a 20 ans
bconfnameh.inc e417e34496 * truncate log il y a 20 ans
bdirenth.inc e417e34496 * truncate log il y a 20 ans
bdlfcnh.inc e417e34496 * truncate log il y a 20 ans
bfcntlh.inc e417e34496 * truncate log il y a 20 ans
bfenvh.inc e417e34496 * truncate log il y a 20 ans
binh.inc e417e34496 * truncate log il y a 20 ans
bipch.inc e417e34496 * truncate log il y a 20 ans
bmmanh.inc e417e34496 * truncate log il y a 20 ans
bmsqh.inc e417e34496 * truncate log il y a 20 ans
bnetdbh.inc e417e34496 * truncate log il y a 20 ans
bpollh.inc e417e34496 * truncate log il y a 20 ans
bresourceh.inc 921ab1f2d0 + Removed last VER1_0 defines il y a 20 ans
bschedh.inc e417e34496 * truncate log il y a 20 ans
bselecth.inc e417e34496 * truncate log il y a 20 ans
bsemh.inc e417e34496 * truncate log il y a 20 ans
bshmh.inc e417e34496 * truncate log il y a 20 ans
bsockaddrh.inc e417e34496 * truncate log il y a 20 ans
bsocket.inc 4bc085713f + Initial implementation il y a 22 ans
bsocketh.inc e417e34496 * truncate log il y a 20 ans
bstatfsh.inc e417e34496 * truncate log il y a 20 ans
bstath.inc e417e34496 * truncate log il y a 20 ans
bstatvfsh.inc e417e34496 * truncate log il y a 20 ans
bstroptsh.inc e417e34496 * truncate log il y a 20 ans
btermiosh.inc e417e34496 * truncate log il y a 20 ans
btimeh.inc e417e34496 * truncate log il y a 20 ans
buioh.inc e417e34496 * truncate log il y a 20 ans
bustath.inc e417e34496 * truncate log il y a 20 ans
butmph.inc e417e34496 * truncate log il y a 20 ans
butmpxh.inc e417e34496 * truncate log il y a 20 ans
butsnameh.inc e417e34496 * truncate log il y a 20 ans
bwaitflags.inc 4bc085713f + Initial implementation il y a 22 ans
bwaitflagsh.inc e417e34496 * truncate log il y a 20 ans
bwaitstatus.inc 4bc085713f + Initial implementation il y a 22 ans
bwaitstatush.inc e417e34496 * truncate log il y a 20 ans
cerrno.inc e417e34496 * truncate log il y a 20 ans
crypth.inc e417e34496 * truncate log il y a 20 ans
ctypeh.inc e417e34496 * truncate log il y a 20 ans
dirent.inc 4bc085713f + Initial implementation il y a 22 ans
direnth.inc e417e34496 * truncate log il y a 20 ans
dlfcnh.inc e417e34496 * truncate log il y a 20 ans
endianh.inc e417e34496 * truncate log il y a 20 ans
envzh.inc e417e34496 * truncate log il y a 20 ans
errh.inc e417e34496 * truncate log il y a 20 ans
errnoh.inc e417e34496 * truncate log il y a 20 ans
errorh.inc e417e34496 * truncate log il y a 20 ans
fcntlh.inc e417e34496 * truncate log il y a 20 ans
fenvh.inc e417e34496 * truncate log il y a 20 ans
fileh.inc e417e34496 * truncate log il y a 20 ans
fmtmsgh.inc e417e34496 * truncate log il y a 20 ans
fnmatchh.inc e417e34496 * truncate log il y a 20 ans
fpmake.inc ec05423779 + Initial implementation il y a 20 ans
fpmake.pp ec05423779 + Initial implementation il y a 20 ans
fstabh.inc e417e34496 * truncate log il y a 20 ans
gconfigh.inc e417e34496 * truncate log il y a 20 ans
gconvh.inc e417e34496 * truncate log il y a 20 ans
getopth.inc e417e34496 * truncate log il y a 20 ans
glibc_versionh.inc e417e34496 * truncate log il y a 20 ans
globh.inc e417e34496 * truncate log il y a 20 ans
glue.inc 921ab1f2d0 + Removed last VER1_0 defines il y a 20 ans
grph.inc e417e34496 * truncate log il y a 20 ans
h2p 4ace790492 * remove $Log il y a 20 ans
h2p1.sed 4bc085713f + Initial implementation il y a 22 ans
h2p2.sed 4bc085713f + Initial implementation il y a 22 ans
iconvh.inc 4bc085713f + Initial implementation il y a 22 ans
igmph.inc e417e34496 * truncate log il y a 20 ans
inttypesh.inc 4bc085713f + Initial implementation il y a 22 ans
ioctl_typesh.inc e417e34496 * truncate log il y a 20 ans
ioctlsh.inc e417e34496 * truncate log il y a 20 ans
kerneldefs.pp 790a4fe2d3 * log and id tags removed il y a 20 ans
kernelioctl.pp e417e34496 * truncate log il y a 20 ans
kioctlsh.inc e417e34496 * truncate log il y a 20 ans
langinfoh.inc e417e34496 * truncate log il y a 20 ans
lib_namesh.inc 4bc085713f + Initial implementation il y a 22 ans
libc.pp 6ffce79785 * exported __FD* il y a 20 ans
libgenh.inc e417e34496 * truncate log il y a 20 ans
libintlh.inc e417e34496 * truncate log il y a 20 ans
libio.inc e417e34496 * truncate log il y a 20 ans
libioh.inc e417e34496 * truncate log il y a 20 ans
limitsh.inc 921ab1f2d0 + Removed last VER1_0 defines il y a 20 ans
local_limh.inc 4bc085713f + Initial implementation il y a 22 ans
localeh.inc e417e34496 * truncate log il y a 20 ans
malloch.inc e417e34496 * truncate log il y a 20 ans
mcheckh.inc e417e34496 * truncate log il y a 20 ans
mntenth.inc e417e34496 * truncate log il y a 20 ans
monetaryh.inc e417e34496 * truncate log il y a 20 ans
nashh.inc e417e34496 * truncate log il y a 20 ans
nath.inc e417e34496 * truncate log il y a 20 ans
nax25h.inc e417e34496 * truncate log il y a 20 ans
nech.inc e417e34496 * truncate log il y a 20 ans
netdbh.inc e417e34496 * truncate log il y a 20 ans
netherh.inc e417e34496 * truncate log il y a 20 ans
nethernet.inc 4bc085713f + Initial implementation il y a 22 ans
netherneth.inc e417e34496 * truncate log il y a 20 ans
nicmp6.inc 4bc085713f + Initial implementation il y a 22 ans
nicmp6h.inc e417e34496 * truncate log il y a 20 ans
nif_arph.inc e417e34496 * truncate log il y a 20 ans
nif_ether.inc e417e34496 * truncate log il y a 20 ans
nif_etherh.inc 4bc085713f + Initial implementation il y a 22 ans
nif_fddih.inc e417e34496 * truncate log il y a 20 ans
nif_packeth.inc e417e34496 * truncate log il y a 20 ans
nif_ppp.inc 4bc085713f + Initial implementation il y a 22 ans
nif_ppph.inc e417e34496 * truncate log il y a 20 ans
nif_shaperh.inc e417e34496 * truncate log il y a 20 ans
nif_trh.inc e417e34496 * truncate log il y a 20 ans
nifh.inc e417e34496 * truncate log il y a 20 ans
nigmph.inc e417e34496 * truncate log il y a 20 ans
nin.inc 4bc085713f + Initial implementation il y a 22 ans
nin_systmh.inc e417e34496 * truncate log il y a 20 ans
ninh.inc e417e34496 * truncate log il y a 20 ans
nip.inc 4bc085713f + Initial implementation il y a 22 ans
nip6h.inc e417e34496 * truncate log il y a 20 ans
nip_icmp.inc e417e34496 * truncate log il y a 20 ans
nip_icmph.inc e417e34496 * truncate log il y a 20 ans
niph.inc 6caa028202 + Wrong size for flags fields as reported by [email protected] il y a 20 ans
nipxh.inc e417e34496 * truncate log il y a 20 ans
nl_typesh.inc e417e34496 * truncate log il y a 20 ans
nnetromh.inc e417e34496 * truncate log il y a 20 ans
npacketh.inc e417e34496 * truncate log il y a 20 ans
nroseh.inc e417e34496 * truncate log il y a 20 ans
nroute.inc 4bc085713f + Initial implementation il y a 22 ans
nrouteh.inc e417e34496 * truncate log il y a 20 ans
nssh.inc e417e34496 * truncate log il y a 20 ans
ntcph.inc e417e34496 * truncate log il y a 20 ans
nudph.inc e417e34496 * truncate log il y a 20 ans
nupdh.inc 50778076c3 initial import il y a 20 ans
pathsh.inc 4bc085713f + Initial implementation il y a 22 ans
posix1_limh.inc 4bc085713f + Initial implementation il y a 22 ans
posix2_limh.inc e417e34496 * truncate log il y a 20 ans
posixopth.inc 4bc085713f + Initial implementation il y a 22 ans
printfh.inc e417e34496 * truncate log il y a 20 ans
proutedh.inc e417e34496 * truncate log il y a 20 ans
prwhodh.inc e417e34496 * truncate log il y a 20 ans
ptalkdh.inc e417e34496 * truncate log il y a 20 ans
pthreadh.inc e417e34496 * truncate log il y a 20 ans
pthreadtypesh.inc e417e34496 * truncate log il y a 20 ans
ptimedh.inc e417e34496 * truncate log il y a 20 ans
ptyh.inc e417e34496 * truncate log il y a 20 ans
pwdh.inc e417e34496 * truncate log il y a 20 ans
regexh.inc e417e34496 * truncate log il y a 20 ans
regexph.inc e417e34496 * truncate log il y a 20 ans
saccth.inc e417e34496 * truncate log il y a 20 ans
schedh.inc 4bc085713f + Initial implementation il y a 22 ans
searchh.inc e417e34496 * truncate log il y a 20 ans
semaphoreh.inc e417e34496 * truncate log il y a 20 ans
sfsuidh.inc e417e34496 * truncate log il y a 20 ans
sgttyh.inc e417e34496 * truncate log il y a 20 ans
shadowh.inc e417e34496 * truncate log il y a 20 ans
sigactionh.inc e417e34496 * truncate log il y a 20 ans
sigcontexth.inc e417e34496 * truncate log il y a 20 ans
siginfoh.inc e417e34496 * truncate log il y a 20 ans
signalh.inc 54ca3d4536 * add cdecl for sigaction il y a 20 ans
signumh.inc 4bc085713f + Initial implementation il y a 22 ans
sigseth.inc e417e34496 * truncate log il y a 20 ans
sigstackh.inc e417e34496 * truncate log il y a 20 ans
sigthreadh.inc e417e34496 * truncate log il y a 20 ans
sioctlh.inc e417e34496 * truncate log il y a 20 ans
sipch.inc e417e34496 * truncate log il y a 20 ans
skdaemonh.inc e417e34496 * truncate log il y a 20 ans
sklogh.inc e417e34496 * truncate log il y a 20 ans
smmaph.inc e417e34496 * truncate log il y a 20 ans
smounth.inc 4bc085713f + Initial implementation il y a 22 ans
smsgh.inc e417e34496 * truncate log il y a 20 ans
spawnh.inc e417e34496 * truncate log il y a 20 ans
spermh.inc e417e34496 * truncate log il y a 20 ans
spollh.inc e417e34496 * truncate log il y a 20 ans
sptraceh.inc e417e34496 * truncate log il y a 20 ans
squota.inc 4bc085713f + Initial implementation il y a 22 ans
squotah.inc e417e34496 * truncate log il y a 20 ans
sraw.inc e417e34496 * truncate log il y a 20 ans
srawh.inc e417e34496 * truncate log il y a 20 ans
srebooth.inc e417e34496 * truncate log il y a 20 ans
sresourceh.inc e417e34496 * truncate log il y a 20 ans
sscsi_ioctlh.inc e417e34496 * truncate log il y a 20 ans
sscsih.inc e417e34496 * truncate log il y a 20 ans
sselect.inc 6ffce79785 * exported __FD* il y a 20 ans
sselecth.inc 6ffce79785 * exported __FD* il y a 20 ans
ssemh.inc e417e34496 * truncate log il y a 20 ans
ssendfileh.inc e417e34496 * truncate log il y a 20 ans
ssgh.inc e417e34496 * truncate log il y a 20 ans
sshmh.inc e417e34496 * truncate log il y a 20 ans
ssocketh.inc 07cc362617 + Added overloaded calls with untyped buffer for send/recv calls. As reported by [email protected] il y a 20 ans
sstat.inc e417e34496 * truncate log il y a 20 ans
sstatfsh.inc e417e34496 * truncate log il y a 20 ans
sstath.inc e417e34496 * truncate log il y a 20 ans
sstatvfsh.inc e417e34496 * truncate log il y a 20 ans
sswaph.inc e417e34496 * truncate log il y a 20 ans
ssysctlh.inc e417e34496 * truncate log il y a 20 ans
ssysinfoh.inc e417e34496 * truncate log il y a 20 ans
ssyslog.inc 4bc085713f + Initial implementation il y a 22 ans
ssyslogh.inc e417e34496 * truncate log il y a 20 ans
stdinth.inc 921ab1f2d0 + Removed last VER1_0 defines il y a 20 ans
stdio_exth.inc e417e34496 * truncate log il y a 20 ans
stdio_limh.inc e417e34496 * truncate log il y a 20 ans
stdioh.inc e417e34496 * truncate log il y a 20 ans
stdlib.inc 4bc085713f + Initial implementation il y a 22 ans
stdlibh.inc ffb55c4254 + Removed VER1_0 defines il y a 20 ans
stime.inc e417e34496 * truncate log il y a 20 ans
stimebh.inc e417e34496 * truncate log il y a 20 ans
stimeh.inc e417e34496 * truncate log il y a 20 ans
stringh.inc e417e34496 * truncate log il y a 20 ans
stroptsh.inc e417e34496 * truncate log il y a 20 ans
sttydefaults.inc 4bc085713f + Initial implementation il y a 22 ans
sttydefaultsh.inc e417e34496 * truncate log il y a 20 ans
sucontexth.inc e417e34496 * truncate log il y a 20 ans
suioh.inc e417e34496 * truncate log il y a 20 ans
sun.inc 4bc085713f + Initial implementation il y a 22 ans
sunh.inc e417e34496 * truncate log il y a 20 ans
suserh.inc e417e34496 * truncate log il y a 20 ans
sustath.inc e417e34496 * truncate log il y a 20 ans
sutsnameh.inc e417e34496 * truncate log il y a 20 ans
svlimith.inc e417e34496 * truncate log il y a 20 ans
svtimesh.inc e417e34496 * truncate log il y a 20 ans
swaith.inc e417e34496 * truncate log il y a 20 ans
sysexitsh.inc e417e34496 * truncate log il y a 20 ans
syslogh.inc e417e34496 * truncate log il y a 20 ans
systypeshh.inc 4bc085713f + Initial implementation il y a 22 ans
termios.inc 4bc085713f + Initial implementation il y a 22 ans
termiosh.inc 4bc085713f + Initial implementation il y a 22 ans
time.inc 4bc085713f + Initial implementation il y a 22 ans
timeh.inc e9860e8c97 * solved bug #3860 with a union il y a 20 ans
timesh.inc e417e34496 * truncate log il y a 20 ans
timexh.inc e417e34496 * truncate log il y a 20 ans
ttyenth.inc e417e34496 * truncate log il y a 20 ans
typesh.inc e417e34496 * truncate log il y a 20 ans
ucontexth.inc e417e34496 * truncate log il y a 20 ans
ulimith.inc e417e34496 * truncate log il y a 20 ans
unistdh.inc e417e34496 * truncate log il y a 20 ans
utimeh.inc 4bc085713f + Initial implementation il y a 22 ans
utmph.inc e417e34496 * truncate log il y a 20 ans
utmpxh.inc e417e34496 * truncate log il y a 20 ans
wcharh.inc e417e34496 * truncate log il y a 20 ans
wctypeh.inc e417e34496 * truncate log il y a 20 ans
wordexph.inc e417e34496 * truncate log il y a 20 ans
wordsizeh.inc 4bc085713f + Initial implementation il y a 22 ans
xlocaleh.inc e417e34496 * truncate log il y a 20 ans
xopen_limh.inc 4bc085713f + Initial implementation il y a 22 ans

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.