diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2010-09-25 09:34:50 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2010-09-25 09:34:50 +0000 |
commit | 521684614c2cdef37ab9f6ef87838d6df2e8b98d (patch) | |
tree | f0353ce2cc282331ae770ab1e6fac62aa15e4770 /lib | |
parent | d4719fbc003010b69f1a72a3ef2ea271a9e3ee9b (diff) |
document GLOB_KEEPSTAT in the RETURN VALUES and STANDARDS sections.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/gen/glob.3 | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/lib/libc/gen/glob.3 b/lib/libc/gen/glob.3 index 007a27bc280..83042339aeb 100644 --- a/lib/libc/gen/glob.3 +++ b/lib/libc/gen/glob.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: glob.3,v 1.27 2010/09/24 13:32:55 djm Exp $ +.\" $OpenBSD: glob.3,v 1.28 2010/09/25 09:34:49 djm Exp $ .\" .\" Copyright (c) 1989, 1991, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: September 24 2010 $ +.Dd $Mdocdate: September 25 2010 $ .Dt GLOB 3 .Os .Sh NAME @@ -369,6 +369,15 @@ However, if is zero, the contents of .Fa gl_pathv are undefined. +.It Fa gl_statv +If the +.Dv GLOB_KEEPSTAT +flag was set, +.Fa gl_statv +contains a pointer to a null-terminated list of matched +.Xr stat 2 +objects corresponding to the paths in +.Fa gl_pathc . .El .Pp If @@ -449,6 +458,7 @@ and Note, however, that the flags .Dv GLOB_ALTDIRFUNC , .Dv GLOB_BRACE , +.Dv GLOB_KEEPSTAT , .Dv GLOB_MAGCHAR , .Dv GLOB_NOMAGIC , .Dv GLOB_QUOTE , @@ -456,7 +466,8 @@ Note, however, that the flags and .Dv GLOB_LIMIT and the fields -.Fa gl_matchc +.Fa gl_matchc , +.Fa gl_statv and .Fa gl_flags should not be used by applications striving for strict standards conformance. |