Has anybody got a *working* example of getpwnam_r() ??

Brad Mettee bmettee at pchotshots.com
Mon Jul 19 18:21:04 UTC 2010

Robert Bonomi wrote:
>> And if this doesn't help, there's always Google CodeSearch 
>> http://www.google.com/codesearch , for examples of how to call it.
> ALL I find at www.google.com/codesearch, when I ask for 'getpwnam_r' is source-
> code for the getpwnam_r function.  Needless to say, that's =no= help.  except
> for confirming that the parameters match what I'm doing.  *sigh*
> Thanks for the thoughts, though.
Here are a few links to FreeBSD code using the function:
Search criteria for codesearch was: 'lang:"c" freebsd getpwnam_r' (it 
did take me a few minutes to sift through the samples vs the declarations).




Hope the links aren't too badly mangled by mail.

More information about the freebsd-questions mailing list