diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-10-31 08:30:48 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-10-31 08:30:48 +0000 |
commit | 604febbae0da47ca8f3864c8512fcfbcdf781ff5 (patch) | |
tree | 48a8bc1a0a01321d973631c554452a533e18b1fa /manual/getopt.texi | |
parent | 1d052247681ac6eb9bc0b8cb6c6cfb741ee9b1db (diff) | |
download | glibc-604febbae0da47ca8f3864c8512fcfbcdf781ff5.tar glibc-604febbae0da47ca8f3864c8512fcfbcdf781ff5.tar.gz glibc-604febbae0da47ca8f3864c8512fcfbcdf781ff5.tar.bz2 glibc-604febbae0da47ca8f3864c8512fcfbcdf781ff5.zip |
(getopt_long, getopt_long_only): Include const in type of longopts parameter.
Diffstat (limited to 'manual/getopt.texi')
-rw-r--r-- | manual/getopt.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manual/getopt.texi b/manual/getopt.texi index 97aac0a2dd..8c9bd20d6d 100644 --- a/manual/getopt.texi +++ b/manual/getopt.texi @@ -224,7 +224,7 @@ was seen. @comment getopt.h @comment GNU -@deftypefun int getopt_long (int @var{argc}, char *const *@var{argv}, const char *@var{shortopts}, struct option *@var{longopts}, int *@var{indexptr}) +@deftypefun int getopt_long (int @var{argc}, char *const *@var{argv}, const char *@var{shortopts}, const struct option *@var{longopts}, int *@var{indexptr}) Decode options from the vector @var{argv} (whose length is @var{argc}). The argument @var{shortopts} describes the short options to accept, just as it does in @code{getopt}. The argument @var{longopts} describes the long @@ -277,7 +277,7 @@ getopt functionality there is one more function available. @comment getopt.h @comment GNU -@deftypefun int getopt_long_only (int @var{argc}, char *const *@var{argv}, const char *@var{shortopts}, struct option *@var{longopts}, int *@var{indexptr}) +@deftypefun int getopt_long_only (int @var{argc}, char *const *@var{argv}, const char *@var{shortopts}, const struct option *@var{longopts}, int *@var{indexptr}) The @code{getopt_long_only} function is equivalent to the @code{getopt_long} function but it allows to specify the user of the |