diff options
Diffstat (limited to 'man3/glob.3')
-rw-r--r-- | man3/glob.3 | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/man3/glob.3 b/man3/glob.3 index 5887c3420..34a2745ee 100644 --- a/man3/glob.3 +++ b/man3/glob.3 @@ -12,7 +12,7 @@ .\" Expanded the description of various flags .\" Various wording fixes. .\" -.TH glob 3 2023-02-05 "Linux man-pages 6.03" +.TH glob 3 2023-07-20 "Linux man-pages 6.05.01" .SH NAME glob, globfree \- find pathnames matching a pattern, free memory from glob() .SH LIBRARY @@ -257,25 +257,27 @@ for no found matches. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). -.ad l -.nh .TS allbox; lb lb lbx l l l. Interface Attribute Value T{ +.na +.nh .BR glob () T} Thread safety T{ +.na +.nh MT-Unsafe race:utent env sig:ALRM timer locale T} T{ +.na +.nh .BR globfree () T} Thread safety MT-Safe .TE -.hy -.ad .sp 1 In the above table, .I utent @@ -292,7 +294,9 @@ then data races could occur. calls those functions, so we use race:utent to remind users. .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, POSIX.2. +POSIX.1-2008. +.SH HISTORY +POSIX.1-2001, POSIX.2. .SH NOTES The structure elements .I gl_pathc @@ -327,7 +331,7 @@ in the shell: .in +4n .EX glob_t globbuf; - +\& globbuf.gl_offs = 2; glob("*.c", GLOB_DOOFFS, NULL, &globbuf); glob("../*.c", GLOB_DOOFFS | GLOB_APPEND, NULL, &globbuf); |