projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Bell 32V development
[unix-history]
/
usr
/
src
/
libc
/
stdio
/
getgrnam.c
#include <grp.h>
struct
group
*
getgrnam
(
name
)
register
char
*
name
;
{
register
struct
group
*
p
;
struct
group
*
getgrent
();
setgrent
();
while
( (
p
=
getgrent
()) &&
strcmp
(
p
->
gr_name
,
name
) );
endgrent
();
return
(
p
);
}