setpwent()
Resets the process of reading the /etc/passwd file, so that the next call to ::getpwent will return the first entry again.
static VALUE etc_setpwent(VALUE obj) { #ifdef HAVE_GETPWENT setpwent(); #endif return Qnil; }