php man page for yp_get_default_domain

Query: yp_get_default_domain

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

YP_GET_DEFAULT_DOMAIN(3)						 1						  YP_GET_DEFAULT_DOMAIN(3)

yp_get_default_domain - Fetches the machine's default NIS domain

SYNOPSIS
string yp_get_default_domain (void )
DESCRIPTION
Returns the default domain of the node. Can be used as the domain parameter for successive NIS calls. A NIS domain can be described a group of NIS maps. Every host that needs to look up information binds itself to a certain domain. Refer to the documents mentioned at the beginning for more detailed information.
RETURN VALUES
Returns the default domain of the node or FALSE. Can be used as the domain parameter for successive NIS calls.
EXAMPLES
Example #1 Example for the default domain <?php $domain = yp_get_default_domain(); echo "Default NIS domain is: " . $domain; ?> PHP Documentation Group YP_GET_DEFAULT_DOMAIN(3)
Related Man Pages
domainname(8) - debian
nisdomainname(8) - debian
ypdomainname(8) - suse
ypwhich(1) - sunos
ypwhich(1) - v7
Similar Topics in the Unix Linux Community
Error to configure Squirrelmail IMAP Proxy
Cannot successfully build PHP in Fedora 9