rc_own_hostname(3) Radius client library rc_own_hostname(3)

rc_own_hostname - Get the hostname of this machine.

#include <radcli/>

int rc_own_hostname(
    char    *hostname,
    int      len
);

will hold the name of the host.
the size of hostname.

-1 on failure, 0 on success.

rc_get_srcaddr(3), rc_getport(3), rc_openlog(3), rc_setdebug(3)

2026-08-19 radcli