The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group

NAME

getprotobynumber, getprotobyname, getprotoent - 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().

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]