1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- #include <string.h>
- #include <limits.h>
- #define NL_TEXTMAX 2048
- char *
- strerror(int num)
- {
- static char _TLIBC_THREAD_ buf[NL_TEXTMAX];
- (void)strerror_r(num, buf, sizeof(buf));
- return (buf);
- }
|