.\" File automatically generated by doxy2man0.3 .\" Generation date: Wed Aug 19 2026 .TH rc_own_hostname 3 2026-08-19 "radcli" "Radius client library" .SH "NAME" rc_own_hostname \- Get the hostname of this machine. .SH SYNOPSIS .nf .B #include .sp \fBint rc_own_hostname\fP( \fBchar *\fP\fIhostname\fP, \fBint \fP\fIlen\fP ); .fi .SH DESCRIPTION .SH PARAMETERS .TP .B hostname will hold the name of the host. .TP .B len the size of hostname. .SH RETURN VALUE .PP -1 on failure, 0 on success. .SH SEE ALSO .PP .nh .ad l \fIrc_get_srcaddr\fP(3), \fIrc_getport\fP(3), \fIrc_openlog\fP(3), \fIrc_setdebug\fP(3) .ad .hy