|
|
1.1 ! root 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: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.