getpwent bug?

Ashish SHUKLA ashish at
Fri Jul 16 10:46:17 UTC 2010

Jens Rehsack writes:


> You're absolutely right - I never took a deeper look, because I always
> was only interested to read the (user|group) data and expected setpwent
> to modify such an entry.


> A quick look into Stevens "Advanced Programming in the UNIX environment"
> could had enlighten myself. Sorry that I didn't RTFM carefully.

No problems.

Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0!ashish |

“Software and cathedrals are much the same - first we build them, then
we pray.” (anonymous)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list