getGroupName function

Group getGroupName(
  1. String group
)

Search for a Group with a matching group name.

This is an wrapper for the posix getgrnam function.

If a Group can't be found for group then a PosixException is thrown.

Implementation

Group getGroupName(
  String group,
) =>
    getgrnam(group);