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 19 роки тому
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 19 роки тому
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 19 роки тому
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.