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

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.