[fpc-pascal] usage of {$FPC_USE_LIBC}
Marc Santhoff
M.Santhoff at t-online.de
Tue Jul 18 15:15:26 CEST 2006
Am Dienstag, den 18.07.2006, 09:39 +0200 schrieb Marco van de Voort:
> Note that using libc has some advantages too, I list some in
> http://www.stack.nl/~marcov/unixrtl.pdf which was the original design doc
> for the Unix reform.
I read this and browsed the source back and forth and to be honest I'm
more confused than before. ;)
Let's make it specific:
If I want to add a missing function from libc to the right unit, how
would I?
Do I have to fiddle with what's called "assembler aliasing" in any way
or do I declare as "external libc"?
How do I find the right unit or include file to stick it in?
I'm talking about the function "readdir_r" existing at least on bsd's
and on newer linux.
(btw. the wiki has improved very much in this area, good work)
Regards,
Marc
More information about the fpc-pascal
mailing list