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

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.