Annotation of 3BSD/libc/stdio/getgrnam.c, revision 1.1

1.1     ! root        1: #include <grp.h>
        !             2: 
        !             3: struct group *
        !             4: getgrnam(name)
        !             5: register char *name;
        !             6: {
        !             7:        register struct group *p;
        !             8:        struct group *getgrent();
        !             9: 
        !            10:        setgrent();
        !            11:        while( (p = getgrent()) && strcmp(p->gr_name,name) );
        !            12:        endgrent();
        !            13:        return(p);
        !            14: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.