Home | History | Annotate | Download | only in getty

Lines Matching refs:NP

70 	struct gettynums *np;
82 for (np = gettynums; np->field; np++) {
83 if (cgetnum(buf, np->field, &n) == -1)
84 np->set = 0;
86 np->set = 1;
87 np->value = n;
102 for (np = gettynums; np->field; np++)
103 printf("cgetnum: %s=%d\n", np->field, np->value);
115 struct gettynums *np;
121 for (np = gettynums; np->field; np++)
122 if (np->set)
123 np->defalt = np->value;
135 struct gettynums *np;
141 for (np = gettynums; np->field; np++)
142 if (!np->set)
143 np->value = np->defalt;
248 if (NP) {