fpc/packages/base/libc
2005-01-24 10:58:26 +00:00
..
aineth.inc + Moved ineth.inc to aineth.inc as originally intended. Thanks to Sebastian Volland 2004-03-24 20:01:26 +00:00
aioh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
aliasesh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
allocah.inc + Initial implementation 2003-06-26 08:31:12 +00:00
argph.inc + Initial implementation 2003-06-26 08:31:12 +00:00
argzh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
asocketh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
asockiosh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
bconfnameh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
bdirenth.inc + Initial implementation 2003-06-26 08:31:12 +00:00
bdlfcnh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
bfcntlh.inc + Fixed octal constants. Thanks to Martin Schreiber for reporting it 2004-05-02 14:20:50 +00:00
bfenvh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
binh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
bipch.inc + Initial implementation 2003-06-26 08:31:12 +00:00
bmmanh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
bmsqh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
bnetdbh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
bpollh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
bresourceh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
bschedh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
bselecth.inc + Initial implementation 2003-06-26 08:31:12 +00:00
bsemh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
bshmh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
bsockaddrh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
bsocket.inc + Initial implementation 2003-06-26 08:31:12 +00:00
bsocketh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
bstatfsh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
bstath.inc + Fixed stat record as reported by Michalis Kamburelis 2004-05-02 14:50:30 +00:00
bstatvfsh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
bstroptsh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
btermiosh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
btimeh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
buioh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
bustath.inc + Initial implementation 2003-06-26 08:31:12 +00:00
butmph.inc + Initial implementation 2003-06-26 08:31:12 +00:00
butmpxh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
butsnameh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
bwaitflags.inc + Initial implementation 2003-06-26 08:31:12 +00:00
bwaitflagsh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
bwaitstatus.inc + Initial implementation 2003-06-26 08:31:12 +00:00
bwaitstatush.inc + Initial implementation 2003-06-26 08:31:12 +00:00
cerrno.inc + Moved to cerrno to avoid conflict with system unit 2004-12-11 17:25:10 +00:00
crypth.inc + Initial implementation 2003-06-26 08:31:12 +00:00
ctypeh.inc + Added isblank function. reported by Mario R. Carro 2004-05-02 15:36:07 +00:00
dirent.inc + Initial implementation 2003-06-26 08:31:12 +00:00
direnth.inc + Initial implementation 2003-06-26 08:31:12 +00:00
dlfcnh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
endianh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
envzh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
errh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
errnoh.inc + Fixed errno_location problem 2003-12-31 10:46:08 +00:00
errorh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
fcntlh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
fenvh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
fileh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
fmtmsgh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
fnmatchh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
fstabh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
gconfigh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
gconvh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
getopth.inc + Initial implementation 2003-06-26 08:31:12 +00:00
glibc_versionh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
globh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
glue.inc + Initial implementation 2003-06-26 08:31:12 +00:00
grph.inc + Initial implementation 2003-06-26 08:31:12 +00:00
h2p + Initial implementation 2003-06-26 08:31:12 +00:00
h2p1.sed + Initial implementation 2003-06-26 08:31:12 +00:00
h2p2.sed + Initial implementation 2003-06-26 08:31:12 +00:00
iconvh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
igmph.inc + Initial implementation 2003-06-26 08:31:12 +00:00
inttypesh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
ioctl_typesh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
ioctlsh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
kerneldefs.pp + Initial implementation 2003-06-26 08:31:12 +00:00
kernelioctl.pp + Initial implementation 2003-06-26 08:31:12 +00:00
kioctlsh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
langinfoh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
lib_namesh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
libc.pp * errno.inc -> cerrno.inc 2004-12-12 12:36:47 +00:00
libgenh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
libintlh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
libio.inc + Initial implementation 2003-06-26 08:31:12 +00:00
libioh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
limitsh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
local_limh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
localeh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
Makefile * regenerated 2005-01-11 17:07:45 +00:00
Makefile.fpc * updated makefile.fpc versions to 1.9.7, regenerated makefiles 2005-01-10 22:49:56 +00:00
malloch.inc + Initial implementation 2003-06-26 08:31:12 +00:00
mcheckh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
mntenth.inc + Initial implementation 2003-06-26 08:31:12 +00:00
monetaryh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nashh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nath.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nax25h.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nech.inc + Initial implementation 2003-06-26 08:31:12 +00:00
netdbh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
netherh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nethernet.inc + Initial implementation 2003-06-26 08:31:12 +00:00
netherneth.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nicmp6.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nicmp6h.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nif_arph.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nif_ether.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nif_etherh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nif_fddih.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nif_packeth.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nif_ppp.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nif_ppph.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nif_shaperh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nif_trh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nifh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nigmph.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nin_systmh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nin.inc + Initial implementation 2003-06-26 08:31:12 +00:00
ninh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nip6h.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nip_icmp.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nip_icmph.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nip.inc + Initial implementation 2003-06-26 08:31:12 +00:00
niph.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nipxh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nl_typesh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nnetromh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
npacketh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nroseh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nroute.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nrouteh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nssh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
ntcph.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nudph.inc + Initial implementation 2003-06-26 08:31:12 +00:00
nupdh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
pathsh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
posix1_limh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
posix2_limh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
posixopth.inc + Initial implementation 2003-06-26 08:31:12 +00:00
printfh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
proutedh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
prwhodh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
ptalkdh.inc + DELETE naming conflct 2003-06-26 13:54:30 +00:00
pthreadh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
pthreadtypesh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
ptimedh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
ptyh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
pwdh.inc + Fixed getpwuid_r as reported by Michalis Kamburelis 2004-05-02 14:48:50 +00:00
README + Fixed errno_location problem 2003-12-31 10:46:08 +00:00
regexh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
regexph.inc + Initial implementation 2003-06-26 08:31:12 +00:00
saccth.inc + Initial implementation 2003-06-26 08:31:12 +00:00
schedh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
searchh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
semaphoreh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
sfsuidh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
sgttyh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
shadowh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
sigactionh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
sigcontexth.inc + Initial implementation 2003-06-26 08:31:12 +00:00
siginfoh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
signalh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
signumh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
sigseth.inc + Initial implementation 2003-06-26 08:31:12 +00:00
sigstackh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
sigthreadh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
sioctlh.inc + Solved some more naming conflicts 2003-06-26 10:13:53 +00:00
sipch.inc + Initial implementation 2003-06-26 08:31:12 +00:00
skdaemonh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
sklogh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
smmaph.inc + Initial implementation 2003-06-26 08:31:12 +00:00
smounth.inc + Initial implementation 2003-06-26 08:31:12 +00:00
smsgh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
spawnh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
spermh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
spollh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
sptraceh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
squota.inc + Initial implementation 2003-06-26 08:31:12 +00:00
squotah.inc + Initial implementation 2003-06-26 08:31:12 +00:00
sraw.inc + Initial implementation 2003-06-26 08:31:12 +00:00
srawh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
srebooth.inc + Initial implementation 2003-06-26 08:31:12 +00:00
sresourceh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
sscsi_ioctlh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
sscsih.inc + Fixed renaming conflict 2003-06-26 13:16:13 +00:00
sselect.inc + Initial implementation 2003-06-26 08:31:12 +00:00
sselecth.inc + Initial implementation 2003-06-26 08:31:12 +00:00
ssemh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
ssendfileh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
ssgh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
sshmh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
ssocketh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
sstat.inc + Fixed S_ISXX parameter typ to __mode_t as suggested by Michalis Kamburelis 2004-05-02 14:55:00 +00:00
sstatfsh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
sstath.inc + Fixed S_ISXX parameter typ to __mode_t as suggested by Michalis Kamburelis 2004-05-02 14:55:00 +00:00
sstatvfsh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
sswaph.inc + Initial implementation 2003-06-26 08:31:12 +00:00
ssysctlh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
ssysinfoh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
ssyslog.inc + Initial implementation 2003-06-26 08:31:12 +00:00
ssyslogh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
stdinth.inc + Initial implementation 2003-06-26 08:31:12 +00:00
stdio_exth.inc + Initial implementation 2003-06-26 08:31:12 +00:00
stdio_limh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
stdioh.inc + Solved some more naming conflicts 2003-06-26 10:13:53 +00:00
stdlib.inc + Initial implementation 2003-06-26 08:31:12 +00:00
stdlibh.inc + Dynamic library implementation by Joost van der Sluis 2005-01-24 10:58:26 +00:00
stime.inc + Initial implementation 2003-06-26 08:31:12 +00:00
stimebh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
stimeh.inc + Fixed __timezone_ptr_t. Thanks to Martin Schreiber for reporting it 2004-05-02 14:12:32 +00:00
stringh.inc + Solved some more naming conflicts 2003-06-26 10:13:53 +00:00
stroptsh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
sttydefaults.inc + Initial implementation 2003-06-26 08:31:12 +00:00
sttydefaultsh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
sucontexth.inc + Initial implementation 2003-06-26 08:31:12 +00:00
suioh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
sun.inc + Initial implementation 2003-06-26 08:31:12 +00:00
sunh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
suserh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
sustath.inc + Initial implementation 2003-06-26 08:31:12 +00:00
sutsnameh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
svlimith.inc + Initial implementation 2003-06-26 08:31:12 +00:00
svtimesh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
swaith.inc + Initial implementation 2003-06-26 08:31:12 +00:00
sysexitsh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
syslogh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
systypeshh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
termios.inc + Initial implementation 2003-06-26 08:31:12 +00:00
termiosh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
time.inc + Initial implementation 2003-06-26 08:31:12 +00:00
timeh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
timesh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
timexh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
ttyenth.inc + Initial implementation 2003-06-26 08:31:12 +00:00
typesh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
ucontexth.inc + Initial implementation 2003-06-26 08:31:12 +00:00
ulimith.inc + Initial implementation 2003-06-26 08:31:12 +00:00
unistdh.inc + Fixed execve 2003-08-15 18:55:46 +00:00
utimeh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
utmph.inc + Initial implementation 2003-06-26 08:31:12 +00:00
utmpxh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
wcharh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
wctypeh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
wordexph.inc + Initial implementation 2003-06-26 08:31:12 +00:00
wordsizeh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
xlocaleh.inc + Initial implementation 2003-06-26 08:31:12 +00:00
xopen_limh.inc + Initial implementation 2003-06-26 08:31:12 +00:00

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.