|
csnip
0.1
|
Portable implementations of libc functions. More...
Functions | |
| int | csnip_x_strerror_r (int errnum, char *buf, size_t buflen) |
| Portable strerror_r(). More... | |
This module contains functions that can be found on some systems, but are missing from others.
| int csnip_x_strerror_r | ( | int | errnum, |
| char * | buf, | ||
| size_t | buflen | ||
| ) |
This implements the POSIX conforming version of strerror_r(). On Unix, the libc strerror_r() is used without. There is no need in user code to define the feature macros that are needed to access the system strerror_r(). On Windows, strerror_s() is used in the backend.