STRERROR_R(3)

NAME
6.25 `strerror_r'--convert error number to string and copy to buffer

SYNOPSIS
     #include <string.h>
     char *strerror_r(int ERRNUM, char *BUFFER, size_t N);

DESCRIPTION
`strerror_r' converts the error number ERRNUM into a string and copies the result into the supplied BUFFER for a length up to N, including the NUL terminator. The value of ERRNUM is usually a copy of `errno'. If `errnum' is not a known error number, the result is the empty string.
   See `strerror' for how strings are mapped to `errnum'.

RETURNS
This function returns a pointer to a string. Your application must not modify that string.

PORTABILITY
`strerror_r' is a GNU extension.
   `strerror_r' requires no supporting OS subroutines.

SEE ALSO
strerror_r is part of the library. The full documentation for is maintained as a Texinfo manual. If info and are properly installed at your site, the command

    info

will give you access to the complete manual.