Date: Mon, 19 Jul 2010 14:21:03 -0400 From: Brad Mettee <bmettee@pchotshots.com> To: Robert Bonomi <bonomi@mail.r-bonomi.com>, FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: Has anybody got a *working* example of getpwnam_r() ?? Message-ID: <4C44978F.5000102@pchotshots.com> In-Reply-To: <201007191712.o6JHCkqX028162@mail.r-bonomi.com> References: <201007191712.o6JHCkqX028162@mail.r-bonomi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Robert Bonomi wrote: <snippage> >> 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). http://www.google.com/codesearch/p?hl=en#hv2-lQo77SI/nss_ldap-249/tests/testpw.c&q=lang:%22c%22%20getpwnam_r%20freebsd&sa=N&cd=7&ct=rc http://www.google.com/codesearch/p?hl=en#-wKRNbYkeKI/pub/FreeBSD/distfiles/cadaver-0.22.5.tar.gz|DXHv6JvXDfo/cadaver-0.22.5/lib/glob.c&q=lang:%22c%22%20getpwnam_r http://www.google.com/codesearch/p?hl=en#bQvTeDN3Ef0/dspam-3.6.5/src/pgsql_drv.c&q=lang:%22c%22%20getpwnam_r%20freebsd&sa=N&cd=14&ct=rc Hope the links aren't too badly mangled by mail.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C44978F.5000102>