summaryrefslogtreecommitdiffstats
path: root/man3/glob.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/glob.3')
-rw-r--r--man3/glob.344
1 files changed, 22 insertions, 22 deletions
diff --git a/man3/glob.3 b/man3/glob.3
index 130a6ce60..0253d15a3 100644
--- a/man3/glob.3
+++ b/man3/glob.3
@@ -33,10 +33,10 @@ The
function searches for all the pathnames matching
.I pattern
according to the rules used by the shell (see
-.BR glob (7)).
+.MR glob 7 ).
No tilde expansion or parameter substitution is done; if you want
these, use
-.BR wordexp (3).
+.MR wordexp 3 .
.P
The
.BR globfree ()
@@ -139,7 +139,7 @@ functions.
.TP
.B GLOB_BRACE
Expand
-.BR csh (1)
+.MR csh 1
style brace expressions of the form
.BR {a,b} .
Brace expressions can be nested.
@@ -204,10 +204,10 @@ a pointer to the path which failed, and
the value of
.I errno
as returned from one of the calls to
-.BR opendir (3),
-.BR readdir (3),
+.MR opendir 3 ,
+.MR readdir 3 ,
or
-.BR stat (2).
+.MR stat 2 .
If
.I errfunc
returns nonzero, or if
@@ -256,7 +256,7 @@ for a read error, and
for no found matches.
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
-.BR attributes (7).
+.MR attributes 7 .
.TS
allbox;
lb lb lbx
@@ -284,10 +284,10 @@ In the above table,
in
.I race:utent
signifies that if any of the functions
-.BR setutent (3),
-.BR getutent (3),
+.MR setutent 3 ,
+.MR getutent 3 ,
or
-.BR endutent (3)
+.MR endutent 3
are used in parallel in different threads of a program,
then data races could occur.
.BR glob ()
@@ -312,9 +312,9 @@ in glibc 2.0.
The
.BR glob ()
function may fail due to failure of underlying function calls, such as
-.BR malloc (3)
+.MR malloc 3
or
-.BR opendir (3).
+.MR opendir 3 .
These will store their error code in
.IR errno .
.SH EXAMPLES
@@ -341,13 +341,13 @@ execvp("ls", &globbuf.gl_pathv[0]);
.EE
.in
.SH SEE ALSO
-.BR ls (1),
-.BR sh (1),
-.BR stat (2),
-.BR exec (3),
-.BR fnmatch (3),
-.BR malloc (3),
-.BR opendir (3),
-.BR readdir (3),
-.BR wordexp (3),
-.BR glob (7)
+.MR ls 1 ,
+.MR sh 1 ,
+.MR stat 2 ,
+.MR exec 3 ,
+.MR fnmatch 3 ,
+.MR malloc 3 ,
+.MR opendir 3 ,
+.MR readdir 3 ,
+.MR wordexp 3 ,
+.MR glob 7