gettok
c = gettok(&buf, &bufsize);
c = gettok(&buf, &bufsize);
for (tokst.tokst_cnt = 0; gettok(&gettok_state) != 0;
if (gettok() != TYPENAME)
if (gettok() != IDENTIFIER)
t = gettok();
t = gettok();
if ((t = gettok()) != IDENTIFIER) {
t = gettok();
if ((t = gettok()) != TYPENAME)
t = gettok();
t = gettok();
t = gettok();
t = gettok();
t = gettok();
t = gettok();
if ((t = gettok()) == NUMBER) {
t = gettok();
t = gettok();
while ((t = gettok()) == LCURLY)
t = gettok();
t = gettok();
if (gettok() != IDENTIFIER)
t = gettok();
if ((t = gettok()) == IDENTIFIER) {
t = gettok();
static int gettok(void);
group->gr_name = p = gettok(&next, ':');
group->gr_passwd = p = gettok(&next, ':');
p = gettok(&next, ',');
passwd->pw_name = p = gettok(&next); /* username */
passwd->pw_passwd = p = gettok(&next); /* password */
(void) gettok(&next);
(void) gettok(&next);
passwd->pw_gecos = passwd->pw_comment = p = gettok(&next);
passwd->pw_dir = p = gettok(&next);
passwd->pw_shell = p = gettok(&next);
p = gettok(&next, ':');
p = gettok(&next, ':');
p = gettok(&next, ':');
if ((users = gettok(&next, ':')) == NULL) {
if ((groups = gettok(&next, ':')) == NULL) {
p = gettok(&users, ',');
p = gettok(&groups, ',');
p = gettok(&cp);
p = gettok(&cp);
p = gettok(&cp);
p = gettok(&cp);
zone_state = gettok(&cp);
zone_path = gettok(&cp);
zone_uuid = gettok(&cp);
passwd->pw_name = p = gettok(&next); /* username */
passwd->pw_passwd = p = gettok(&next); /* password */
p = gettok(&next);
p = gettok(&next);
passwd->pw_gecos = passwd->pw_comment = p = gettok(&next);
passwd->pw_dir = p = gettok(&next);
passwd->pw_shell = p = gettok(&next);