diff options
Diffstat (limited to 'manual')
-rw-r--r-- | manual/argp.texi | 12 | ||||
-rw-r--r-- | manual/socket.texi | 2 |
2 files changed, 7 insertions, 7 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}. diff --git a/manual/socket.texi b/manual/socket.texi index 0eab88a..8ac5fa5 100644 --- a/manual/socket.texi +++ b/manual/socket.texi @@ -2040,7 +2040,7 @@ queue. @comment sys/socket.h @comment BSD -@deftypefun int accept (int @var{socket}, struct sockaddr *@var{addr}, socklen_t *@var{length-ptr}) +@deftypefun int accept (int @var{socket}, struct sockaddr *@var{addr}, socklen_t *@var{length_ptr}) This function is used to accept a connection request on the server socket @var{socket}. |