.\" File automatically generated by doxy2man0.3 .\" Generation date: Wed Aug 19 2026 .TH rc_mksid 3 2026-08-19 "radcli" "Radius client library" .SH "NAME" rc_mksid \- Generate a "unique" session-ID string. .SH SYNOPSIS .nf .B #include .sp \fBchar * rc_mksid\fP( \fBvoid \fP\fI\fP ); .fi .SH DESCRIPTION .PP This function is retained only for source compatibility with freeradius-client and radiusclient-ng. It returns a pointer to a static non-reentrant buffer that is overwritten on each call, making it unsafe in multi-threaded applications. Use snprintf into your own buffer instead: .PP charsid[15]; .PP snprintf(sid,sizeof(sid),"%08lX%04X",(unsignedlong)time(NULL),getpid()); .SH RETURN VALUE .PP pointer to a static buffer containing the ID string; overwritten by subsequent calls. .SH SEE ALSO .PP .nh .ad l radcli.h(3) .ad .hy