getfullhostname.c File Reference
Include dependency graph for getfullhostname.c:

Go to the source code of this file.
Functions | |
const char * | getfullhostname (void) |
Function Documentation
◆ getfullhostname()
const char * getfullhostname | ( | void | ) |
- Return values
-
nullptr An error occurred. * The fully qualified name (FQDN) of the current host. Pointer is only valid until the next call to the gethost*() functions.
Definition at line 34 of file getfullhostname.c.
References NULL, RFC2181_MAXHOSTNAMELEN, and xstrncpy().
Referenced by check_target_acl(), and print_trailer().