tom_at_work 202236c6e0 * fpcmake.ini update which fixes glibc search path problems on PowerPC64 пре 20 година
..
Makefile 202236c6e0 * fpcmake.ini update which fixes glibc search path problems on PowerPC64 пре 20 година
Makefile.fpc 7dadd64723 * 2.0.0 пре 20 година
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 пре 21 година
aliasesh.inc e417e34496 * truncate log пре 21 година
allocah.inc e417e34496 * truncate log пре 21 година
argph.inc e417e34496 * truncate log пре 21 година
argzh.inc e417e34496 * truncate log пре 21 година
asocketh.inc e417e34496 * truncate log пре 21 година
asockiosh.inc e417e34496 * truncate log пре 21 година
bconfnameh.inc e417e34496 * truncate log пре 21 година
bdirenth.inc e417e34496 * truncate log пре 21 година
bdlfcnh.inc e417e34496 * truncate log пре 21 година
bfcntlh.inc e417e34496 * truncate log пре 21 година
bfenvh.inc e417e34496 * truncate log пре 21 година
binh.inc e417e34496 * truncate log пре 21 година
bipch.inc e417e34496 * truncate log пре 21 година
bmmanh.inc e417e34496 * truncate log пре 21 година
bmsqh.inc e417e34496 * truncate log пре 21 година
bnetdbh.inc e417e34496 * truncate log пре 21 година
bpollh.inc e417e34496 * truncate log пре 21 година
bresourceh.inc 921ab1f2d0 + Removed last VER1_0 defines пре 20 година
bschedh.inc e417e34496 * truncate log пре 21 година
bselecth.inc e417e34496 * truncate log пре 21 година
bsemh.inc e417e34496 * truncate log пре 21 година
bshmh.inc e417e34496 * truncate log пре 21 година
bsockaddrh.inc e417e34496 * truncate log пре 21 година
bsocket.inc 4bc085713f + Initial implementation пре 22 година
bsocketh.inc 8a3268cddb + Last Borland Compatibility fixes пре 20 година
bstatfsh.inc e417e34496 * truncate log пре 21 година
bstath.inc e417e34496 * truncate log пре 21 година
bstatvfsh.inc e417e34496 * truncate log пре 21 година
bstroptsh.inc e417e34496 * truncate log пре 21 година
btermiosh.inc e417e34496 * truncate log пре 21 година
btimeh.inc e417e34496 * truncate log пре 21 година
buioh.inc e417e34496 * truncate log пре 21 година
bustath.inc e417e34496 * truncate log пре 21 година
butmph.inc e417e34496 * truncate log пре 21 година
butmpxh.inc e417e34496 * truncate log пре 21 година
butsnameh.inc e417e34496 * truncate log пре 21 година
bwaitflags.inc 4bc085713f + Initial implementation пре 22 година
bwaitflagsh.inc e417e34496 * truncate log пре 21 година
bwaitstatus.inc 4bc085713f + Initial implementation пре 22 година
bwaitstatush.inc e417e34496 * truncate log пре 21 година
cerrno.inc e417e34496 * truncate log пре 21 година
crypth.inc 20087744ea * libc patches from Almindor пре 20 година
ctypeh.inc e417e34496 * truncate log пре 21 година
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 пре 21 година
envzh.inc e417e34496 * truncate log пре 21 година
errh.inc e417e34496 * truncate log пре 21 година
errnoh.inc e417e34496 * truncate log пре 21 година
errorh.inc e417e34496 * truncate log пре 21 година
fcntlh.inc e417e34496 * truncate log пре 21 година
fenvh.inc e417e34496 * truncate log пре 21 година
fileh.inc e417e34496 * truncate log пре 21 година
fmtmsgh.inc e417e34496 * truncate log пре 21 година
fnmatchh.inc e417e34496 * truncate log пре 21 година
fpmake.inc ec05423779 + Initial implementation пре 20 година
fpmake.pp ec05423779 + Initial implementation пре 20 година
fstabh.inc e417e34496 * truncate log пре 21 година
gconfigh.inc e417e34496 * truncate log пре 21 година
gconvh.inc e417e34496 * truncate log пре 21 година
getopth.inc e417e34496 * truncate log пре 21 година
glibc_versionh.inc e417e34496 * truncate log пре 21 година
globh.inc e417e34496 * truncate log пре 21 година
glue.inc ce02ae077c * fixed psize_t пре 20 година
grph.inc e417e34496 * truncate log пре 21 година
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 пре 21 година
inttypesh.inc 4bc085713f + Initial implementation пре 22 година
ioctl_typesh.inc e417e34496 * truncate log пре 21 година
ioctlsh.inc e417e34496 * truncate log пре 21 година
kerneldefs.pp 790a4fe2d3 * log and id tags removed пре 20 година
kernelioctl.pp e417e34496 * truncate log пре 21 година
kioctlsh.inc e417e34496 * truncate log пре 21 година
langinfoh.inc e417e34496 * truncate log пре 21 година
lib_namesh.inc 4bc085713f + Initial implementation пре 22 година
libc.pp 20087744ea * libc patches from Almindor пре 20 година
libgenh.inc e417e34496 * truncate log пре 21 година
libintlh.inc e417e34496 * truncate log пре 21 година
libio.inc e417e34496 * truncate log пре 21 година
libioh.inc e417e34496 * truncate log пре 21 година
limitsh.inc 921ab1f2d0 + Removed last VER1_0 defines пре 20 година
local_limh.inc 4bc085713f + Initial implementation пре 22 година
localeh.inc e417e34496 * truncate log пре 21 година
malloch.inc e417e34496 * truncate log пре 21 година
mcheckh.inc e417e34496 * truncate log пре 21 година
mntenth.inc e417e34496 * truncate log пре 21 година
monetaryh.inc e417e34496 * truncate log пре 21 година
nashh.inc e417e34496 * truncate log пре 21 година
nath.inc e417e34496 * truncate log пре 21 година
nax25h.inc e417e34496 * truncate log пре 21 година
nech.inc e417e34496 * truncate log пре 21 година
netdbh.inc e417e34496 * truncate log пре 21 година
netherh.inc e417e34496 * truncate log пре 21 година
nethernet.inc 4bc085713f + Initial implementation пре 22 година
netherneth.inc e417e34496 * truncate log пре 21 година
nicmp6.inc 4bc085713f + Initial implementation пре 22 година
nicmp6h.inc e417e34496 * truncate log пре 21 година
nif_arph.inc e417e34496 * truncate log пре 21 година
nif_ether.inc e417e34496 * truncate log пре 21 година
nif_etherh.inc 4bc085713f + Initial implementation пре 22 година
nif_fddih.inc e417e34496 * truncate log пре 21 година
nif_packeth.inc e417e34496 * truncate log пре 21 година
nif_ppp.inc 4bc085713f + Initial implementation пре 22 година
nif_ppph.inc e417e34496 * truncate log пре 21 година
nif_shaperh.inc e417e34496 * truncate log пре 21 година
nif_trh.inc e417e34496 * truncate log пре 21 година
nifh.inc e417e34496 * truncate log пре 21 година
nigmph.inc e417e34496 * truncate log пре 21 година
nin.inc 4bc085713f + Initial implementation пре 22 година
nin_systmh.inc e417e34496 * truncate log пре 21 година
ninh.inc e417e34496 * truncate log пре 21 година
nip.inc 4bc085713f + Initial implementation пре 22 година
nip6h.inc e417e34496 * truncate log пре 21 година
nip_icmp.inc e417e34496 * truncate log пре 21 година
nip_icmph.inc e417e34496 * truncate log пре 21 година
niph.inc 6caa028202 + Wrong size for flags fields as reported by [email protected] пре 20 година
nipxh.inc e417e34496 * truncate log пре 21 година
nl_typesh.inc e417e34496 * truncate log пре 21 година
nnetromh.inc e417e34496 * truncate log пре 21 година
npacketh.inc e417e34496 * truncate log пре 21 година
nroseh.inc e417e34496 * truncate log пре 21 година
nroute.inc 4bc085713f + Initial implementation пре 22 година
nrouteh.inc e417e34496 * truncate log пре 21 година
nssh.inc e417e34496 * truncate log пре 21 година
ntcph.inc e417e34496 * truncate log пре 21 година
nudph.inc e417e34496 * truncate log пре 21 година
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 пре 21 година
posixopth.inc 4bc085713f + Initial implementation пре 22 година
printfh.inc e417e34496 * truncate log пре 21 година
proutedh.inc e417e34496 * truncate log пре 21 година
prwhodh.inc e417e34496 * truncate log пре 21 година
ptalkdh.inc e417e34496 * truncate log пре 21 година
pthread.inc 539436ed57 + Added missing criticalsection handlers пре 20 година
pthreadh.inc 539436ed57 + Added missing criticalsection handlers пре 20 година
pthreadtypesh.inc 8a3268cddb + Last Borland Compatibility fixes пре 20 година
ptimedh.inc e417e34496 * truncate log пре 21 година
ptyh.inc e417e34496 * truncate log пре 21 година
pwdh.inc e417e34496 * truncate log пре 21 година
regexh.inc e417e34496 * truncate log пре 21 година
regexph.inc e417e34496 * truncate log пре 21 година
saccth.inc e417e34496 * truncate log пре 21 година
schedh.inc 4bc085713f + Initial implementation пре 22 година
searchh.inc e417e34496 * truncate log пре 21 година
semaphoreh.inc 8a3268cddb + Last Borland Compatibility fixes пре 20 година
sfsuidh.inc e417e34496 * truncate log пре 21 година
sgttyh.inc e417e34496 * truncate log пре 21 година
shadowh.inc e417e34496 * truncate log пре 21 година
sigactionh.inc ecadd1758f + made sigaction record more kylix like пре 20 година
sigcontexth.inc e417e34496 * truncate log пре 21 година
siginfoh.inc 8a3268cddb + Last Borland Compatibility fixes пре 20 година
signalh.inc 54ca3d4536 * add cdecl for sigaction пре 21 година
signumh.inc 4bc085713f + Initial implementation пре 22 година
sigseth.inc 8a3268cddb + Last Borland Compatibility fixes пре 20 година
sigstackh.inc e417e34496 * truncate log пре 21 година
sigthreadh.inc e417e34496 * truncate log пре 21 година
sioctlh.inc e417e34496 * truncate log пре 21 година
sipch.inc e417e34496 * truncate log пре 21 година
skdaemonh.inc e417e34496 * truncate log пре 21 година
sklogh.inc e417e34496 * truncate log пре 21 година
smmaph.inc e417e34496 * truncate log пре 21 година
smounth.inc 4bc085713f + Initial implementation пре 22 година
smsgh.inc e417e34496 * truncate log пре 21 година
spawnh.inc e417e34496 * truncate log пре 21 година
spermh.inc e417e34496 * truncate log пре 21 година
spollh.inc e417e34496 * truncate log пре 21 година
sptraceh.inc e417e34496 * truncate log пре 21 година
squota.inc 4bc085713f + Initial implementation пре 22 година
squotah.inc e417e34496 * truncate log пре 21 година
sraw.inc e417e34496 * truncate log пре 21 година
srawh.inc e417e34496 * truncate log пре 21 година
srebooth.inc e417e34496 * truncate log пре 21 година
sresourceh.inc e417e34496 * truncate log пре 21 година
sscsi_ioctlh.inc e417e34496 * truncate log пре 21 година
sscsih.inc e417e34496 * truncate log пре 21 година
sselect.inc 216d27705d + Fixed some differences with Kylix libc пре 20 година
sselecth.inc 216d27705d + Fixed some differences with Kylix libc пре 20 година
ssemh.inc e417e34496 * truncate log пре 21 година
ssendfileh.inc e417e34496 * truncate log пре 21 година
ssgh.inc e417e34496 * truncate log пре 21 година
sshmh.inc e417e34496 * truncate log пре 21 година
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 пре 21 година
sstath.inc aacae3fb55 * another bunch of *stat* wrappers пре 20 година
sstatvfsh.inc e417e34496 * truncate log пре 21 година
sswaph.inc e417e34496 * truncate log пре 21 година
ssysctlh.inc e417e34496 * truncate log пре 21 година
ssysinfoh.inc e417e34496 * truncate log пре 21 година
ssyslog.inc 4bc085713f + Initial implementation пре 22 година
ssyslogh.inc e417e34496 * truncate log пре 21 година
stdinth.inc 921ab1f2d0 + Removed last VER1_0 defines пре 20 година
stdio_exth.inc e417e34496 * truncate log пре 21 година
stdio_limh.inc e417e34496 * truncate log пре 21 година
stdioh.inc 91559077d9 + Added tempnam function пре 20 година
stdlib.inc 4bc085713f + Initial implementation пре 22 година
stdlibh.inc ffb55c4254 + Removed VER1_0 defines пре 20 година
stime.inc e417e34496 * truncate log пре 21 година
stimebh.inc e417e34496 * truncate log пре 21 година
stimeh.inc a478052057 * gettimeofday(var tv;var tz) overload added пре 20 година
stringh.inc e417e34496 * truncate log пре 21 година
stroptsh.inc e417e34496 * truncate log пре 21 година
sttydefaults.inc 4bc085713f + Initial implementation пре 22 година
sttydefaultsh.inc e417e34496 * truncate log пре 21 година
sucontexth.inc e417e34496 * truncate log пре 21 година
suioh.inc e417e34496 * truncate log пре 21 година
sun.inc 4bc085713f + Initial implementation пре 22 година
sunh.inc e417e34496 * truncate log пре 21 година
suserh.inc e417e34496 * truncate log пре 21 година
sustath.inc e417e34496 * truncate log пре 21 година
sutsnameh.inc e417e34496 * truncate log пре 21 година
svlimith.inc e417e34496 * truncate log пре 21 година
svtimesh.inc e417e34496 * truncate log пре 21 година
swaith.inc e417e34496 * truncate log пре 21 година
sysexitsh.inc e417e34496 * truncate log пре 21 година
syslogh.inc e417e34496 * truncate log пре 21 година
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 пре 21 година
timesh.inc e417e34496 * truncate log пре 21 година
timexh.inc 8a3268cddb + Last Borland Compatibility fixes пре 20 година
ttyenth.inc e417e34496 * truncate log пре 21 година
types.inc 216d27705d + Fixed some differences with Kylix libc пре 20 година
typesh.inc 8a3268cddb + Last Borland Compatibility fixes пре 20 година
ucontexth.inc e417e34496 * truncate log пре 21 година
ulimith.inc e417e34496 * truncate log пре 21 година
unistdh.inc e417e34496 * truncate log пре 21 година
utimeh.inc 4bc085713f + Initial implementation пре 22 година
utmph.inc e417e34496 * truncate log пре 21 година
utmpxh.inc e417e34496 * truncate log пре 21 година
wcharh.inc e417e34496 * truncate log пре 21 година
wctypeh.inc e417e34496 * truncate log пре 21 година
wordexph.inc e417e34496 * truncate log пре 21 година
wordsizeh.inc 4bc085713f + Initial implementation пре 22 година
xlocaleh.inc e417e34496 * truncate log пре 21 година
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.