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.