diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-06-11 14:56:10 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-06-11 14:56:10 +0000 |
commit | 29fe4d0d250eb8a51e6d3a916f0083c1fcb88f69 (patch) | |
tree | a99134a248fcc3412673592aa30d1963da96c7c8 /manual/argp.texi | |
parent | 36ecfe5690660610f27d839f3cae31f417b33a04 (diff) | |
download | glibc-29fe4d0d250eb8a51e6d3a916f0083c1fcb88f69.zip glibc-29fe4d0d250eb8a51e6d3a916f0083c1fcb88f69.tar.gz glibc-29fe4d0d250eb8a51e6d3a916f0083c1fcb88f69.tar.bz2 |
Update.
1998-06-11 Ulrich Drepper <drepper@cygnus.com>
* libc.map: Don't export argp's fmtstream handling functions.
Diffstat (limited to 'manual/argp.texi')
-rw-r--r-- | manual/argp.texi | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/manual/argp.texi b/manual/argp.texi index 4b72ebe..ab16fe3 100644 --- a/manual/argp.texi +++ b/manual/argp.texi @@ -1,7 +1,7 @@ @ignore Documentation for the argp argument parser - Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Written by Miles Bader <miles@gnu.ai.mit.edu>. @@ -59,7 +59,7 @@ call to @code{argp_parse} is the only argument-parsing code needed in @comment argp.h @comment GNU -@deftypefun {error_t} argp_parse (const struct argp *@var{argp}, @w{int @var{argc}, char **@var{argv}}, @w{unsigned @var{flags}}, @w{int *@var{arg_index}}, @w{void *@var{input}}) +@deftypefun {error_t} argp_parse (const struct argp *@var{argp}, int @var{argc}, char **@var{argv}, unsigned @var{flags}, int *@var{arg_index}, void *@var{input}) The @code{argp_parse} function parses the arguments in in @var{argv}, of length @var{argc}, using the argp parser @var{argp} (@pxref{Argp Parsers}); a value of zero is the same as a @code{struct argp} @@ -583,7 +583,7 @@ with @code{exit (argp_err_exit_status)} (@pxref{Argp Global Variables}). @cindex syntax error messages, in argp @comment argp.h @comment GNU -@deftypefun void argp_error (const struct argp_state *@var{state}, @w{const char *@var{fmt}, @dots{}}) +@deftypefun void argp_error (const struct argp_state *@var{state}, const char *@var{fmt}, @dots{}) Print the printf format string @var{fmt} and following args, preceded by the program name and @samp{:}, and followed by a @w{@samp{Try @dots{} --help}} message, and terminate the program with an exit status of @@ -593,7 +593,7 @@ the program name and @samp{:}, and followed by a @w{@samp{Try @dots{} @cindex error messages, in argp @comment argp.h @comment GNU -@deftypefun void argp_failure (const struct argp_state *@var{state}, @w{int @var{status}, int @var{errnum},} @w{const char *@var{fmt}, @dots{}}) +@deftypefun void argp_failure (const struct argp_state *@var{state}, int @var{status}, int @var{errnum}, const char *@var{fmt}, @dots{}) Similarly to the standard gnu error-reporting function @code{error}, print the printf format string @var{fmt} and following args, preceded by the program name and @samp{:}, and followed by the standard unix error @@ -609,7 +609,7 @@ values for options, bad phase of the moon, etc. @comment argp.h @comment GNU -@deftypefun void argp_state_help (const struct argp_state *@var{state}, @w{FILE *@var{stream}}, @w{unsigned @var{flags}}) +@deftypefun void argp_state_help (const struct argp_state *@var{state}, FILE *@var{stream}, unsigned @var{flags}) Output a help message for the argp parser referred to by @var{state} to @var{stream}. The @var{flags} argument determines what sort of help message is produced. @xref{Argp Help Flags}. @@ -928,7 +928,7 @@ context other than parsing the program options, argp offers the @comment argp.h @comment GNU -@deftypefun void argp_help (const struct argp *@var{argp}, @w{FILE *@var{stream}}, @w{unsigned @var{flags}}, @w{char *@var{name}}) +@deftypefun void argp_help (const struct argp *@var{argp}, FILE *@var{stream}, unsigned @var{flags}, char *@var{name}) Output a help message for the argp parser @var{argp} to @var{stream}. What sort of messages is printed is determined by @var{flags}. |