manual: glob: document the gl_flags field

The More Flags for Globbing section indirectly mentions gl_flags when
talking about GLOB_MAGCHAR.  Mention it explicitly when covering the
glob_t types.

Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Mike Frysinger 2012-12-20 23:59:42 -05:00
parent 32fcb36dbf
commit 0428cec91e
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2013-01-13 Mike Frysinger <vapier@gentoo.org>
* manual/pattern.texi (glob_t): Document gl_flags.
(glob64_t): Likewise.
2013-01-11 David S. Miller <davem@davemloft.net>
* math/Makefile: Recognize gmp-sysdep_routines.

View File

@ -233,6 +233,12 @@ following symbolic links. It is used if the @code{GLOB_ALTDIRFUNC} bit
is set in the flag parameter. The type of this field is @code{@w{int
(*) (const char *,} @w{struct stat *)}}.
This is a GNU extension.
@item gl_flags
The flags used when @code{glob} was called. In addition, @code{GLOB_MAGCHAR}
might be set. See @ref{Flags for Globbing} for more details.
This is a GNU extension.
@end table
@end deftp
@ -311,6 +317,12 @@ following symbolic links. It is used if the @code{GLOB_ALTDIRFUNC} bit
is set in the flag parameter. The type of this field is @code{@w{int
(*) (const char *,} @w{struct stat64 *)}}.
This is a GNU extension.
@item gl_flags
The flags used when @code{glob} was called. In addition, @code{GLOB_MAGCHAR}
might be set. See @ref{Flags for Globbing} for more details.
This is a GNU extension.
@end table
@end deftp