[fpc-pascal] libc unit and FreeBSD
Marco van de Voort
marcov at stack.nl
Mon Jan 14 09:45:21 CET 2008
> Anybody know if there is a generic set of methods that supports all
> (or most) unix style OS's? I looked in 'baseunix', but there the
> group and name methods relate to a process id's, not to file
> attributes...
Baseunix and Unix should be implementable without libc for maximal
portability. But, as Daniel says, these functions are not so nice to
implement without libc because of directory plugins.
Ales and I discussed about this a way back, (then because of netdb, DNS
resolving having a bit of the same problem), and the conclusion was to have
a few "C" units (cpwd cnetdb) and advocate them for normal use, and if sb
develops libcless equivalents (as we already have for netdb), put them in
corresponding unit (pwd,netdb), for installer/bootstrap use. Specially with
a download-package tool this is getting more important.
Since messing with netdb always eats up a lot of time, it got on the back
burner.
Anybody a better name then (c)pwd ?
More information about the fpc-pascal
mailing list