getprotobynumber (3) Linux Manual Page
getprotoent, getprotobyname, getprotobynumber, setprotoent, endprotoent – get protocol entry Synopsis#include <netdb.h> struct protoent *getprotoent(void); struct protoent *getprotobyname(const char *name); struct protoent *getprotobynumber(int proto); void setprotoent(int stayopen); void endprotoent(void);DescriptionThe getprotoent() function reads the next entry from the protocols database (see protocols(5)) and returns a protoent structure containing the broken-out fields from the entry. A connection is…
