peter 86f78c7300 * units are now created in separate directory units/cpu-os/ 21 anos atrás
..
Makefile 86f78c7300 * units are now created in separate directory units/cpu-os/ 21 anos atrás
Makefile.fpc 1682586b08 + Version on 1.9.4 21 anos atrás
README 5ac94f8092 + Fixed errno_location problem 22 anos atrás
aineth.inc 3bf060e15c + Moved ineth.inc to aineth.inc as originally intended. Thanks to Sebastian Volland 22 anos atrás
aioh.inc 4bc085713f + Initial implementation 22 anos atrás
aliasesh.inc 4bc085713f + Initial implementation 22 anos atrás
allocah.inc 4bc085713f + Initial implementation 22 anos atrás
argph.inc 4bc085713f + Initial implementation 22 anos atrás
argzh.inc 4bc085713f + Initial implementation 22 anos atrás
asocketh.inc 4bc085713f + Initial implementation 22 anos atrás
asockiosh.inc 4bc085713f + Initial implementation 22 anos atrás
bconfnameh.inc 4bc085713f + Initial implementation 22 anos atrás
bdirenth.inc 4bc085713f + Initial implementation 22 anos atrás
bdlfcnh.inc 4bc085713f + Initial implementation 22 anos atrás
bfcntlh.inc 5c2ad1c4ec + Fixed octal constants. Thanks to Martin Schreiber for reporting it 22 anos atrás
bfenvh.inc 4bc085713f + Initial implementation 22 anos atrás
binh.inc 4bc085713f + Initial implementation 22 anos atrás
bipch.inc 4bc085713f + Initial implementation 22 anos atrás
bmmanh.inc 4bc085713f + Initial implementation 22 anos atrás
bmsqh.inc 4bc085713f + Initial implementation 22 anos atrás
bnetdbh.inc 4bc085713f + Initial implementation 22 anos atrás
bpollh.inc 4bc085713f + Initial implementation 22 anos atrás
bresourceh.inc 4bc085713f + Initial implementation 22 anos atrás
bschedh.inc 4bc085713f + Initial implementation 22 anos atrás
bselecth.inc 4bc085713f + Initial implementation 22 anos atrás
bsemh.inc 4bc085713f + Initial implementation 22 anos atrás
bshmh.inc 4bc085713f + Initial implementation 22 anos atrás
bsockaddrh.inc 4bc085713f + Initial implementation 22 anos atrás
bsocket.inc 4bc085713f + Initial implementation 22 anos atrás
bsocketh.inc 4bc085713f + Initial implementation 22 anos atrás
bstatfsh.inc 4bc085713f + Initial implementation 22 anos atrás
bstath.inc 6fc1eee56c + Fixed stat record as reported by Michalis Kamburelis 22 anos atrás
bstatvfsh.inc 4bc085713f + Initial implementation 22 anos atrás
bstroptsh.inc 4bc085713f + Initial implementation 22 anos atrás
btermiosh.inc 4bc085713f + Initial implementation 22 anos atrás
btimeh.inc 4bc085713f + Initial implementation 22 anos atrás
buioh.inc 4bc085713f + Initial implementation 22 anos atrás
bustath.inc 4bc085713f + Initial implementation 22 anos atrás
butmph.inc 4bc085713f + Initial implementation 22 anos atrás
butmpxh.inc 4bc085713f + Initial implementation 22 anos atrás
butsnameh.inc 4bc085713f + Initial implementation 22 anos atrás
bwaitflags.inc 4bc085713f + Initial implementation 22 anos atrás
bwaitflagsh.inc 4bc085713f + Initial implementation 22 anos atrás
bwaitstatus.inc 4bc085713f + Initial implementation 22 anos atrás
bwaitstatush.inc 4bc085713f + Initial implementation 22 anos atrás
crypth.inc 4bc085713f + Initial implementation 22 anos atrás
ctypeh.inc 0e4c0cfd0b + Added isblank function. reported by Mario R. Carro 22 anos atrás
dirent.inc 4bc085713f + Initial implementation 22 anos atrás
direnth.inc 4bc085713f + Initial implementation 22 anos atrás
dlfcnh.inc 4bc085713f + Initial implementation 22 anos atrás
endianh.inc 4bc085713f + Initial implementation 22 anos atrás
envzh.inc 4bc085713f + Initial implementation 22 anos atrás
errh.inc 4bc085713f + Initial implementation 22 anos atrás
errno.inc 547efccdb6 + Need to ifdef LIBC_OLDERRNO in implementation 22 anos atrás
errnoh.inc 5ac94f8092 + Fixed errno_location problem 22 anos atrás
errorh.inc 4bc085713f + Initial implementation 22 anos atrás
fcntlh.inc 4bc085713f + Initial implementation 22 anos atrás
fenvh.inc 4bc085713f + Initial implementation 22 anos atrás
fileh.inc 4bc085713f + Initial implementation 22 anos atrás
fmtmsgh.inc 4bc085713f + Initial implementation 22 anos atrás
fnmatchh.inc 4bc085713f + Initial implementation 22 anos atrás
fstabh.inc 4bc085713f + Initial implementation 22 anos atrás
gconfigh.inc 4bc085713f + Initial implementation 22 anos atrás
gconvh.inc 4bc085713f + Initial implementation 22 anos atrás
getopth.inc 4bc085713f + Initial implementation 22 anos atrás
glibc_versionh.inc 4bc085713f + Initial implementation 22 anos atrás
globh.inc 4bc085713f + Initial implementation 22 anos atrás
glue.inc 4bc085713f + Initial implementation 22 anos atrás
grph.inc 4bc085713f + Initial implementation 22 anos atrás
h2p 4bc085713f + Initial implementation 22 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 4bc085713f + Initial implementation 22 anos atrás
inttypesh.inc 4bc085713f + Initial implementation 22 anos atrás
ioctl_typesh.inc 4bc085713f + Initial implementation 22 anos atrás
ioctlsh.inc 4bc085713f + Initial implementation 22 anos atrás
kerneldefs.pp 4bc085713f + Initial implementation 22 anos atrás
kernelioctl.pp 4bc085713f + Initial implementation 22 anos atrás
kioctlsh.inc 4bc085713f + Initial implementation 22 anos atrás
langinfoh.inc 4bc085713f + Initial implementation 22 anos atrás
lib_namesh.inc 4bc085713f + Initial implementation 22 anos atrás
libc.pp 52eb05e365 + Fixed inclusion of ctypeh.inc, reported by Mario R. Carro 22 anos atrás
libgenh.inc 4bc085713f + Initial implementation 22 anos atrás
libintlh.inc 4bc085713f + Initial implementation 22 anos atrás
libio.inc 4bc085713f + Initial implementation 22 anos atrás
libioh.inc 4bc085713f + Initial implementation 22 anos atrás
limitsh.inc 4bc085713f + Initial implementation 22 anos atrás
local_limh.inc 4bc085713f + Initial implementation 22 anos atrás
localeh.inc 4bc085713f + Initial implementation 22 anos atrás
malloch.inc 4bc085713f + Initial implementation 22 anos atrás
mcheckh.inc 4bc085713f + Initial implementation 22 anos atrás
mntenth.inc 4bc085713f + Initial implementation 22 anos atrás
monetaryh.inc 4bc085713f + Initial implementation 22 anos atrás
nashh.inc 4bc085713f + Initial implementation 22 anos atrás
nath.inc 4bc085713f + Initial implementation 22 anos atrás
nax25h.inc 4bc085713f + Initial implementation 22 anos atrás
nech.inc 4bc085713f + Initial implementation 22 anos atrás
netdbh.inc 4bc085713f + Initial implementation 22 anos atrás
netherh.inc 4bc085713f + Initial implementation 22 anos atrás
nethernet.inc 4bc085713f + Initial implementation 22 anos atrás
netherneth.inc 4bc085713f + Initial implementation 22 anos atrás
nicmp6.inc 4bc085713f + Initial implementation 22 anos atrás
nicmp6h.inc 4bc085713f + Initial implementation 22 anos atrás
nif_arph.inc 4bc085713f + Initial implementation 22 anos atrás
nif_ether.inc 4bc085713f + Initial implementation 22 anos atrás
nif_etherh.inc 4bc085713f + Initial implementation 22 anos atrás
nif_fddih.inc 4bc085713f + Initial implementation 22 anos atrás
nif_packeth.inc 4bc085713f + Initial implementation 22 anos atrás
nif_ppp.inc 4bc085713f + Initial implementation 22 anos atrás
nif_ppph.inc 4bc085713f + Initial implementation 22 anos atrás
nif_shaperh.inc 4bc085713f + Initial implementation 22 anos atrás
nif_trh.inc 4bc085713f + Initial implementation 22 anos atrás
nifh.inc 4bc085713f + Initial implementation 22 anos atrás
nigmph.inc 4bc085713f + Initial implementation 22 anos atrás
nin.inc 4bc085713f + Initial implementation 22 anos atrás
nin_systmh.inc 4bc085713f + Initial implementation 22 anos atrás
ninh.inc 4bc085713f + Initial implementation 22 anos atrás
nip.inc 4bc085713f + Initial implementation 22 anos atrás
nip6h.inc 4bc085713f + Initial implementation 22 anos atrás
nip_icmp.inc 4bc085713f + Initial implementation 22 anos atrás
nip_icmph.inc 4bc085713f + Initial implementation 22 anos atrás
niph.inc 4bc085713f + Initial implementation 22 anos atrás
nipxh.inc 4bc085713f + Initial implementation 22 anos atrás
nl_typesh.inc 4bc085713f + Initial implementation 22 anos atrás
nnetromh.inc 4bc085713f + Initial implementation 22 anos atrás
npacketh.inc 4bc085713f + Initial implementation 22 anos atrás
nroseh.inc 4bc085713f + Initial implementation 22 anos atrás
nroute.inc 4bc085713f + Initial implementation 22 anos atrás
nrouteh.inc 4bc085713f + Initial implementation 22 anos atrás
nssh.inc 4bc085713f + Initial implementation 22 anos atrás
ntcph.inc 4bc085713f + Initial implementation 22 anos atrás
nudph.inc 4bc085713f + Initial implementation 22 anos atrás
nupdh.inc 4bc085713f + Initial implementation 22 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 4bc085713f + Initial implementation 22 anos atrás
posixopth.inc 4bc085713f + Initial implementation 22 anos atrás
printfh.inc 4bc085713f + Initial implementation 22 anos atrás
proutedh.inc 4bc085713f + Initial implementation 22 anos atrás
prwhodh.inc 4bc085713f + Initial implementation 22 anos atrás
ptalkdh.inc 2711f7d464 + DELETE naming conflct 22 anos atrás
pthreadh.inc 4bc085713f + Initial implementation 22 anos atrás
pthreadtypesh.inc 4bc085713f + Initial implementation 22 anos atrás
ptimedh.inc 4bc085713f + Initial implementation 22 anos atrás
ptyh.inc 4bc085713f + Initial implementation 22 anos atrás
pwdh.inc 21aff687ac + Fixed getpwuid_r as reported by Michalis Kamburelis 22 anos atrás
regexh.inc 4bc085713f + Initial implementation 22 anos atrás
regexph.inc 4bc085713f + Initial implementation 22 anos atrás
saccth.inc 4bc085713f + Initial implementation 22 anos atrás
schedh.inc 4bc085713f + Initial implementation 22 anos atrás
searchh.inc 4bc085713f + Initial implementation 22 anos atrás
semaphoreh.inc 4bc085713f + Initial implementation 22 anos atrás
sfsuidh.inc 4bc085713f + Initial implementation 22 anos atrás
sgttyh.inc 4bc085713f + Initial implementation 22 anos atrás
shadowh.inc 4bc085713f + Initial implementation 22 anos atrás
sigactionh.inc 4bc085713f + Initial implementation 22 anos atrás
sigcontexth.inc 4bc085713f + Initial implementation 22 anos atrás
siginfoh.inc 4bc085713f + Initial implementation 22 anos atrás
signalh.inc 4bc085713f + Initial implementation 22 anos atrás
signumh.inc 4bc085713f + Initial implementation 22 anos atrás
sigseth.inc 4bc085713f + Initial implementation 22 anos atrás
sigstackh.inc 4bc085713f + Initial implementation 22 anos atrás
sigthreadh.inc 4bc085713f + Initial implementation 22 anos atrás
sioctlh.inc 519a94be0a + Solved some more naming conflicts 22 anos atrás
sipch.inc 4bc085713f + Initial implementation 22 anos atrás
skdaemonh.inc 4bc085713f + Initial implementation 22 anos atrás
sklogh.inc 4bc085713f + Initial implementation 22 anos atrás
smmaph.inc 4bc085713f + Initial implementation 22 anos atrás
smounth.inc 4bc085713f + Initial implementation 22 anos atrás
smsgh.inc 4bc085713f + Initial implementation 22 anos atrás
spawnh.inc 4bc085713f + Initial implementation 22 anos atrás
spermh.inc 4bc085713f + Initial implementation 22 anos atrás
spollh.inc 4bc085713f + Initial implementation 22 anos atrás
sptraceh.inc 4bc085713f + Initial implementation 22 anos atrás
squota.inc 4bc085713f + Initial implementation 22 anos atrás
squotah.inc 4bc085713f + Initial implementation 22 anos atrás
sraw.inc 4bc085713f + Initial implementation 22 anos atrás
srawh.inc 4bc085713f + Initial implementation 22 anos atrás
srebooth.inc 4bc085713f + Initial implementation 22 anos atrás
sresourceh.inc 4bc085713f + Initial implementation 22 anos atrás
sscsi_ioctlh.inc 4bc085713f + Initial implementation 22 anos atrás
sscsih.inc 1c9707a8a7 + Fixed renaming conflict 22 anos atrás
sselect.inc 4bc085713f + Initial implementation 22 anos atrás
sselecth.inc 4bc085713f + Initial implementation 22 anos atrás
ssemh.inc 4bc085713f + Initial implementation 22 anos atrás
ssendfileh.inc 4bc085713f + Initial implementation 22 anos atrás
ssgh.inc 4bc085713f + Initial implementation 22 anos atrás
sshmh.inc 4bc085713f + Initial implementation 22 anos atrás
ssocketh.inc 4bc085713f + Initial implementation 22 anos atrás
sstat.inc eb4df64ffc + Fixed S_ISXX parameter typ to __mode_t as suggested by Michalis Kamburelis 22 anos atrás
sstatfsh.inc 4bc085713f + Initial implementation 22 anos atrás
sstath.inc eb4df64ffc + Fixed S_ISXX parameter typ to __mode_t as suggested by Michalis Kamburelis 22 anos atrás
sstatvfsh.inc 4bc085713f + Initial implementation 22 anos atrás
sswaph.inc 4bc085713f + Initial implementation 22 anos atrás
ssysctlh.inc 4bc085713f + Initial implementation 22 anos atrás
ssysinfoh.inc 4bc085713f + Initial implementation 22 anos atrás
ssyslog.inc 4bc085713f + Initial implementation 22 anos atrás
ssyslogh.inc 4bc085713f + Initial implementation 22 anos atrás
stdinth.inc 4bc085713f + Initial implementation 22 anos atrás
stdio_exth.inc 4bc085713f + Initial implementation 22 anos atrás
stdio_limh.inc 4bc085713f + Initial implementation 22 anos atrás
stdioh.inc 519a94be0a + Solved some more naming conflicts 22 anos atrás
stdlib.inc 4bc085713f + Initial implementation 22 anos atrás
stdlibh.inc c593f7572b + Fixed random name conflict 22 anos atrás
stime.inc 4bc085713f + Initial implementation 22 anos atrás
stimebh.inc 4bc085713f + Initial implementation 22 anos atrás
stimeh.inc fe23e95957 + Fixed __timezone_ptr_t. Thanks to Martin Schreiber for reporting it 22 anos atrás
stringh.inc 519a94be0a + Solved some more naming conflicts 22 anos atrás
stroptsh.inc 4bc085713f + Initial implementation 22 anos atrás
sttydefaults.inc 4bc085713f + Initial implementation 22 anos atrás
sttydefaultsh.inc 4bc085713f + Initial implementation 22 anos atrás
sucontexth.inc 4bc085713f + Initial implementation 22 anos atrás
suioh.inc 4bc085713f + Initial implementation 22 anos atrás
sun.inc 4bc085713f + Initial implementation 22 anos atrás
sunh.inc 4bc085713f + Initial implementation 22 anos atrás
suserh.inc 4bc085713f + Initial implementation 22 anos atrás
sustath.inc 4bc085713f + Initial implementation 22 anos atrás
sutsnameh.inc 4bc085713f + Initial implementation 22 anos atrás
svlimith.inc 4bc085713f + Initial implementation 22 anos atrás
svtimesh.inc 4bc085713f + Initial implementation 22 anos atrás
swaith.inc 4bc085713f + Initial implementation 22 anos atrás
sysexitsh.inc 4bc085713f + Initial implementation 22 anos atrás
syslogh.inc 4bc085713f + Initial implementation 22 anos atrás
systypeshh.inc 4bc085713f + Initial implementation 22 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 4bc085713f + Initial implementation 22 anos atrás
timesh.inc 4bc085713f + Initial implementation 22 anos atrás
timexh.inc 4bc085713f + Initial implementation 22 anos atrás
ttyenth.inc 4bc085713f + Initial implementation 22 anos atrás
typesh.inc 4bc085713f + Initial implementation 22 anos atrás
ucontexth.inc 4bc085713f + Initial implementation 22 anos atrás
ulimith.inc 4bc085713f + Initial implementation 22 anos atrás
unistdh.inc 9c4bd8e7a1 + Fixed execve 22 anos atrás
utimeh.inc 4bc085713f + Initial implementation 22 anos atrás
utmph.inc 4bc085713f + Initial implementation 22 anos atrás
utmpxh.inc 4bc085713f + Initial implementation 22 anos atrás
wcharh.inc 4bc085713f + Initial implementation 22 anos atrás
wctypeh.inc 4bc085713f + Initial implementation 22 anos atrás
wordexph.inc 4bc085713f + Initial implementation 22 anos atrás
wordsizeh.inc 4bc085713f + Initial implementation 22 anos atrás
xlocaleh.inc 4bc085713f + Initial implementation 22 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.