proc_domainname()

The system's domain name

Syntax:

int proc_domainname(char *s);

Arguments:

Name Description
s buffer to put the domainname

Description:

The system's domain name, such as domain.com.

Return Values:

On success, returns the domainname length. On error, -1 is returned.

See Also:

proc_hostname(), proc_ip()



INDEX