joost 6f225effa9 * Makefiles for 2.1.4 18 年之前
..
Makefile 6f225effa9 * Makefiles for 2.1.4 18 年之前
Makefile.fpc 6f225effa9 * Makefiles for 2.1.4 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.