Eric Blake
4805b60ccf
strerror: allow user hook to comply with POSIX rules
* libc/string/strerror.c (strerror): Split body into...
(_strerror_r): ...new reentrant function.
* libc/string/u_strerr.c (_user_strerror): Update signature.
* libc/include/stdio.h (_strerror_r): New prototype.
* libc/posix/collate.c (__collate_err): Adjust callers.
* libc/stdio/perror.c (_perror_r): Likewise.
* libc/string/strerror_r.c (strerror_r): Likewise.
* libc/string/xpg_strerror_r.c (__xpg_strerror_r): Likewise.
2011-05-25 18:41:10 +00:00
..
2008-11-19 20:56:22 +00:00
2008-10-31 21:03:42 +00:00
2003-06-06 19:57:51 +00:00
2008-10-31 21:03:42 +00:00
2011-05-25 18:41:10 +00:00
2008-10-31 21:03:42 +00:00
2008-10-31 21:03:42 +00:00
2008-10-31 21:03:42 +00:00
2003-06-06 19:57:51 +00:00
2008-10-31 21:03:42 +00:00
2008-10-31 21:03:42 +00:00
2008-10-31 21:03:42 +00:00
2008-10-31 21:03:42 +00:00
2008-10-31 21:03:42 +00:00
2008-10-31 21:03:42 +00:00
2008-10-31 21:03:42 +00:00
2008-10-31 21:03:42 +00:00
2008-10-31 21:03:42 +00:00
2008-10-31 21:03:42 +00:00
2008-10-31 21:03:42 +00:00
2008-01-03 22:33:37 +00:00
2009-08-18 16:43:21 +00:00
2010-12-16 21:59:17 +00:00
2008-11-24 21:27:33 +00:00
2010-08-25 10:44:47 +00:00
2009-08-18 17:07:55 +00:00
2009-08-18 16:43:21 +00:00
2003-06-06 19:57:51 +00:00
2003-06-06 19:57:51 +00:00
2008-10-31 21:03:42 +00:00
2008-10-31 21:03:42 +00:00
2008-10-31 21:03:42 +00:00
2008-10-31 21:03:42 +00:00
2008-10-31 21:03:42 +00:00
2008-10-31 21:03:42 +00:00
2010-07-06 15:23:27 +00:00
2008-10-31 21:03:42 +00:00
2008-11-19 17:13:13 +00:00
2008-11-24 20:42:33 +00:00
2003-06-06 19:57:51 +00:00
2006-06-06 15:41:10 +00:00
2008-10-31 21:03:42 +00:00
2010-03-09 20:38:18 +00:00
2008-10-31 21:03:42 +00:00
2006-06-06 15:41:10 +00:00
2008-10-31 21:03:42 +00:00
2008-10-31 21:03:42 +00:00
2008-10-31 21:03:42 +00:00