int proc_domainname(char *s);
The system's domain name, such as domain.com.
On success, returns the domainname length. On error, -1 is returned.
proc_hostname(), proc_ip()