start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: getgrgid Chapter 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: getgrgid Perl in a Nutshell Next: Reference: gethostbyaddr
Reference: getgrgid Book Index Reference: gethostbyaddr

Library Navigation Links

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