summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Yanovich <jaredy@cvs.openbsd.org>2005-07-22 02:54:20 +0000
committerJared Yanovich <jaredy@cvs.openbsd.org>2005-07-22 02:54:20 +0000
commitf4f3233728f0f47fc203fb6815b71784d9fb6800 (patch)
tree4b86c9b2aadb2b062ab949ae08a9d1b464dca660
parentdab12d4ffe2066eedee8f8134d1c67c715fcfaec (diff)
move error return information from BUGS to ERRORS; ok jmc, millert
-rw-r--r--lib/libc/gen/glob.328
1 files changed, 14 insertions, 14 deletions
diff --git a/lib/libc/gen/glob.3 b/lib/libc/gen/glob.3
index 2220c677755..1f97e40593b 100644
--- a/lib/libc/gen/glob.3
+++ b/lib/libc/gen/glob.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: glob.3,v 1.21 2003/09/02 18:24:21 jmc Exp $
+.\" $OpenBSD: glob.3,v 1.22 2005/07/22 02:54:19 jaredy Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -408,6 +408,19 @@ g.gl_pathv[0] = "ls";
g.gl_pathv[1] = "-l";
execvp("ls", g.gl_pathv);
.Ed
+.Sh ERRORS
+The
+.Fn glob
+function may fail and set
+.Va errno
+for any of the errors specified for the library routines
+.Xr stat 2 ,
+.Xr closedir 3 ,
+.Xr opendir 3 ,
+.Xr readdir 3 ,
+.Xr malloc 3 ,
+and
+.Xr free 3 .
.Sh SEE ALSO
.Xr sh 1 ,
.Xr fnmatch 3 ,
@@ -444,16 +457,3 @@ functions first appeared in
Patterns longer than
.Dv MAXPATHLEN
may cause unchecked errors.
-.Pp
-The
-.Fn glob
-function may fail and set
-.Va errno
-for any of the errors specified for the library routines
-.Xr stat 2 ,
-.Xr closedir 3 ,
-.Xr opendir 3 ,
-.Xr readdir 3 ,
-.Xr malloc 3 ,
-and
-.Xr free 3 .