Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: getgrgidChapter 5
Function Reference
Next: Reference: gethostbyaddr
 

getgrnam

getgrnam name

Retrieves a group file entry by the group name name. The return value in list context is:

($name, $passwd, $gid, $members)
where $members contains a space-separated list of the login names of the members of the group. In scalar context, getgrnam returns only the numeric group ID.


Previous: Reference: getgrgidPerl in a NutshellNext: Reference: gethostbyaddr
Reference: getgrgidBook IndexReference: gethostbyaddr

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.