Lines Matching defs:linep
71 char *linep, *limit, *gidp, *newline;
76 linep = *linepp;
77 limit = linep + linelen;
80 if (linelen == 0 || *linep == '+' || *linep == '-')
83 while (linep < limit && *linep++ != ':') /* skip groupname */
85 while (linep < limit && *linep++ != ':') /* skip password */
87 if (linep == limit)
90 gidp = linep;
91 gid = strtoul(gidp, (char **)&linep, 10); /* grab gid */
92 oldgidlen = linep - gidp;
93 if (linep >= limit || oldgidlen == 0)
108 *linepp, GID_NOBODY, linep);
116 (void) bcopy(linep, gidp + idlen, limit - linep + 1);