Table of Contents

Name

imta_get_hostname - provides the logical local host name.

Synopsis

#include <imta.h>

const char *imta_get_hostname()

Description

The logical name of the local host is the routing system associated with the local channel or /var/mail channel, internally called «l.» It may be obtained by calling imta_get_hostname().

The buffer containing the hostname is valid during the entire life of the program

Return Values

imta_get_hostname() returns IMRC_OK when successful, and a negative error code otherwise.

Attributes

_______________________________________

Attribute Type
Attribute Value _______________________________________
Architecture
sparc, x86 _______________________________________
Availability
SUNWimsdk _______________________________________
MT-Level
MT-Safe _______________________________________
Interface Stability
Stable _______________________________________ |
|
|

See Also

imta_init(3) , /etc/opt/SUNWmail/imta/imta.cnf(3) .

SunOS 5.5.1 Last change: 05 Jan 1998 1


Table of Contents