Global variables in system programs
Alfred Perlstein
bright at mu.org
Thu Oct 17 14:07:03 UTC 2013
On 10/17/13 6:38 AM, Sebastian Huber wrote:
> Hello,
>
> there is another problem: getopt(). This function uses global
> variables on its own. Newlib provides a getopt_r() variant, but this
> seems to be not available on FreeBSD.
>
Can it be ported to FreeBSD? Maybe under another name and put into
libutil to avoid standards issues?
--
Alfred Perlstein
More information about the freebsd-hackers
mailing list