X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetopt_.h;h=27fce3dc799e0012f8033608cb1b8307bdb9d695;hb=7b9878d56ceb1a8ed1255ea1e6010638af7252c6;hp=a4e78cb06bfe4fe0584828be3defa69c88555514;hpb=267a39bafd249d7eb9c37df06dc6defcf41cb343;p=gnulib.git diff --git a/lib/getopt_.h b/lib/getopt_.h index a4e78cb06..27fce3dc7 100644 --- a/lib/getopt_.h +++ b/lib/getopt_.h @@ -1,5 +1,5 @@ /* Declarations for getopt. - Copyright (C) 1989-1994,1996-1999,2001,2003,2004 + Copyright (C) 1989-1994,1996-1999,2001,2003,2004,2005,2006 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -34,9 +34,7 @@ #if defined __GETOPT_PREFIX && !defined __need_getopt # include # include -# if HAVE_UNISTD_H -# include -# endif +# include # undef __need_getopt # undef getopt # undef getopt_long @@ -198,9 +196,10 @@ struct option scanning, explicitly telling `getopt' that there are no more options. - If OPTS begins with `--', then non-option arguments are treated as - arguments to the option '\0'. This behavior is specific to the GNU - `getopt'. */ + If OPTS begins with `-', then non-option arguments are treated as + arguments to the option '\1'. This behavior is specific to the GNU + `getopt'. If OPTS begins with `+', or POSIXLY_CORRECT is set in + the environment, then do not permute arguments. */ extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) __THROW;