функции базы данных сетевого протокола (network protocol database functions)
Пролог (Prolog)
This manual page is part of the POSIX Programmer's Manual. The
Linux implementation of this interface may differ (consult the
corresponding Linux manual page for details of Linux behavior),
or the interface may not be implemented on Linux.
Имя (Name)
getprotobyname, getprotobynumber, getprotent — network protocol
database functions
Синопсис (Synopsis)
#include <netdb.h>
struct protoent *getprotobyname(const char *name);
struct protoent *getprotobynumber(int proto);
struct protoent *getprotoent(void);
Описание (Description)
Refer to endprotoent(3p).