| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:26+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
#. type: TH |
| 20 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 21 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 22 |
#, no-wrap |
| 23 |
msgid "glob" |
| 24 |
msgstr "" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 28 |
#: opensuse-tumbleweed |
| 29 |
#, no-wrap |
| 30 |
msgid "2026-02-08" |
| 31 |
msgstr "" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-unstable |
| 35 |
#, no-wrap |
| 36 |
msgid "Linux man-pages 6.18" |
| 37 |
msgstr "" |
| 38 |
|
| 39 |
#. type: SH |
| 40 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 41 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 42 |
#, no-wrap |
| 43 |
msgid "NAME" |
| 44 |
msgstr "" |
| 45 |
|
| 46 |
#. type: Plain text |
| 47 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 48 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 49 |
msgid "" |
| 50 |
"glob, globfree - find pathnames matching a pattern, free memory from glob()" |
| 51 |
msgstr "" |
| 52 |
|
| 53 |
#. type: SH |
| 54 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 55 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 56 |
#, no-wrap |
| 57 |
msgid "LIBRARY" |
| 58 |
msgstr "" |
| 59 |
|
| 60 |
#. type: Plain text |
| 61 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 62 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 64 |
msgstr "" |
| 65 |
|
| 66 |
#. type: SH |
| 67 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 68 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 69 |
#, no-wrap |
| 70 |
msgid "SYNOPSIS" |
| 71 |
msgstr "" |
| 72 |
|
| 73 |
#. type: Plain text |
| 74 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 75 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 76 |
#, no-wrap |
| 77 |
msgid "B<#include E<lt>glob.hE<gt>>\n" |
| 78 |
msgstr "" |
| 79 |
|
| 80 |
#. type: Plain text |
| 81 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 82 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 83 |
#, no-wrap |
| 84 |
msgid "" |
| 85 |
"B<int glob(const char *restrict >I<pattern>B<, int >I<flags>B<,>\n" |
| 86 |
"B< typeof(int (const char *>I<epath>B<, int >I<eerrno>B<)) *>I<errfunc>B<,>\n" |
| 87 |
"B< glob_t *restrict >I<pglob>B<);>\n" |
| 88 |
"B<void globfree(glob_t *>I<pglob>B<);>\n" |
| 89 |
msgstr "" |
| 90 |
|
| 91 |
#. type: SH |
| 92 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 93 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 94 |
#, no-wrap |
| 95 |
msgid "DESCRIPTION" |
| 96 |
msgstr "" |
| 97 |
|
| 98 |
#. type: Plain text |
| 99 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 100 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 101 |
msgid "" |
| 102 |
"The B<glob>() function searches for all the pathnames matching I<pattern> " |
| 103 |
"according to the rules used by the shell (see B<glob>(7)). No tilde " |
| 104 |
"expansion or parameter substitution is done; if you want these, use " |
| 105 |
"B<wordexp>(3)." |
| 106 |
msgstr "" |
| 107 |
|
| 108 |
#. type: Plain text |
| 109 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 110 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 111 |
msgid "" |
| 112 |
"The B<globfree>() function frees the dynamically allocated storage from an " |
| 113 |
"earlier call to B<glob>()." |
| 114 |
msgstr "" |
| 115 |
|
| 116 |
#. type: Plain text |
| 117 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 118 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 119 |
msgid "" |
| 120 |
"The results of a B<glob>() call are stored in the structure pointed to by " |
| 121 |
"I<pglob>. This structure is of type I<glob_t> (declared in " |
| 122 |
"I<E<lt>glob.hE<gt>>) and includes the following elements defined by POSIX.2 " |
| 123 |
"(more may be present as an extension):" |
| 124 |
msgstr "" |
| 125 |
|
| 126 |
#. type: Plain text |
| 127 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 128 |
#: opensuse-tumbleweed |
| 129 |
#, no-wrap |
| 130 |
msgid "" |
| 131 |
"typedef struct {\n" |
| 132 |
" size_t gl_pathc; /* Count of paths matched so far */\n" |
| 133 |
" char **gl_pathv; /* List of matched pathnames. */\n" |
| 134 |
" size_t gl_offs; /* Slots to reserve in \\f[I]gl_pathv\\fR. */\n" |
| 135 |
"} glob_t;\n" |
| 136 |
msgstr "" |
| 137 |
|
| 138 |
#. type: Plain text |
| 139 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 140 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 141 |
msgid "Results are stored in dynamically allocated storage." |
| 142 |
msgstr "" |
| 143 |
|
| 144 |
#. type: Plain text |
| 145 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 146 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 147 |
msgid "" |
| 148 |
"The argument I<flags> is made up of the bitwise OR of zero or more the " |
| 149 |
"following symbolic constants, which modify the behavior of B<glob>():" |
| 150 |
msgstr "" |
| 151 |
|
| 152 |
#. type: TP |
| 153 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 154 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 155 |
#, no-wrap |
| 156 |
msgid "B<GLOB_ERR>" |
| 157 |
msgstr "" |
| 158 |
|
| 159 |
#. type: Plain text |
| 160 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 161 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 162 |
msgid "" |
| 163 |
"Return upon a read error (because a directory does not have read permission, " |
| 164 |
"for example). By default, B<glob>() attempts carry on despite errors, " |
| 165 |
"reading all of the directories that it can." |
| 166 |
msgstr "" |
| 167 |
|
| 168 |
#. type: TP |
| 169 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 170 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 171 |
#, no-wrap |
| 172 |
msgid "B<GLOB_MARK>" |
| 173 |
msgstr "" |
| 174 |
|
| 175 |
#. type: Plain text |
| 176 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 177 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 178 |
msgid "Append a slash to each path which corresponds to a directory." |
| 179 |
msgstr "" |
| 180 |
|
| 181 |
#. type: TP |
| 182 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 183 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 184 |
#, no-wrap |
| 185 |
msgid "B<GLOB_NOSORT>" |
| 186 |
msgstr "" |
| 187 |
|
| 188 |
#. type: Plain text |
| 189 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 190 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 191 |
msgid "" |
| 192 |
"Don't sort the returned pathnames. The only reason to do this is to save " |
| 193 |
"processing time. By default, the returned pathnames are sorted." |
| 194 |
msgstr "" |
| 195 |
|
| 196 |
#. type: TP |
| 197 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 198 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 199 |
#, no-wrap |
| 200 |
msgid "B<GLOB_DOOFFS>" |
| 201 |
msgstr "" |
| 202 |
|
| 203 |
#. type: Plain text |
| 204 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 205 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 206 |
msgid "" |
| 207 |
"Reserve I<pglob-E<gt>gl_offs> slots at the beginning of the list of strings " |
| 208 |
"in I<pglob-E<gt>pathv>. The reserved slots contain null pointers." |
| 209 |
msgstr "" |
| 210 |
|
| 211 |
#. type: TP |
| 212 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 213 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 214 |
#, no-wrap |
| 215 |
msgid "B<GLOB_NOCHECK>" |
| 216 |
msgstr "" |
| 217 |
|
| 218 |
#. type: Plain text |
| 219 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 220 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 221 |
msgid "" |
| 222 |
"If no pattern matches, return the original pattern. By default, B<glob>() " |
| 223 |
"returns B<GLOB_NOMATCH> if there are no matches." |
| 224 |
msgstr "" |
| 225 |
|
| 226 |
#. type: TP |
| 227 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 228 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 229 |
#, no-wrap |
| 230 |
msgid "B<GLOB_APPEND>" |
| 231 |
msgstr "" |
| 232 |
|
| 233 |
#. type: Plain text |
| 234 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 235 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 236 |
msgid "" |
| 237 |
"Append the results of this call to the vector of results returned by a " |
| 238 |
"previous call to B<glob>(). Do not set this flag on the first invocation of " |
| 239 |
"B<glob>()." |
| 240 |
msgstr "" |
| 241 |
|
| 242 |
#. type: TP |
| 243 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 244 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 245 |
#, no-wrap |
| 246 |
msgid "B<GLOB_NOESCAPE>" |
| 247 |
msgstr "" |
| 248 |
|
| 249 |
#. type: Plain text |
| 250 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 251 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 252 |
msgid "" |
| 253 |
"Don't allow backslash (\\[aq]\\[rs]\\[aq]) to be used as an escape " |
| 254 |
"character. Normally, a backslash can be used to quote the following " |
| 255 |
"character, providing a mechanism to turn off the special meaning " |
| 256 |
"metacharacters." |
| 257 |
msgstr "" |
| 258 |
|
| 259 |
#. type: Plain text |
| 260 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 261 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 262 |
msgid "" |
| 263 |
"I<flags> may also include any of the following, which are GNU extensions and " |
| 264 |
"not defined by POSIX.2:" |
| 265 |
msgstr "" |
| 266 |
|
| 267 |
#. type: TP |
| 268 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 269 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 270 |
#, no-wrap |
| 271 |
msgid "B<GLOB_PERIOD>" |
| 272 |
msgstr "" |
| 273 |
|
| 274 |
#. type: Plain text |
| 275 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 276 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 277 |
msgid "" |
| 278 |
"Allow a leading period to be matched by metacharacters. By default, " |
| 279 |
"metacharacters can't match a leading period." |
| 280 |
msgstr "" |
| 281 |
|
| 282 |
#. type: TP |
| 283 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 284 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 285 |
#, no-wrap |
| 286 |
msgid "B<GLOB_ALTDIRFUNC>" |
| 287 |
msgstr "" |
| 288 |
|
| 289 |
#. type: Plain text |
| 290 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 291 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 292 |
msgid "" |
| 293 |
"Use alternative functions I<pglob-E<gt>gl_closedir>, I<pglob-" |
| 294 |
"E<gt>gl_readdir>, I<pglob-E<gt>gl_opendir>, I<pglob-E<gt>gl_lstat>, and " |
| 295 |
"I<pglob-E<gt>gl_stat> for filesystem access instead of the normal library " |
| 296 |
"functions." |
| 297 |
msgstr "" |
| 298 |
|
| 299 |
#. type: TP |
| 300 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 301 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 302 |
#, no-wrap |
| 303 |
msgid "B<GLOB_BRACE>" |
| 304 |
msgstr "" |
| 305 |
|
| 306 |
#. type: Plain text |
| 307 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 308 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 309 |
msgid "" |
| 310 |
"Expand B<csh>(1) style brace expressions of the form B<{a,b}>. Brace " |
| 311 |
"expressions can be nested. Thus, for example, specifying the pattern \"{foo/" |
| 312 |
"{,cat,dog},bar}\" would return the same results as four separate B<glob>() " |
| 313 |
"calls using the strings: \"foo/\", \"foo/cat\", \"foo/dog\", and \"bar\"." |
| 314 |
msgstr "" |
| 315 |
|
| 316 |
#. type: TP |
| 317 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 318 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 319 |
#, no-wrap |
| 320 |
msgid "B<GLOB_NOMAGIC>" |
| 321 |
msgstr "" |
| 322 |
|
| 323 |
#. type: Plain text |
| 324 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 325 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 326 |
msgid "" |
| 327 |
"If the pattern contains no metacharacters, then it should be returned as the " |
| 328 |
"sole matching word, even if there is no file with that name." |
| 329 |
msgstr "" |
| 330 |
|
| 331 |
#. type: TP |
| 332 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 333 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 334 |
#, no-wrap |
| 335 |
msgid "B<GLOB_TILDE>" |
| 336 |
msgstr "" |
| 337 |
|
| 338 |
#. type: Plain text |
| 339 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 340 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 341 |
msgid "" |
| 342 |
"Carry out tilde expansion. If a tilde (\\[aq]\\[ti]\\[aq]) is the only " |
| 343 |
"character in the pattern, or an initial tilde is followed immediately by a " |
| 344 |
"slash (\\[aq]/\\[aq]), then the home directory of the caller is substituted " |
| 345 |
"for the tilde. If an initial tilde is followed by a username (e.g., \"\\" |
| 346 |
"[ti]andrea/bin\"), then the tilde and username are substituted by the home " |
| 347 |
"directory of that user. If the username is invalid, or the home directory " |
| 348 |
"cannot be determined, then no substitution is performed." |
| 349 |
msgstr "" |
| 350 |
|
| 351 |
#. type: TP |
| 352 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 353 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 354 |
#, no-wrap |
| 355 |
msgid "B<GLOB_TILDE_CHECK>" |
| 356 |
msgstr "" |
| 357 |
|
| 358 |
#. type: Plain text |
| 359 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 360 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 361 |
msgid "" |
| 362 |
"This provides behavior similar to that of B<GLOB_TILDE>. The difference is " |
| 363 |
"that if the username is invalid, or the home directory cannot be determined, " |
| 364 |
"then instead of using the pattern itself as the name, B<glob>() returns " |
| 365 |
"B<GLOB_NOMATCH> to indicate an error." |
| 366 |
msgstr "" |
| 367 |
|
| 368 |
#. type: TP |
| 369 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 370 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 371 |
#, no-wrap |
| 372 |
msgid "B<GLOB_ONLYDIR>" |
| 373 |
msgstr "" |
| 374 |
|
| 375 |
#. type: Plain text |
| 376 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 377 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 378 |
msgid "" |
| 379 |
"This is a I<hint> to B<glob>() that the caller is interested only in " |
| 380 |
"directories that match the pattern. If the implementation can easily " |
| 381 |
"determine file-type information, then nondirectory files are not returned to " |
| 382 |
"the caller. However, the caller must still check that returned files are " |
| 383 |
"directories. (The purpose of this flag is merely to optimize performance " |
| 384 |
"when the caller is interested only in directories.)" |
| 385 |
msgstr "" |
| 386 |
|
| 387 |
#. type: Plain text |
| 388 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 389 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 390 |
msgid "" |
| 391 |
"If I<errfunc> is not NULL, it will be called in case of an error with the " |
| 392 |
"arguments I<epath>, a pointer to the path which failed, and I<eerrno>, the " |
| 393 |
"value of I<errno> as returned from one of the calls to B<opendir>(3), " |
| 394 |
"B<readdir>(3), or B<stat>(2). If I<errfunc> returns nonzero, or if " |
| 395 |
"B<GLOB_ERR> is set, B<glob>() will terminate after the call to I<errfunc>." |
| 396 |
msgstr "" |
| 397 |
|
| 398 |
#. type: Plain text |
| 399 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 400 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 401 |
msgid "" |
| 402 |
"Upon successful return, I<pglob-E<gt>gl_pathc> contains the number of " |
| 403 |
"matched pathnames and I<pglob-E<gt>gl_pathv> contains a pointer to the list " |
| 404 |
"of pointers to matched pathnames. The list of pointers is terminated by a " |
| 405 |
"null pointer." |
| 406 |
msgstr "" |
| 407 |
|
| 408 |
#. type: Plain text |
| 409 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 410 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 411 |
msgid "" |
| 412 |
"It is possible to call B<glob>() several times. In that case, the " |
| 413 |
"B<GLOB_APPEND> flag has to be set in I<flags> on the second and later " |
| 414 |
"invocations." |
| 415 |
msgstr "" |
| 416 |
|
| 417 |
#. type: Plain text |
| 418 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 419 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 420 |
msgid "" |
| 421 |
"As a GNU extension, I<pglob-E<gt>gl_flags> is set to the flags specified, " |
| 422 |
"B<or>ed with B<GLOB_MAGCHAR> if any metacharacters were found." |
| 423 |
msgstr "" |
| 424 |
|
| 425 |
#. type: SH |
| 426 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 427 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 428 |
#, no-wrap |
| 429 |
msgid "RETURN VALUE" |
| 430 |
msgstr "" |
| 431 |
|
| 432 |
#. type: Plain text |
| 433 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 434 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 435 |
msgid "" |
| 436 |
"On successful completion, B<glob>() returns zero. Other possible returns " |
| 437 |
"are:" |
| 438 |
msgstr "" |
| 439 |
|
| 440 |
#. type: TP |
| 441 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 442 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 443 |
#, no-wrap |
| 444 |
msgid "B<GLOB_NOSPACE>" |
| 445 |
msgstr "" |
| 446 |
|
| 447 |
#. type: Plain text |
| 448 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 449 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 450 |
msgid "for running out of memory," |
| 451 |
msgstr "" |
| 452 |
|
| 453 |
#. type: TP |
| 454 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 455 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 456 |
#, no-wrap |
| 457 |
msgid "B<GLOB_ABORTED>" |
| 458 |
msgstr "" |
| 459 |
|
| 460 |
#. type: Plain text |
| 461 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 462 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 463 |
msgid "for a read error, and" |
| 464 |
msgstr "" |
| 465 |
|
| 466 |
#. type: TP |
| 467 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 468 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 469 |
#, no-wrap |
| 470 |
msgid "B<GLOB_NOMATCH>" |
| 471 |
msgstr "" |
| 472 |
|
| 473 |
#. type: Plain text |
| 474 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 475 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 476 |
msgid "for no found matches." |
| 477 |
msgstr "" |
| 478 |
|
| 479 |
#. type: SH |
| 480 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 481 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 482 |
#, no-wrap |
| 483 |
msgid "ATTRIBUTES" |
| 484 |
msgstr "" |
| 485 |
|
| 486 |
#. type: Plain text |
| 487 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 488 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 489 |
msgid "" |
| 490 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 491 |
msgstr "" |
| 492 |
|
| 493 |
#. type: tbl table |
| 494 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 495 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 496 |
#, no-wrap |
| 497 |
msgid "Interface" |
| 498 |
msgstr "" |
| 499 |
|
| 500 |
#. type: tbl table |
| 501 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 502 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 503 |
#, no-wrap |
| 504 |
msgid "Attribute" |
| 505 |
msgstr "" |
| 506 |
|
| 507 |
#. type: tbl table |
| 508 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 509 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 510 |
#, no-wrap |
| 511 |
msgid "Value" |
| 512 |
msgstr "" |
| 513 |
|
| 514 |
#. type: tbl table |
| 515 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 516 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 517 |
#, no-wrap |
| 518 |
msgid ".na\n" |
| 519 |
msgstr "" |
| 520 |
|
| 521 |
#. type: tbl table |
| 522 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 523 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 524 |
#, no-wrap |
| 525 |
msgid ".nh\n" |
| 526 |
msgstr "" |
| 527 |
|
| 528 |
#. type: tbl table |
| 529 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 530 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 531 |
#, no-wrap |
| 532 |
msgid "B<glob>()" |
| 533 |
msgstr "" |
| 534 |
|
| 535 |
#. type: tbl table |
| 536 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 537 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 538 |
#, no-wrap |
| 539 |
msgid "Thread safety" |
| 540 |
msgstr "" |
| 541 |
|
| 542 |
#. type: tbl table |
| 543 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 544 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 545 |
#, no-wrap |
| 546 |
msgid "" |
| 547 |
"MT-Unsafe race:utent env\n" |
| 548 |
"sig:ALRM timer locale" |
| 549 |
msgstr "" |
| 550 |
|
| 551 |
#. type: tbl table |
| 552 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 553 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 554 |
#, no-wrap |
| 555 |
msgid "B<globfree>()" |
| 556 |
msgstr "" |
| 557 |
|
| 558 |
#. type: tbl table |
| 559 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 560 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 561 |
#, no-wrap |
| 562 |
msgid "MT-Safe" |
| 563 |
msgstr "" |
| 564 |
|
| 565 |
#. type: Plain text |
| 566 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 567 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 568 |
msgid "" |
| 569 |
"In the above table, I<utent> in I<race:utent> signifies that if any of the " |
| 570 |
"functions B<setutent>(3), B<getutent>(3), or B<endutent>(3) are used in " |
| 571 |
"parallel in different threads of a program, then data races could occur. " |
| 572 |
"B<glob>() calls those functions, so we use race:utent to remind users." |
| 573 |
msgstr "" |
| 574 |
|
| 575 |
#. type: SH |
| 576 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 577 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 578 |
#, no-wrap |
| 579 |
msgid "STANDARDS" |
| 580 |
msgstr "" |
| 581 |
|
| 582 |
#. type: Plain text |
| 583 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 584 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 585 |
msgid "POSIX.1-2008." |
| 586 |
msgstr "" |
| 587 |
|
| 588 |
#. type: SH |
| 589 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 590 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 591 |
#, no-wrap |
| 592 |
msgid "HISTORY" |
| 593 |
msgstr "" |
| 594 |
|
| 595 |
#. type: Plain text |
| 596 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 597 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 598 |
msgid "POSIX.1-2001, POSIX.2." |
| 599 |
msgstr "" |
| 600 |
|
| 601 |
#. type: SH |
| 602 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 603 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 604 |
#, no-wrap |
| 605 |
msgid "NOTES" |
| 606 |
msgstr "" |
| 607 |
|
| 608 |
#. type: Plain text |
| 609 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 610 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 611 |
msgid "" |
| 612 |
"The structure elements I<gl_pathc> and I<gl_offs> are declared as I<size_t> " |
| 613 |
"in glibc 2.1, as they should be according to POSIX.2, but are declared as " |
| 614 |
"I<int> in glibc 2.0." |
| 615 |
msgstr "" |
| 616 |
|
| 617 |
#. type: SH |
| 618 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 619 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 620 |
#, no-wrap |
| 621 |
msgid "BUGS" |
| 622 |
msgstr "" |
| 623 |
|
| 624 |
#. type: Plain text |
| 625 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 626 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 627 |
msgid "" |
| 628 |
"The B<glob>() function may fail due to failure of underlying function " |
| 629 |
"calls, such as B<malloc>(3) or B<opendir>(3). These will store their error " |
| 630 |
"code in I<errno>." |
| 631 |
msgstr "" |
| 632 |
|
| 633 |
#. type: SH |
| 634 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 635 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 636 |
#, no-wrap |
| 637 |
msgid "EXAMPLES" |
| 638 |
msgstr "" |
| 639 |
|
| 640 |
#. type: Plain text |
| 641 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 642 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 643 |
msgid "One example of use is the following code, which simulates typing" |
| 644 |
msgstr "" |
| 645 |
|
| 646 |
#. type: Plain text |
| 647 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 648 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 649 |
#, no-wrap |
| 650 |
msgid "ls -l *.c ../*.c\n" |
| 651 |
msgstr "" |
| 652 |
|
| 653 |
#. type: Plain text |
| 654 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 655 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 656 |
msgid "in the shell:" |
| 657 |
msgstr "" |
| 658 |
|
| 659 |
#. type: Plain text |
| 660 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 661 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 662 |
#, no-wrap |
| 663 |
msgid "" |
| 664 |
"glob_t globbuf;\n" |
| 665 |
"\\&\n" |
| 666 |
"globbuf.gl_offs = 2;\n" |
| 667 |
"glob(\"*.c\", GLOB_DOOFFS, NULL, &globbuf);\n" |
| 668 |
"glob(\"../*.c\", GLOB_DOOFFS | GLOB_APPEND, NULL, &globbuf);\n" |
| 669 |
"globbuf.gl_pathv[0] = \"ls\";\n" |
| 670 |
"globbuf.gl_pathv[1] = \"-l\";\n" |
| 671 |
"execvp(\"ls\", &globbuf.gl_pathv[0]);\n" |
| 672 |
msgstr "" |
| 673 |
|
| 674 |
#. type: SH |
| 675 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 676 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 677 |
#, no-wrap |
| 678 |
msgid "SEE ALSO" |
| 679 |
msgstr "" |
| 680 |
|
| 681 |
#. type: Plain text |
| 682 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 683 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 684 |
msgid "" |
| 685 |
"B<ls>(1), B<sh>(1), B<stat>(2), B<exec>(3), B<fnmatch>(3), B<malloc>(3), " |
| 686 |
"B<opendir>(3), B<readdir>(3), B<wordexp>(3), B<glob>(7)" |
| 687 |
msgstr "" |
| 688 |
|
| 689 |
#. type: TH |
| 690 |
#: debian-trixie |
| 691 |
#, no-wrap |
| 692 |
msgid "2024-06-15" |
| 693 |
msgstr "" |
| 694 |
|
| 695 |
#. type: TH |
| 696 |
#: debian-trixie |
| 697 |
#, no-wrap |
| 698 |
msgid "Linux man-pages 6.9.1" |
| 699 |
msgstr "" |
| 700 |
|
| 701 |
#. type: Plain text |
| 702 |
#: debian-trixie |
| 703 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 704 |
msgstr "" |
| 705 |
|
| 706 |
#. type: Plain text |
| 707 |
#: debian-trixie |
| 708 |
#, no-wrap |
| 709 |
msgid "" |
| 710 |
"B<int glob(const char *restrict >I<pattern>B<, int >I<flags>B<,>\n" |
| 711 |
"B< int (*>I<errfunc>B<)(const char *>I<epath>B<, int >I<eerrno>B<),>\n" |
| 712 |
"B< glob_t *restrict >I<pglob>B<);>\n" |
| 713 |
"B<void globfree(glob_t *>I<pglob>B<);>\n" |
| 714 |
msgstr "" |
| 715 |
|
| 716 |
#. type: Plain text |
| 717 |
#: debian-trixie fedora-44 fedora-rawhide |
| 718 |
#, no-wrap |
| 719 |
msgid "" |
| 720 |
"typedef struct {\n" |
| 721 |
" size_t gl_pathc; /* Count of paths matched so far */\n" |
| 722 |
" char **gl_pathv; /* List of matched pathnames. */\n" |
| 723 |
" size_t gl_offs; /* Slots to reserve in I<gl_pathv>. */\n" |
| 724 |
"} glob_t;\n" |
| 725 |
msgstr "" |
| 726 |
|
| 727 |
#. type: TH |
| 728 |
#: fedora-44 fedora-rawhide |
| 729 |
#, no-wrap |
| 730 |
msgid "2024-12-13" |
| 731 |
msgstr "" |
| 732 |
|
| 733 |
#. type: TH |
| 734 |
#: fedora-44 fedora-rawhide |
| 735 |
#, no-wrap |
| 736 |
msgid "Linux man-pages 6.13" |
| 737 |
msgstr "" |
| 738 |
|
| 739 |
#. type: TH |
| 740 |
#: mageia-cauldron |
| 741 |
#, no-wrap |
| 742 |
msgid "Linux man-pages 6.17" |
| 743 |
msgstr "" |
| 744 |
|
| 745 |
#. type: TH |
| 746 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 747 |
#, no-wrap |
| 748 |
msgid "Linux man-pages (unreleased)" |
| 749 |
msgstr "" |