+2002-04-21 Ulrich Drepper <drepper@redhat.com>
+
+ * string/string.h: Declare strerror_r also for XPG6.
+
2002-04-19 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/tmpfile.c: Create a file descriptor and use fdopen.
-/* Copyright (C) 1991,92,93,95,96,97,98,99,2000,2001 Free Software Foundation, Inc.
+/* Copyright (C) 1991-1993, 1995-2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
/* Return a string describing the meaning of the `errno' code in ERRNUM. */
extern char *strerror (int __errnum) __THROW;
-#ifdef __USE_MISC
+#if defined __USE_XOPEN2K || defined __USE_MISC
/* Reentrant version of `strerror'. If a temporary buffer is required, at
most BUFLEN bytes of BUF will be used. */
extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) __THROW;
the namespace rules does not allow this. */
extern void __bzero (void *__s, size_t __n) __THROW;
-#if defined __USE_BSD
+#ifdef __USE_BSD
/* Copy N bytes of SRC to DEST (like memmove, but args reversed). */
extern void bcopy (__const void *__src, void *__dest, size_t __n) __THROW;