fpc/packages/base/libc
2005-12-16 20:37:08 +00:00
..
aineth.inc + Fix for var argument instead of pointer, reported by zephod@skynet.be 2005-05-04 07:58:05 +00:00
aioh.inc
aliasesh.inc
allocah.inc
argph.inc
argzh.inc
asocketh.inc
asockiosh.inc
bconfnameh.inc
bdirenth.inc
bdlfcnh.inc
bfcntlh.inc
bfenvh.inc
binh.inc
bipch.inc
bmmanh.inc
bmsqh.inc
bnetdbh.inc
bpollh.inc
bresourceh.inc + Removed last VER1_0 defines 2005-06-09 19:18:53 +00:00
bschedh.inc
bselecth.inc
bsemh.inc
bshmh.inc
bsockaddrh.inc
bsocket.inc
bsocketh.inc + Last Borland Compatibility fixes 2005-08-11 17:28:04 +00:00
bstatfsh.inc
bstath.inc
bstatvfsh.inc
bstroptsh.inc
btermiosh.inc
btimeh.inc
buioh.inc
bustath.inc
butmph.inc
butmpxh.inc
butsnameh.inc
bwaitflags.inc
bwaitflagsh.inc
bwaitstatus.inc
bwaitstatush.inc
cerrno.inc
crypth.inc * libc patches from Almindor 2005-09-23 12:18:50 +00:00
ctypeh.inc
dirent.inc
direnth.inc + Last Borland Compatibility fixes 2005-08-11 17:28:04 +00:00
dlfcnh.inc * libc patches from Almindor 2005-09-23 12:18:50 +00:00
endianh.inc
envzh.inc
errh.inc
errnoh.inc
errorh.inc
fcntlh.inc
fenvh.inc
fileh.inc
fmtmsgh.inc
fnmatchh.inc
fpmake.inc + Initial implementation 2005-06-17 16:52:17 +00:00
fpmake.pp + Initial implementation 2005-06-17 16:52:17 +00:00
fstabh.inc
gconfigh.inc
gconvh.inc
getopth.inc
glibc_versionh.inc
globh.inc
glue.inc * fixed psize_t 2005-10-01 20:49:15 +00:00
grph.inc
h2p * remove $Log 2005-06-07 09:47:55 +00:00
h2p1.sed
h2p2.sed
iconvh.inc
igmph.inc
inttypesh.inc
ioctl_typesh.inc
ioctlsh.inc
kerneldefs.pp * log and id tags removed 2005-05-21 09:42:41 +00:00
kernelioctl.pp
kioctlsh.inc
langinfoh.inc
lib_namesh.inc
libc.pp * libc patches from Almindor 2005-09-23 12:18:50 +00:00
libgenh.inc
libintlh.inc
libio.inc
libioh.inc
limitsh.inc + Removed last VER1_0 defines 2005-06-09 19:18:53 +00:00
local_limh.inc
localeh.inc
Makefile * updated makefiles for ppc64/linux to allow successful snapshot building on that platform 2005-12-16 20:37:08 +00:00
Makefile.fpc * 2.0.0 2005-05-05 12:59:59 +00:00
malloch.inc
mcheckh.inc
mntenth.inc
monetaryh.inc
nashh.inc
nath.inc
nax25h.inc
nech.inc
netdbh.inc
netherh.inc
nethernet.inc
netherneth.inc
nicmp6.inc
nicmp6h.inc
nif_arph.inc
nif_ether.inc
nif_etherh.inc
nif_fddih.inc
nif_packeth.inc
nif_ppp.inc
nif_ppph.inc
nif_shaperh.inc
nif_trh.inc
nifh.inc
nigmph.inc
nin_systmh.inc
nin.inc
ninh.inc
nip6h.inc
nip_icmp.inc
nip_icmph.inc
nip.inc
niph.inc + Wrong size for flags fields as reported by zephod@skynet.be 2005-05-04 08:05:10 +00:00
nipxh.inc
nl_typesh.inc
nnetromh.inc
npacketh.inc
nroseh.inc
nroute.inc
nrouteh.inc
nssh.inc
ntcph.inc
nudph.inc
nupdh.inc initial import 2005-05-16 18:37:41 +00:00
pathsh.inc
posix1_limh.inc
posix2_limh.inc
posixopth.inc
printfh.inc
proutedh.inc
prwhodh.inc
ptalkdh.inc
pthread.inc + Added missing criticalsection handlers 2005-08-27 09:45:39 +00:00
pthreadh.inc + Added missing criticalsection handlers 2005-08-27 09:45:39 +00:00
pthreadtypesh.inc + Last Borland Compatibility fixes 2005-08-11 17:28:04 +00:00
ptimedh.inc
ptyh.inc
pwdh.inc
README * remove $Log 2005-06-07 09:47:55 +00:00
regexh.inc
regexph.inc
saccth.inc
schedh.inc
searchh.inc
semaphoreh.inc + Last Borland Compatibility fixes 2005-08-11 17:28:04 +00:00
sfsuidh.inc
sgttyh.inc
shadowh.inc
sigactionh.inc + made sigaction record more kylix like 2005-09-17 20:14:31 +00:00
sigcontexth.inc
siginfoh.inc + Last Borland Compatibility fixes 2005-08-11 17:28:04 +00:00
signalh.inc * add cdecl for sigaction 2005-03-25 20:09:16 +00:00
signumh.inc
sigseth.inc + Last Borland Compatibility fixes 2005-08-11 17:28:04 +00:00
sigstackh.inc
sigthreadh.inc
sioctlh.inc
sipch.inc
skdaemonh.inc
sklogh.inc
smmaph.inc
smounth.inc
smsgh.inc
spawnh.inc
spermh.inc
spollh.inc
sptraceh.inc
squota.inc
squotah.inc
sraw.inc
srawh.inc
srebooth.inc
sresourceh.inc
sscsi_ioctlh.inc
sscsih.inc
sselect.inc + Fixed some differences with Kylix libc 2005-08-09 19:03:25 +00:00
sselecth.inc + Fixed some differences with Kylix libc 2005-08-09 19:03:25 +00:00
ssemh.inc
ssendfileh.inc
ssgh.inc
sshmh.inc
ssocketh.inc + Added overloaded calls with untyped buffer for send/recv calls. As reported by zephod@skynet.be 2005-05-04 08:08:44 +00:00
sstat.inc * another bunch of *stat* wrappers 2005-09-29 21:06:25 +00:00
sstatfsh.inc
sstath.inc * another bunch of *stat* wrappers 2005-09-29 21:06:25 +00:00
sstatvfsh.inc
sswaph.inc
ssysctlh.inc
ssysinfoh.inc
ssyslog.inc
ssyslogh.inc
stdinth.inc + Removed last VER1_0 defines 2005-06-09 19:18:53 +00:00
stdio_exth.inc
stdio_limh.inc
stdioh.inc + Added tempnam function 2005-09-25 17:13:57 +00:00
stdlib.inc
stdlibh.inc + Removed VER1_0 defines 2005-05-19 21:14:45 +00:00
stime.inc
stimebh.inc
stimeh.inc * gettimeofday(var tv;var tz) overload added 2005-10-20 06:13:13 +00:00
stringh.inc
stroptsh.inc
sttydefaults.inc
sttydefaultsh.inc
sucontexth.inc
suioh.inc
sun.inc
sunh.inc
suserh.inc
sustath.inc
sutsnameh.inc
svlimith.inc
svtimesh.inc
swaith.inc
sysexitsh.inc
syslogh.inc
systypeshh.inc + Last Borland Compatibility fixes 2005-08-11 17:28:04 +00:00
termios.inc
termiosh.inc
time.inc
timeh.inc * solved bug #3860 with a union 2005-04-15 10:17:55 +00:00
timesh.inc
timexh.inc + Last Borland Compatibility fixes 2005-08-11 17:28:04 +00:00
ttyenth.inc
types.inc + Fixed some differences with Kylix libc 2005-08-09 19:03:25 +00:00
typesh.inc + Last Borland Compatibility fixes 2005-08-11 17:28:04 +00:00
ucontexth.inc
ulimith.inc
unistdh.inc
utimeh.inc
utmph.inc
utmpxh.inc
wcharh.inc
wctypeh.inc
wordexph.inc
wordsizeh.inc
xlocaleh.inc
xopen_limh.inc

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.