summaryrefslogtreecommitdiff
path: root/libshouldbeinlibc
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-03-06 04:46:53 +0000
committerMiles Bader <miles@gnu.org>1997-03-06 04:46:53 +0000
commit5bdbdd3f31951870162b3b383ec5ad9ee461eefb (patch)
tree75687523e0620d503754ef88735da0959acfe2d3 /libshouldbeinlibc
parent3cd24970aa56d9d87cf7ca12983ba8df52ac0f25 (diff)
(argp_err_exit_status):
New variable.
Diffstat (limited to 'libshouldbeinlibc')
-rw-r--r--libshouldbeinlibc/argp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libshouldbeinlibc/argp.h b/libshouldbeinlibc/argp.h
index 8014d1ee..60310ade 100644
--- a/libshouldbeinlibc/argp.h
+++ b/libshouldbeinlibc/argp.h
@@ -395,6 +395,11 @@ extern void (*argp_program_version_hook) __P ((FILE *__stream,
standard help messages), embedded in a sentence that says something like
`Report bugs to ADDR.'. */
__const extern char *argp_program_bug_address;
+
+/* The exit status that argp will use when exiting due to a parsing error.
+ If not defined or set by the user program, this defaults to EX_USAGE from
+ <sysexits.h>. */
+extern error_t argp_err_exit_status;
/* Flags for argp_help. */
#define ARGP_HELP_USAGE 0x01 /* a Usage: message. */