struct hostent *gethostbyname(const
char *name)
name is the NetBIOS name of the machine to seek in ASCIIZ.
On error, or if the host doesn't exist, 0 is returned. The error() function
can be used.
Otherwise, the hostent structure is managed by the library, so you
should not try to delete it.
man smb.conf
Copyright © Nicolas Brodu, 1999 - 2000