Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Dec 2008 00:32:45 +0100
From:      Stefan Farfeleder <stefan@fafoe.narf.at>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        Ed Schouten <ed@80386.nl>, FreeBSD Arch <freebsd-arch@freebsd.org>
Subject:   Re: [Patch] strnlen(3)
Message-ID:  <20081211233244.GA1414@lizard.fafoe.narf.at>
In-Reply-To: <20081211195741.GW2038@deviant.kiev.zoral.com.ua>
References:  <49381DD4.2000506@kasimir.com> <20081211175519.GD1176@hoeg.nl> <20081211190436.GE1176@hoeg.nl> <20081211195741.GW2038@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 11, 2008 at 09:57:41PM +0200, Kostik Belousov wrote:
> On Thu, Dec 11, 2008 at 08:04:36PM +0100, Ed Schouten wrote:
> > Hello all,
> > 
> > I've attached a patch, that adds strnlen(3) to libc. It also moves
> > strndup(3) out of __BSD_VISIBLE. I'll see if it survives `make universe'
> > and commit it soonish. Any comments?
> strndup shall stay under __BSD_VISIBLE, and strnlen declaration shall
> go unto this define too. Not doing this will pollute namespace
> for the POSIX revisions we are (partially) trying to support.

It should propably be inside #if __POSIX_VISIBLE >= 2008xx for a
suitable value of 2008xx for P1003.1 Issue 7.



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