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

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.