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

NAME

gethostbyaddr, gethostbyname, gethostent - network host database functions

SYNOPSIS



#include <netdb.h>

struct hostent *gethostbyaddr(const void *addr, size_t len, int type);

struct hostent *gethostbyname(const char *name);

struct hostent *gethostent(void);

DESCRIPTION

Refer to endhostent().

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