Jonas Maebe c9ce918485 * regenerated for darwin/x86_64 пре 18 година
..
Makefile c9ce918485 * regenerated for darwin/x86_64 пре 18 година
Makefile.fpc 9adb91a68d + support for make -jX by marking all Makefiles that need to be executed пре 18 година
README 4ace790492 * remove $Log пре 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 0a23786605 - reverted r4880 (wrong varargs reform) and r4838 (wrong removal of пре 19 година
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 921ab1f2d0 + Removed last VER1_0 defines пре 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 8a3268cddb + Last Borland Compatibility fixes пре 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 20087744ea * libc patches from Almindor пре 20 година
ctypeh.inc e417e34496 * truncate log пре 20 година
dirent.inc 4bc085713f + Initial implementation пре 22 година
direnth.inc 8a3268cddb + Last Borland Compatibility fixes пре 20 година
dlfcnh.inc 20087744ea * libc patches from Almindor пре 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 0a23786605 - reverted r4880 (wrong varargs reform) and r4838 (wrong removal of пре 19 година
fenvh.inc e417e34496 * truncate log пре 20 година
fileh.inc e417e34496 * truncate log пре 20 година
fmtmsgh.inc e417e34496 * truncate log пре 20 година
fnmatchh.inc e417e34496 * truncate log пре 20 година
fpmake.inc ec05423779 + Initial implementation пре 20 година
fpmake.pp ec05423779 + Initial implementation пре 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 ce02ae077c * fixed psize_t пре 20 година
grph.inc e417e34496 * truncate log пре 20 година
h2p 4ace790492 * remove $Log пре 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 790a4fe2d3 * log and id tags removed пре 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 ae5cfedc13 * Redirected libc pthread_cond_t type to unixtype пре 18 година
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 921ab1f2d0 + Removed last VER1_0 defines пре 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 0a23786605 - reverted r4880 (wrong varargs reform) and r4838 (wrong removal of пре 19 година
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 539436ed57 + Added missing criticalsection handlers пре 20 година
pthreadh.inc 539436ed57 + Added missing criticalsection handlers пре 20 година
pthreadtypesh.inc ae5cfedc13 * Redirected libc pthread_cond_t type to unixtype пре 18 година
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 0a23786605 - reverted r4880 (wrong varargs reform) and r4838 (wrong removal of пре 19 година
sfsuidh.inc e417e34496 * truncate log пре 20 година
sgttyh.inc e417e34496 * truncate log пре 20 година
shadowh.inc e417e34496 * truncate log пре 20 година
sigactionh.inc ecadd1758f + made sigaction record more kylix like пре 20 година
sigcontexth.inc e417e34496 * truncate log пре 20 година
siginfoh.inc 8a3268cddb + Last Borland Compatibility fixes пре 20 година
signalh.inc 67b440333d + Fixed declaration of sisigemptyset and friends to use param by ref пре 19 година
signumh.inc 4bc085713f + Initial implementation пре 22 година
sigseth.inc 8a3268cddb + Last Borland Compatibility fixes пре 20 година
sigstackh.inc e417e34496 * truncate log пре 20 година
sigthreadh.inc e417e34496 * truncate log пре 20 година
sioctlh.inc 0a23786605 - reverted r4880 (wrong varargs reform) and r4838 (wrong removal of пре 19 година
sipch.inc e417e34496 * truncate log пре 20 година
skdaemonh.inc e417e34496 * truncate log пре 20 година
sklogh.inc e417e34496 * truncate log пре 20 година
smmaph.inc 8ee32a1049 * fixed library name for shm_unlink,shm_open as per mariano podesta's suggestion. пре 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 0a23786605 - reverted r4880 (wrong varargs reform) and r4838 (wrong removal of пре 19 година
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 216d27705d + Fixed some differences with Kylix libc пре 20 година
sselecth.inc 216d27705d + Fixed some differences with Kylix libc пре 20 година
ssemh.inc 0a23786605 - reverted r4880 (wrong varargs reform) and r4838 (wrong removal of пре 19 година
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 aacae3fb55 * another bunch of *stat* wrappers пре 20 година
sstatfsh.inc e417e34496 * truncate log пре 20 година
sstath.inc aacae3fb55 * another bunch of *stat* wrappers пре 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 921ab1f2d0 + Removed last VER1_0 defines пре 20 година
stdio_exth.inc e417e34496 * truncate log пре 20 година
stdio_limh.inc e417e34496 * truncate log пре 20 година
stdioh.inc 0a23786605 - reverted r4880 (wrong varargs reform) and r4838 (wrong removal of пре 19 година
stdlib.inc 4bc085713f + Initial implementation пре 22 година
stdlibh.inc ffb55c4254 + Removed VER1_0 defines пре 20 година
stime.inc e417e34496 * truncate log пре 20 година
stimebh.inc e417e34496 * truncate log пре 20 година
stimeh.inc a478052057 * gettimeofday(var tv;var tz) overload added пре 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 8a3268cddb + Last Borland Compatibility fixes пре 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 8a3268cddb + Last Borland Compatibility fixes пре 20 година
ttyenth.inc e417e34496 * truncate log пре 20 година
types.inc 216d27705d + Fixed some differences with Kylix libc пре 20 година
typesh.inc 8a3268cddb + Last Borland Compatibility fixes пре 20 година
ucontexth.inc 0a23786605 - reverted r4880 (wrong varargs reform) and r4838 (wrong removal of пре 19 година
ulimith.inc 0a23786605 - reverted r4880 (wrong varargs reform) and r4838 (wrong removal of пре 19 година
unistdh.inc 0a23786605 - reverted r4880 (wrong varargs reform) and r4838 (wrong removal of пре 19 година
utimeh.inc 4bc085713f + Initial implementation пре 22 година
utmph.inc e417e34496 * truncate log пре 20 година
utmpxh.inc e417e34496 * truncate log пре 20 година
wcharh.inc 0a23786605 - reverted r4880 (wrong varargs reform) and r4838 (wrong removal of пре 19 година
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.