class method
Etc.setgrent
() -> void
setgrent
ext/etc/etc.c
View on GitHub ↗
static VALUE
etc_setgrent(VALUE obj)
{
#ifdef HAVE_GETGRENT
setgrent();
#endif
return Qnil;
}
Resets the process of reading the /etc/group file, so that the next call to ::getgrent will return the first entry again.