endgrent function

void endgrent()

Close the group-file stream.

This function is a possible cancellation point and therefore not marked with __THROW.

Implementation

void endgrent() {
  clearErrno();
  _endgrent ??= Libc()
      .dylib
      .lookupFunction<ffi.Void Function(), _dart_endgrent>('endgrent');
  _endgrent!();
}