cupsServer

Name

cupsServer -- Return the hostname/address of the default server.

Synopsis

#include <cups/cups.h>

const char * cupsServer(void);

Description

Return the hostname/address of the default server.

The returned value can be a fully-qualified hostname, a numeric IPv4 or IPv6 address, or a domain socket pathname.

Return Value

Server name