mail::hostname.3x

Langue: en

Version: 05/24/2008 (fedora - 06/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

mail::hostname - Return host name

SYNOPSIS

       
 
 
 #include <libmail/mail.H>
 
 
std::string hostname=mail::hostname(void);

USAGE

This function return this machine's network name.

RETURN CODES

This machine's host name, as a string.