class method
Etc.endgrent
() -> void
endgrent
ext/etc/etc.c
View on GitHub ↗
static VALUE
etc_endgrent(VALUE obj)
{
#ifdef HAVE_GETGRENT
endgrent();
#endif
return Qnil;
}
Ends the process of scanning through the /etc/group file begun by ::getgrent, and closes the file.