[BusyBox] [Patch] __getgrent already used in some libraries

Russ Dill Russ.Dill at asu.edu
Mon Dec 15 21:42:41 UTC 2003


On Mon, 2003-12-15 at 11:26, Manuel Novoa III wrote:
> On Mon, Dec 15, 2003 at 11:14:00AM -0700, Russ Dill wrote:
> > On Mon, 2003-12-15 at 10:49, Manuel Novoa III wrote:
> > > Strictly speaking, any indentifier starting with a double underscore
> > > is reserved for use by the C library.  Busybox shouldn't define any
> > > such symbol names.
> > 
> > how about _fd_getgrent then?
> 
> No.  Quoting from the ANSI/ISO C99 standard:
> 
>   All identifiers that begin with an underscore and either an uppercase
>   letter or another underscore are always reserved for any use.
>   
>   All identifiers that begin with an underscore are always reserved
>   for use as identifiers with file scope in both the ordinary and tag
>   name spaces.
> 
> So application-defined identifiers should never start with an
> underscore.

what would you then suggest?

-- 
Russ Dill <Russ.Dill at asu.edu>




More information about the busybox mailing list