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.