Eric Blake
7c10a76dec
strerror_r: provide POSIX implementation
* libc/include/string.h (strerror_r): Update declaration.
* libc/string/strerror.c (strerror): Update documentation.
* libc/string/strerror_r.c (strerror_r): Always return
NUL-terminated string; don't overwrite too-short buf.
* libc/string/xpg_strerror_r.c (__xpg_strerror_r): Implement POSIX
variant.
* libc/string/Makefile.am (GENERAL_SOURCES): Build new file.
* libc/string/Makefile.in: Regenerate.
2011-02-10 16:48:18 +00:00
..
2010-12-16 21:59:17 +00:00
2010-12-16 21:59:17 +00:00
2010-12-16 21:59:17 +00:00
2010-12-16 21:59:17 +00:00
2011-02-10 16:48:18 +00:00
2010-11-19 10:02:36 +00:00
2011-01-10 12:11:55 +00:00
2010-12-16 21:59:17 +00:00
2010-12-16 21:59:17 +00:00
2010-12-16 21:59:17 +00:00
2010-12-16 21:59:17 +00:00
2010-12-16 21:59:17 +00:00
2011-01-28 10:49:11 +00:00
2011-01-28 10:49:11 +00:00
2010-12-16 21:59:17 +00:00
2011-02-10 16:48:18 +00:00
2011-01-12 11:49:28 +00:00
2010-12-16 21:59:17 +00:00
2010-12-16 21:59:17 +00:00
2010-12-16 21:59:17 +00:00
2011-01-05 17:23:01 +00:00
2010-12-16 21:59:17 +00:00
2011-01-05 17:13:24 +00:00
2011-01-05 17:13:24 +00:00
2010-12-16 21:59:17 +00:00
2011-01-05 17:18:16 +00:00
2011-01-05 17:18:16 +00:00
2000-02-17 19:39:52 +00:00
2005-10-28 21:36:05 +00:00