.\" File automatically generated by doxy2man0.3 .\" Generation date: Thu Sep 3 2026 .TH radcli_attr_def_oid 3 2026-09-03 "radcli" "Radius client library" .SH "NAME" radcli_attr_def_oid \- Render an attribute definition's RFC 6929 ยง2.7 OID notation. .SH SYNOPSIS .nf .B #include .sp \fBint radcli_attr_def_oid\fP( \fBconst radcli_attr_def *\fP\fIdef\fP, \fBchar *\fP\fIbuf\fP, \fBsize_t \fP\fIbuflen\fP ); .fi .SH DESCRIPTION .SH PARAMETERS .TP .B def an attribute definition from radcli_dict_lookup() or a sibling. .TP .B buf destination buffer; may be NULL if buflen is 0. .TP .B buflen size of buf in bytes. .SH RETURN VALUE .PP the number of characters the OID text would occupy, excluding the terminating null, as with snprintf(); negative if def is NULL. .SH SEE ALSO .PP .nh .ad l \fIradcli_attr_def_name\fP(3), \fIradcli_attr_def_type\fP(3), \fIradcli_dict_lookup\fP(3), \fIradcli_dict_lookup_num\fP(3), \fIradcli_dict_lookup_oid\fP(3), \fIradcli_dict_lookup_value\fP(3) .ad .hy