class method
Etc.endpwent
() -> void
endpwent
ext/etc/etc.c
View on GitHub ↗
static VALUE
etc_endpwent(VALUE obj)
{
#ifdef HAVE_GETPWENT
endpwent();
#endif
return Qnil;
}
Ends the process of scanning through the /etc/passwd file begun with ::getpwent, and closes the file.