Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2013 07:07:05 -0700
From:      Alfred Perlstein <bright@mu.org>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Global variables in system programs
Message-ID:  <525FEF09.6010507@mu.org>
In-Reply-To: <525FE857.4020303@embedded-brains.de>
References:  <525D5A35.4040005@embedded-brains.de> <525FE857.4020303@embedded-brains.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?525FEF09.6010507>