]> sourceware.org Git - newlib-cygwin.git/commit
strerror_r: provide POSIX implementation
authorEric Blake <eblake@redhat.com>
Thu, 10 Feb 2011 16:48:18 +0000 (16:48 +0000)
committerEric Blake <eblake@redhat.com>
Thu, 10 Feb 2011 16:48:18 +0000 (16:48 +0000)
commit7c10a76dec8afaf548bf14453ebd689e3457518e
treec3e235b29e3a74fa8451f5d3f4c79977d0755296
parent27aaf2a9d19de72291d77c45649951738b697f57
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.
newlib/ChangeLog
newlib/libc/include/string.h
newlib/libc/string/Makefile.am
newlib/libc/string/Makefile.in
newlib/libc/string/strerror.c
newlib/libc/string/strerror_r.c
newlib/libc/string/xpg_strerror_r.c [new file with mode: 0644]
This page took 0.02998 seconds and 5 git commands to generate.