#include <ctype.h>#include <stdio.h>#include <stdlib.h>Include dependency graph for getprotoent.c:

Go to the source code of this file.
Defines | |
| #define | MAXALIASES 35 |
Functions | |
| void | setprotoent (int f) |
| void | endprotoent () |
| protoent * | getprotoent () |
| static char * | any (char *cp, char *match) |
Variables | |
| static FILE * | protof = NULL |
| static char | line [BUFSIZ+1] |
| static struct protoent | proto |
| static char * | proto_aliases [MAXALIASES] |
| int | _proto_stayopen |
|
|
Definition at line 34 of file getprotoent.c. |
|
||||||||||||
|
Definition at line 111 of file getprotoent.c. |
|
|
Definition at line 54 of file getprotoent.c. References fclose(), NULL, and protof. Referenced by getprotobyname(), and getprotobynumber(). |
|
|
Definition at line 64 of file getprotoent.c. References _PATH_PROTOCOLS, any(), atoi, BUFSIZ, cp, fgets(), fopen(), MAXALIASES, NULL, p, proto, and protof. Referenced by getprotobyname(), and getprotobynumber(). |
|
|
Definition at line 43 of file getprotoent.c. References _PATH_PROTOCOLS, fopen(), NULL, protof, and rewind(). Referenced by getprotobyname(), and getprotobynumber(). |
|
|
Definition at line 40 of file getprotoent.c. |
|
|
Definition at line 37 of file getprotoent.c. |
|
|
Definition at line 38 of file getprotoent.c. |
|
|
Definition at line 39 of file getprotoent.c. |
|
|
Definition at line 36 of file getprotoent.c. Referenced by endprotoent(), getprotoent(), and setprotoent(). |
1.4.6