summary refs log tree commit diff
path: root/string/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'string/string.h')
-rw-r--r--string/string.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/string/string.h b/string/string.h
index db9bc00e5c..ecfc4c7060 100644
--- a/string/string.h
+++ b/string/string.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-1993, 1995-2001, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1991-1993, 1995-2002, 2003 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
@@ -239,13 +239,19 @@ extern size_t strnlen (__const char *__string, size_t __maxlen)
 
 
 __BEGIN_NAMESPACE_STD
-/* Return a string describing the meaning of the `errno' code in ERRNUM.  */
-extern char *strerror (int __errnum) __THROW;
+/* Return a string describing the meaning of the `errno' code in ERRNUM.
+
+   This function is a possible cancellation points and therefore not
+   marked with __THROW.  */
+extern char *strerror (int __errnum);
 __END_NAMESPACE_STD
 #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;
+   most BUFLEN bytes of BUF will be used.
+
+   This function is a possible cancellation points and therefore not
+   marked with __THROW.  */
+extern char *strerror_r (int __errnum, char *__buf, size_t __buflen);
 #endif
 
 /* We define this function always since `bzero' is sometimes needed when