joost 90e313f3f9 * Version 2.2.1 18 éve
..
Makefile 90e313f3f9 * Version 2.2.1 18 éve
Makefile.fpc 90e313f3f9 * Version 2.2.1 18 éve
README 4ace790492 * remove $Log 20 éve
aineth.inc 02aaa32fb5 + Fix for var argument instead of pointer, reported by [email protected] 20 éve
aioh.inc e417e34496 * truncate log 20 éve
aliasesh.inc e417e34496 * truncate log 20 éve
allocah.inc e417e34496 * truncate log 20 éve
argph.inc 0a23786605 - reverted r4880 (wrong varargs reform) and r4838 (wrong removal of 19 éve
argzh.inc e417e34496 * truncate log 20 éve
asocketh.inc e417e34496 * truncate log 20 éve
asockiosh.inc e417e34496 * truncate log 20 éve
bconfnameh.inc e417e34496 * truncate log 20 éve
bdirenth.inc e417e34496 * truncate log 20 éve
bdlfcnh.inc e417e34496 * truncate log 20 éve
bfcntlh.inc e417e34496 * truncate log 20 éve
bfenvh.inc e417e34496 * truncate log 20 éve
binh.inc e417e34496 * truncate log 20 éve
bipch.inc e417e34496 * truncate log 20 éve
bmmanh.inc e417e34496 * truncate log 20 éve
bmsqh.inc e417e34496 * truncate log 20 éve
bnetdbh.inc e417e34496 * truncate log 20 éve
bpollh.inc e417e34496 * truncate log 20 éve
bresourceh.inc 921ab1f2d0 + Removed last VER1_0 defines 20 éve
bschedh.inc e417e34496 * truncate log 20 éve
bselecth.inc e417e34496 * truncate log 20 éve
bsemh.inc e417e34496 * truncate log 20 éve
bshmh.inc e417e34496 * truncate log 20 éve
bsockaddrh.inc e417e34496 * truncate log 20 éve
bsocket.inc 4bc085713f + Initial implementation 22 éve
bsocketh.inc 8a3268cddb + Last Borland Compatibility fixes 20 éve
bstatfsh.inc e417e34496 * truncate log 20 éve
bstath.inc e417e34496 * truncate log 20 éve
bstatvfsh.inc e417e34496 * truncate log 20 éve
bstroptsh.inc e417e34496 * truncate log 20 éve
btermiosh.inc e417e34496 * truncate log 20 éve
btimeh.inc e417e34496 * truncate log 20 éve
buioh.inc e417e34496 * truncate log 20 éve
bustath.inc e417e34496 * truncate log 20 éve
butmph.inc e417e34496 * truncate log 20 éve
butmpxh.inc e417e34496 * truncate log 20 éve
butsnameh.inc e417e34496 * truncate log 20 éve
bwaitflags.inc 4bc085713f + Initial implementation 22 éve
bwaitflagsh.inc e417e34496 * truncate log 20 éve
bwaitstatus.inc 4bc085713f + Initial implementation 22 éve
bwaitstatush.inc e417e34496 * truncate log 20 éve
cerrno.inc e417e34496 * truncate log 20 éve
crypth.inc 20087744ea * libc patches from Almindor 20 éve
ctypeh.inc e417e34496 * truncate log 20 éve
dirent.inc 4bc085713f + Initial implementation 22 éve
direnth.inc 8a3268cddb + Last Borland Compatibility fixes 20 éve
dlfcnh.inc 20087744ea * libc patches from Almindor 20 éve
endianh.inc e417e34496 * truncate log 20 éve
envzh.inc e417e34496 * truncate log 20 éve
errh.inc e417e34496 * truncate log 20 éve
errnoh.inc e417e34496 * truncate log 20 éve
errorh.inc e417e34496 * truncate log 20 éve
fcntlh.inc 0a23786605 - reverted r4880 (wrong varargs reform) and r4838 (wrong removal of 19 éve
fenvh.inc e417e34496 * truncate log 20 éve
fileh.inc e417e34496 * truncate log 20 éve
fmtmsgh.inc e417e34496 * truncate log 20 éve
fnmatchh.inc e417e34496 * truncate log 20 éve
fpmake.inc ec05423779 + Initial implementation 20 éve
fpmake.pp ec05423779 + Initial implementation 20 éve
fstabh.inc e417e34496 * truncate log 20 éve
gconfigh.inc e417e34496 * truncate log 20 éve
gconvh.inc e417e34496 * truncate log 20 éve
getopth.inc e417e34496 * truncate log 20 éve
glibc_versionh.inc e417e34496 * truncate log 20 éve
globh.inc e417e34496 * truncate log 20 éve
glue.inc ce02ae077c * fixed psize_t 20 éve
grph.inc e417e34496 * truncate log 20 éve
h2p 4ace790492 * remove $Log 20 éve
h2p1.sed 4bc085713f + Initial implementation 22 éve
h2p2.sed 4bc085713f + Initial implementation 22 éve
iconvh.inc 4bc085713f + Initial implementation 22 éve
igmph.inc e417e34496 * truncate log 20 éve
inttypesh.inc 4bc085713f + Initial implementation 22 éve
ioctl_typesh.inc e417e34496 * truncate log 20 éve
ioctlsh.inc e417e34496 * truncate log 20 éve
kerneldefs.pp 790a4fe2d3 * log and id tags removed 20 éve
kernelioctl.pp e417e34496 * truncate log 20 éve
kioctlsh.inc e417e34496 * truncate log 20 éve
langinfoh.inc e417e34496 * truncate log 20 éve
lib_namesh.inc 4bc085713f + Initial implementation 22 éve
libc.pp ae5cfedc13 * Redirected libc pthread_cond_t type to unixtype 19 éve
libgenh.inc e417e34496 * truncate log 20 éve
libintlh.inc e417e34496 * truncate log 20 éve
libio.inc e417e34496 * truncate log 20 éve
libioh.inc e417e34496 * truncate log 20 éve
limitsh.inc 921ab1f2d0 + Removed last VER1_0 defines 20 éve
local_limh.inc 4bc085713f + Initial implementation 22 éve
localeh.inc e417e34496 * truncate log 20 éve
malloch.inc e417e34496 * truncate log 20 éve
mcheckh.inc e417e34496 * truncate log 20 éve
mntenth.inc e417e34496 * truncate log 20 éve
monetaryh.inc 0a23786605 - reverted r4880 (wrong varargs reform) and r4838 (wrong removal of 19 éve
nashh.inc e417e34496 * truncate log 20 éve
nath.inc e417e34496 * truncate log 20 éve
nax25h.inc e417e34496 * truncate log 20 éve
nech.inc e417e34496 * truncate log 20 éve
netdbh.inc e417e34496 * truncate log 20 éve
netherh.inc e417e34496 * truncate log 20 éve
nethernet.inc 4bc085713f + Initial implementation 22 éve
netherneth.inc e417e34496 * truncate log 20 éve
nicmp6.inc 4bc085713f + Initial implementation 22 éve
nicmp6h.inc e417e34496 * truncate log 20 éve
nif_arph.inc e417e34496 * truncate log 20 éve
nif_ether.inc e417e34496 * truncate log 20 éve
nif_etherh.inc 4bc085713f + Initial implementation 22 éve
nif_fddih.inc e417e34496 * truncate log 20 éve
nif_packeth.inc e417e34496 * truncate log 20 éve
nif_ppp.inc 4bc085713f + Initial implementation 22 éve
nif_ppph.inc e417e34496 * truncate log 20 éve
nif_shaperh.inc e417e34496 * truncate log 20 éve
nif_trh.inc e417e34496 * truncate log 20 éve
nifh.inc e417e34496 * truncate log 20 éve
nigmph.inc e417e34496 * truncate log 20 éve
nin.inc 4bc085713f + Initial implementation 22 éve
nin_systmh.inc e417e34496 * truncate log 20 éve
ninh.inc e417e34496 * truncate log 20 éve
nip.inc 4bc085713f + Initial implementation 22 éve
nip6h.inc e417e34496 * truncate log 20 éve
nip_icmp.inc e417e34496 * truncate log 20 éve
nip_icmph.inc e417e34496 * truncate log 20 éve
niph.inc 6caa028202 + Wrong size for flags fields as reported by [email protected] 20 éve
nipxh.inc e417e34496 * truncate log 20 éve
nl_typesh.inc e417e34496 * truncate log 20 éve
nnetromh.inc e417e34496 * truncate log 20 éve
npacketh.inc e417e34496 * truncate log 20 éve
nroseh.inc e417e34496 * truncate log 20 éve
nroute.inc 4bc085713f + Initial implementation 22 éve
nrouteh.inc e417e34496 * truncate log 20 éve
nssh.inc e417e34496 * truncate log 20 éve
ntcph.inc e417e34496 * truncate log 20 éve
nudph.inc e417e34496 * truncate log 20 éve
nupdh.inc 50778076c3 initial import 20 éve
pathsh.inc 4bc085713f + Initial implementation 22 éve
posix1_limh.inc 4bc085713f + Initial implementation 22 éve
posix2_limh.inc e417e34496 * truncate log 20 éve
posixopth.inc 4bc085713f + Initial implementation 22 éve
printfh.inc e417e34496 * truncate log 20 éve
proutedh.inc e417e34496 * truncate log 20 éve
prwhodh.inc e417e34496 * truncate log 20 éve
ptalkdh.inc e417e34496 * truncate log 20 éve
pthread.inc 539436ed57 + Added missing criticalsection handlers 20 éve
pthreadh.inc 539436ed57 + Added missing criticalsection handlers 20 éve
pthreadtypesh.inc ae5cfedc13 * Redirected libc pthread_cond_t type to unixtype 19 éve
ptimedh.inc e417e34496 * truncate log 20 éve
ptyh.inc e417e34496 * truncate log 20 éve
pwdh.inc e417e34496 * truncate log 20 éve
regexh.inc e417e34496 * truncate log 20 éve
regexph.inc e417e34496 * truncate log 20 éve
saccth.inc e417e34496 * truncate log 20 éve
schedh.inc 4bc085713f + Initial implementation 22 éve
searchh.inc e417e34496 * truncate log 20 éve
semaphoreh.inc 0a23786605 - reverted r4880 (wrong varargs reform) and r4838 (wrong removal of 19 éve
sfsuidh.inc e417e34496 * truncate log 20 éve
sgttyh.inc e417e34496 * truncate log 20 éve
shadowh.inc e417e34496 * truncate log 20 éve
sigactionh.inc ecadd1758f + made sigaction record more kylix like 20 éve
sigcontexth.inc e417e34496 * truncate log 20 éve
siginfoh.inc 8a3268cddb + Last Borland Compatibility fixes 20 éve
signalh.inc 67b440333d + Fixed declaration of sisigemptyset and friends to use param by ref 19 éve
signumh.inc 4bc085713f + Initial implementation 22 éve
sigseth.inc 8a3268cddb + Last Borland Compatibility fixes 20 éve
sigstackh.inc e417e34496 * truncate log 20 éve
sigthreadh.inc e417e34496 * truncate log 20 éve
sioctlh.inc 0a23786605 - reverted r4880 (wrong varargs reform) and r4838 (wrong removal of 19 éve
sipch.inc e417e34496 * truncate log 20 éve
skdaemonh.inc e417e34496 * truncate log 20 éve
sklogh.inc e417e34496 * truncate log 20 éve
smmaph.inc 8ee32a1049 * fixed library name for shm_unlink,shm_open as per mariano podesta's suggestion. 19 éve
smounth.inc 4bc085713f + Initial implementation 22 éve
smsgh.inc e417e34496 * truncate log 20 éve
spawnh.inc e417e34496 * truncate log 20 éve
spermh.inc e417e34496 * truncate log 20 éve
spollh.inc e417e34496 * truncate log 20 éve
sptraceh.inc 0a23786605 - reverted r4880 (wrong varargs reform) and r4838 (wrong removal of 19 éve
squota.inc 4bc085713f + Initial implementation 22 éve
squotah.inc e417e34496 * truncate log 20 éve
sraw.inc e417e34496 * truncate log 20 éve
srawh.inc e417e34496 * truncate log 20 éve
srebooth.inc e417e34496 * truncate log 20 éve
sresourceh.inc e417e34496 * truncate log 20 éve
sscsi_ioctlh.inc e417e34496 * truncate log 20 éve
sscsih.inc e417e34496 * truncate log 20 éve
sselect.inc 216d27705d + Fixed some differences with Kylix libc 20 éve
sselecth.inc 216d27705d + Fixed some differences with Kylix libc 20 éve
ssemh.inc 0a23786605 - reverted r4880 (wrong varargs reform) and r4838 (wrong removal of 19 éve
ssendfileh.inc e417e34496 * truncate log 20 éve
ssgh.inc e417e34496 * truncate log 20 éve
sshmh.inc e417e34496 * truncate log 20 éve
ssocketh.inc 07cc362617 + Added overloaded calls with untyped buffer for send/recv calls. As reported by [email protected] 20 éve
sstat.inc aacae3fb55 * another bunch of *stat* wrappers 20 éve
sstatfsh.inc e417e34496 * truncate log 20 éve
sstath.inc aacae3fb55 * another bunch of *stat* wrappers 20 éve
sstatvfsh.inc e417e34496 * truncate log 20 éve
sswaph.inc e417e34496 * truncate log 20 éve
ssysctlh.inc e417e34496 * truncate log 20 éve
ssysinfoh.inc e417e34496 * truncate log 20 éve
ssyslog.inc 4bc085713f + Initial implementation 22 éve
ssyslogh.inc e417e34496 * truncate log 20 éve
stdinth.inc 921ab1f2d0 + Removed last VER1_0 defines 20 éve
stdio_exth.inc e417e34496 * truncate log 20 éve
stdio_limh.inc e417e34496 * truncate log 20 éve
stdioh.inc 0a23786605 - reverted r4880 (wrong varargs reform) and r4838 (wrong removal of 19 éve
stdlib.inc 4bc085713f + Initial implementation 22 éve
stdlibh.inc ffb55c4254 + Removed VER1_0 defines 20 éve
stime.inc e417e34496 * truncate log 20 éve
stimebh.inc e417e34496 * truncate log 20 éve
stimeh.inc a478052057 * gettimeofday(var tv;var tz) overload added 20 éve
stringh.inc e417e34496 * truncate log 20 éve
stroptsh.inc e417e34496 * truncate log 20 éve
sttydefaults.inc 4bc085713f + Initial implementation 22 éve
sttydefaultsh.inc e417e34496 * truncate log 20 éve
sucontexth.inc e417e34496 * truncate log 20 éve
suioh.inc e417e34496 * truncate log 20 éve
sun.inc 4bc085713f + Initial implementation 22 éve
sunh.inc e417e34496 * truncate log 20 éve
suserh.inc e417e34496 * truncate log 20 éve
sustath.inc e417e34496 * truncate log 20 éve
sutsnameh.inc e417e34496 * truncate log 20 éve
svlimith.inc e417e34496 * truncate log 20 éve
svtimesh.inc e417e34496 * truncate log 20 éve
swaith.inc e417e34496 * truncate log 20 éve
sysexitsh.inc e417e34496 * truncate log 20 éve
syslogh.inc e417e34496 * truncate log 20 éve
systypeshh.inc 8a3268cddb + Last Borland Compatibility fixes 20 éve
termios.inc 4bc085713f + Initial implementation 22 éve
termiosh.inc 4bc085713f + Initial implementation 22 éve
time.inc 4bc085713f + Initial implementation 22 éve
timeh.inc e9860e8c97 * solved bug #3860 with a union 20 éve
timesh.inc e417e34496 * truncate log 20 éve
timexh.inc 8a3268cddb + Last Borland Compatibility fixes 20 éve
ttyenth.inc e417e34496 * truncate log 20 éve
types.inc 216d27705d + Fixed some differences with Kylix libc 20 éve
typesh.inc 8a3268cddb + Last Borland Compatibility fixes 20 éve
ucontexth.inc 0a23786605 - reverted r4880 (wrong varargs reform) and r4838 (wrong removal of 19 éve
ulimith.inc 0a23786605 - reverted r4880 (wrong varargs reform) and r4838 (wrong removal of 19 éve
unistdh.inc 0a23786605 - reverted r4880 (wrong varargs reform) and r4838 (wrong removal of 19 éve
utimeh.inc 4bc085713f + Initial implementation 22 éve
utmph.inc e417e34496 * truncate log 20 éve
utmpxh.inc e417e34496 * truncate log 20 éve
wcharh.inc 0a23786605 - reverted r4880 (wrong varargs reform) and r4838 (wrong removal of 19 éve
wctypeh.inc e417e34496 * truncate log 20 éve
wordexph.inc e417e34496 * truncate log 20 éve
wordsizeh.inc 4bc085713f + Initial implementation 22 éve
xlocaleh.inc e417e34496 * truncate log 20 éve
xopen_limh.inc 4bc085713f + Initial implementation 22 éve

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.