The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Functions
syserror.h File Reference
#include <freeradius-devel/build.h>
#include <freeradius-devel/missing.h>
#include <errno.h>
#include <stdint.h>
#include <string.h>
+ Include dependency graph for syserror.h:

Go to the source code of this file.

Functions

char const * fr_syserror (int num)
 Guaranteed to be thread-safe version of strerror. More...
 
char const * fr_syserror_simple (int num)
 Guaranteed to be thread-safe version of strerror. More...
 

Function Documentation

◆ fr_syserror()

char const* fr_syserror ( int  num)

Guaranteed to be thread-safe version of strerror.

Parameters
numerrno as returned by function or from global errno.
Returns
Error string relating to errno, with the macro name added as a prefix.

Definition at line 243 of file syserror.c.

+ Here is the call graph for this function:

◆ fr_syserror_simple()

char const* fr_syserror_simple ( int  num)

Guaranteed to be thread-safe version of strerror.

Parameters
numerrno as returned by function or from global errno.
Returns
Error string relating to errno with no decoration.

Definition at line 291 of file syserror.c.

+ Here is the call graph for this function: