Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Etc.endpwent
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.