freebsd-dev/tools/regression/lib/libc/string
Jilles Tjoelker 2973057493 Allow strerror(0) and strerror_r(0, ...).
Of course, strerror_r() may still fail with ERANGE.

Although the POSIX specification said this could fail with EINVAL and
doing this likely indicates invalid use of errno, most other
implementations permitted it, various POSIX testsuites require it to
work (matching the older sys_errlist array) and apparently some
applications depend on it.

PR:		standards/151316
MFC after:	1 week
2011-04-05 21:56:05 +00:00
..
Makefile
test-stpncpy.c
test-strerror.c Allow strerror(0) and strerror_r(0, ...). 2011-04-05 21:56:05 +00:00
test-strerror.t
test-wcscasecmp.c
test-wcsnlen.c