diff options
author | Roland McGrath <roland@gnu.org> | 1996-04-29 05:21:53 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-04-29 05:21:53 +0000 |
commit | 392d7920cd6e66a9e0fd6a4fb2c93d1ccabf65b9 (patch) | |
tree | 0071b8b380e466f0f27db67b8f678bfb5f234aa8 /errno.h | |
parent | 7b3547eb0fb471e1f2135f709eb53d79a45838cb (diff) | |
download | glibc-392d7920cd6e66a9e0fd6a4fb2c93d1ccabf65b9.tar.gz |
Mon Apr 29 00:11:59 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* errno.h [!__error_t_defined] (error_t): New type.
* sysdeps/mach/hurd/errnos.awk: #define __error_t_defined after the
typedef in errnos.h.
* string/envz.c, string/envz.h: New files.
* string/argz.h, string/argz-append.c, string/argz-count.c,
string/argz-create.c, string/argz-delete.c, string/argz-extract.c,
string/argz-insert.c, string/argz-stringify.c: New files.
* string/Makefile (routines): Add envz, argz-*.
(headers): Add argz.h, envz.h.
Diffstat (limited to 'errno.h')
-rw-r--r-- | errno.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -47,6 +47,14 @@ extern int errno; #endif #ifdef __USE_GNU + +/* The Hurd <errnos.h> defines `error_t' as an enumerated type + so that printing `error_t' values in the debugger shows the names. */ +#ifndef __error_t_defined +typedef int error_t; +#define __error_t_defined 1 +#endif + /* The full and simple forms of the name with which the program was invoked. These variables are set up automatically at startup based on the value of ARGV[0] (this works only if you use GNU ld). */ |