aboutsummaryrefslogtreecommitdiff
path: root/string/string.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-02-01 16:14:15 +0000
committerUlrich Drepper <drepper@redhat.com>2007-02-01 16:14:15 +0000
commit4a44ce79c6dee9a77207466142a36caa9fa54141 (patch)
tree20a07e11954af12cf170253bbc4429e28ca928df /string/string.h
parent58a2d52e95b8c38ce43dcfbd6cce1d1ca1196c61 (diff)
downloadglibc-4a44ce79c6dee9a77207466142a36caa9fa54141.zip
glibc-4a44ce79c6dee9a77207466142a36caa9fa54141.tar.gz
glibc-4a44ce79c6dee9a77207466142a36caa9fa54141.tar.bz2
* sysdeps/unix/sysv/linux/i386/sysdep.h (PTR_MANGLE): Roll value beforecvs/fedora-glibc-20070202T0923
returning. (PTR_DEMANGLE): Real definition now that it's not the same as PRT_MANGLE anymore. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. * string/strerror_l.c: New file. * string/Makefile (routines): Add strerror_l. * string/string.h: Declare strerror_l. * string/Versions: Export strerror_l for GLIBC_2.6. * nscd/connections.c (nscd_run): Don't define MAXKEYLEN here.
Diffstat (limited to 'string/string.h')
-rw-r--r--string/string.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/string/string.h b/string/string.h
index 1adf925..5e1a96f 100644
--- a/string/string.h
+++ b/string/string.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-1993, 1995-2003, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 1991-1993, 1995-2004, 2007 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
@@ -283,6 +283,12 @@ extern char *strerror_r (int __errnum, char *__buf, size_t __buflen)
# endif
#endif
+#ifdef __USE_GNU
+/* Translate error number to string according to the locale L. */
+extern char *strerror_l (int __errnum, __locale_t __l) __THROW;
+#endif
+
+
/* We define this function always since `bzero' is sometimes needed when
the namespace rules does not allow this. */
extern void __bzero (void *__s, size_t __n) __THROW __nonnull ((1));