diff options
author | Eric Blake <eblake@redhat.com> | 2011-02-10 16:48:18 +0000 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2011-02-10 16:48:18 +0000 |
commit | 7c10a76dec8afaf548bf14453ebd689e3457518e (patch) | |
tree | c3e235b29e3a74fa8451f5d3f4c79977d0755296 /newlib/libc/stdio/tmpfile.c | |
parent | 27aaf2a9d19de72291d77c45649951738b697f57 (diff) | |
download | cygnal-7c10a76dec8afaf548bf14453ebd689e3457518e.tar.gz cygnal-7c10a76dec8afaf548bf14453ebd689e3457518e.tar.bz2 cygnal-7c10a76dec8afaf548bf14453ebd689e3457518e.zip |
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.
Diffstat (limited to 'newlib/libc/stdio/tmpfile.c')
0 files changed, 0 insertions, 0 deletions