__xpg_strerror_r

Name

__xpg_strerror_r -- return string describing error number

Synopsis

#include <string.h>

int __xpg_strerror_r(int errnum, char * buf, size_t buflen);

Description

The __xpg_strerror_r() function shall map the error number in errnum to a locale-dependent error message string and shall return the string in the buffer pointed to by strerrbuf, with length buflen, as described in POSIX 1003.1-2008 (ISO/IEC 9945-2009) strerror_r().

This function is not in the source standard, it is only in the binary standard.

Return Value

See POSIX 1003.1-2008 (ISO/IEC 9945-2009).