Manpage of STRERROR_R

Google
Web www.fiveanddime.net

STRERROR_R

Section: NEWLIB (3)
Updated: 2005 Feb 23
Index Return to Main Contents
 

NAME

5.21 `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 libc library. The full documentation for libc is maintained as a Texinfo manual. If info and libc are properly installed at your site, the command
info libc

will give you access to the complete manual.


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURNS
PORTABILITY
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 21:25:32 GMT, May 16, 2005



www.fiveanddime.net








Google
Web www.fiveanddime.net