projects
/
unix-history
/ blame_incremental
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(non-incremental) |
history
|
HEAD
Bell 32V development
[unix-history]
/
usr
/
src
/
cmd
/
group.c
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
1
#include <grp.h>
2
#define NULL 0
3
4
struct group *getgrgid(), *grp;
5
6
main()
7
{
8
if((grp=getgrgid(getgid())) == NULL)
9
printf("%d\n", getgid());
10
else
11
printf("%s\n", grp->gr_name);
12
}