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

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.