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

NAME

getservbyport, getservbyname, getservent - network services database functions

SYNOPSIS



#include <netdb.h>

struct servent *getservbyname(const char *name, const char *proto);

struct servent *getservbyport(int port, const char *proto);

struct servent *getservent(void);

DESCRIPTION

Refer to endservent().

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