Lines Matching defs:sp
39 putservent(const struct servent *sp, FILE *fp)
44 if (sp == NULL) {
49 sp->s_name, ntohs(sp->s_port), sp->s_proto) == EOF)
51 for (p = sp->s_aliases; *p != 0; p++) {
71 struct servent *sp;
75 while ((sp = getservent()) != NULL)
76 (void) putservent(sp, stdout);
94 sp = getservbyport(port, protocol);
96 sp = getservbyname(key, protocol);
97 if (sp == NULL)
100 (void) putservent(sp, stdout);