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.