LibC status and others...

Dave Leimbach leimySPAM2k at mac.com
Wed Dec 10 16:49:50 PST 2003


ibotty <bsd at xxxxxxxxxx> writes:

> > Ok so where the hell is _pw_passwd declared?  I know C fairly well but
> > I don't know yacc and I detect yaccisms all over the bloody place.
> 
> well, i dont ;)
> > vim getpwent.c
> :set nu
> [...]
>      61 static struct passwd _pw_passwd;        /* password structure */
> [...]

Ah... static to the file... not static to the function.  That was unexpected.

Had I found that it might have only taken me 1hr :).  

> 
> this one?
> 
> (i am tired, so this is not meant rude...)

Understood thanks for your help... this is only a means to an end [as all
library code is :)]

Dave





More information about the Kernel mailing list