| 1 |
# Brazilian Portuguese translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Marcelo M. de Abreu <[email protected]>, 2001. |
| 5 |
# André Luiz Fassone <[email protected]>, 2001. |
| 6 |
msgid "" |
| 7 |
msgstr "" |
| 8 |
"Project-Id-Version: manpages-l10n\n" |
| 9 |
"POT-Creation-Date: 2026-06-05 06:45+0200\n" |
| 10 |
"PO-Revision-Date: 2001-05-31 17:26+0200\n" |
| 11 |
"Last-Translator: André Luiz Fassone <[email protected]>\n" |
| 12 |
"Language-Team: Brazilian Portuguese <debian-l10n-" |
| 13 |
"[email protected]>\n" |
| 14 |
"Language: pt_BR\n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
"Plural-Forms: nplurals=2; plural=(n > 1);\n" |
| 19 |
"X-Generator: Lokalize 20.04.1\n" |
| 20 |
|
| 21 |
#. type: TH |
| 22 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 23 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 24 |
#, fuzzy, no-wrap |
| 25 |
#| msgid "B<strtok>()" |
| 26 |
msgid "strtok" |
| 27 |
msgstr "B<strtok>()" |
| 28 |
|
| 29 |
#. type: TH |
| 30 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 31 |
#, no-wrap |
| 32 |
msgid "2026-02-25" |
| 33 |
msgstr "25 fevereiro 2026" |
| 34 |
|
| 35 |
#. type: TH |
| 36 |
#: archlinux debian-unstable |
| 37 |
#, fuzzy, no-wrap |
| 38 |
#| msgid "Linux man-pages 6.17" |
| 39 |
msgid "Linux man-pages 6.18" |
| 40 |
msgstr "Linux man-pages 6.17" |
| 41 |
|
| 42 |
#. type: SH |
| 43 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 44 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 45 |
#, no-wrap |
| 46 |
msgid "NAME" |
| 47 |
msgstr "NOME" |
| 48 |
|
| 49 |
#. type: Plain text |
| 50 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 51 |
#, fuzzy |
| 52 |
#| msgid "strtok, strtok_r - extract tokens from strings" |
| 53 |
msgid "strtok - extract tokens from strings" |
| 54 |
msgstr "strtok, strtok_r - extrai 'tokens' de sequências de caractere" |
| 55 |
|
| 56 |
#. type: SH |
| 57 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 58 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 59 |
#, no-wrap |
| 60 |
msgid "LIBRARY" |
| 61 |
msgstr "BIBLIOTECA" |
| 62 |
|
| 63 |
#. type: Plain text |
| 64 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 65 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 66 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 67 |
msgstr "Biblioteca C Padrão (I<libc>,\\ I<-lc>)" |
| 68 |
|
| 69 |
#. type: SH |
| 70 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 71 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 72 |
#, no-wrap |
| 73 |
msgid "SYNOPSIS" |
| 74 |
msgstr "SINOPSE" |
| 75 |
|
| 76 |
#. type: Plain text |
| 77 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 78 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 79 |
#, no-wrap |
| 80 |
msgid "B<#include E<lt>string.hE<gt>>\n" |
| 81 |
msgstr "B<#include E<lt>string.hE<gt>>\n" |
| 82 |
|
| 83 |
#. type: Plain text |
| 84 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 85 |
#, no-wrap |
| 86 |
msgid "B<char *strtok(char *_Nullable restrict >I<str>B<, const char *restrict >I<delim>B<);>\n" |
| 87 |
msgstr "" |
| 88 |
|
| 89 |
#. type: SH |
| 90 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 91 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 92 |
#, no-wrap |
| 93 |
msgid "DESCRIPTION" |
| 94 |
msgstr "DESCRIÇÃO" |
| 95 |
|
| 96 |
#. type: Plain text |
| 97 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 98 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 99 |
msgid "" |
| 100 |
"The B<strtok>() function breaks a string into a sequence of zero or more " |
| 101 |
"nonempty tokens. On the first call to B<strtok>(), the string to be parsed " |
| 102 |
"should be specified in I<str>. In each subsequent call that should parse " |
| 103 |
"the same string, I<str> must be NULL." |
| 104 |
msgstr "" |
| 105 |
|
| 106 |
#. type: Plain text |
| 107 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 108 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 109 |
msgid "" |
| 110 |
"The I<delim> argument specifies a set of bytes that delimit the tokens in " |
| 111 |
"the parsed string. The caller may specify different strings in I<delim> in " |
| 112 |
"successive calls that parse the same string." |
| 113 |
msgstr "" |
| 114 |
|
| 115 |
#. type: Plain text |
| 116 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 117 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 118 |
msgid "" |
| 119 |
"Each call to B<strtok>() returns a pointer to a null-terminated string " |
| 120 |
"containing the next token. This string does not include the delimiting " |
| 121 |
"byte. If no more tokens are found, B<strtok>() returns NULL." |
| 122 |
msgstr "" |
| 123 |
|
| 124 |
#. type: Plain text |
| 125 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 126 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 127 |
msgid "" |
| 128 |
"A sequence of calls to B<strtok>() that operate on the same string " |
| 129 |
"maintains a pointer that determines the point from which to start searching " |
| 130 |
"for the next token. The first call to B<strtok>() sets this pointer to " |
| 131 |
"point to the first byte of the string. The start of the next token is " |
| 132 |
"determined by scanning forward for the next nondelimiter byte in I<str>. If " |
| 133 |
"such a byte is found, it is taken as the start of the next token. If no " |
| 134 |
"such byte is found, then there are no more tokens, and B<strtok>() returns " |
| 135 |
"NULL. (A string that is empty or that contains only delimiters will thus " |
| 136 |
"cause B<strtok>() to return NULL on the first call.)" |
| 137 |
msgstr "" |
| 138 |
|
| 139 |
#. type: Plain text |
| 140 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 141 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 142 |
msgid "" |
| 143 |
"The end of each token is found by scanning forward until either the next " |
| 144 |
"delimiter byte is found or until the terminating null byte (\\[aq]\\[rs]0\\" |
| 145 |
"[aq]) is encountered. If a delimiter byte is found, it is overwritten with " |
| 146 |
"a null byte to terminate the current token, and B<strtok>() saves a pointer " |
| 147 |
"to the following byte; that pointer will be used as the starting point when " |
| 148 |
"searching for the next token. In this case, B<strtok>() returns a pointer " |
| 149 |
"to the start of the found token." |
| 150 |
msgstr "" |
| 151 |
|
| 152 |
#. type: Plain text |
| 153 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 154 |
#: opensuse-tumbleweed |
| 155 |
msgid "" |
| 156 |
"From the above description, it follows that a sequence of two or more " |
| 157 |
"contiguous delimiter bytes in the parsed string is considered to be a single " |
| 158 |
"delimiter, and that delimiter bytes at the start or end of the string are " |
| 159 |
"ignored. Put another way: the tokens returned by B<strtok>() are always " |
| 160 |
"nonempty strings. Thus, for example, given the string \\[dq]I<aaa;;bbb,>\\" |
| 161 |
"[dq], successive calls to B<strtok>() that specify the delimiter string \\" |
| 162 |
"[dq]I<;,>\\[dq] would return the strings \\[dq]I<aaa>\\[dq] and \\" |
| 163 |
"[dq]I<bbb>\\[dq], and then a null pointer." |
| 164 |
msgstr "" |
| 165 |
|
| 166 |
#. type: SH |
| 167 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 168 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 169 |
#, no-wrap |
| 170 |
msgid "RETURN VALUE" |
| 171 |
msgstr "VALOR DE RETORNO" |
| 172 |
|
| 173 |
#. type: Plain text |
| 174 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 175 |
#, fuzzy |
| 176 |
#| msgid "" |
| 177 |
#| "The B<strtok()> function returns a pointer to the next token, or NULL if " |
| 178 |
#| "there are no more tokens." |
| 179 |
msgid "" |
| 180 |
"B<strtok>() returns a pointer to the next token, or NULL if there are no " |
| 181 |
"more tokens." |
| 182 |
msgstr "" |
| 183 |
"A função B<strtok()> retorna um ponteiro para o próximo 'token', ou NULO se " |
| 184 |
"não há mais 'tokens'." |
| 185 |
|
| 186 |
#. type: SH |
| 187 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 188 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 189 |
#, no-wrap |
| 190 |
msgid "ATTRIBUTES" |
| 191 |
msgstr "ATRIBUTOS" |
| 192 |
|
| 193 |
#. type: Plain text |
| 194 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 195 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 196 |
msgid "" |
| 197 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 198 |
msgstr "" |
| 199 |
"Para uma explicação dos termos usados nesta seção, consulte B<attributes>(7)." |
| 200 |
|
| 201 |
#. type: tbl table |
| 202 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 203 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 204 |
#, no-wrap |
| 205 |
msgid "Interface" |
| 206 |
msgstr "Interface" |
| 207 |
|
| 208 |
#. type: tbl table |
| 209 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 210 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 211 |
#, no-wrap |
| 212 |
msgid "Attribute" |
| 213 |
msgstr "Atributo" |
| 214 |
|
| 215 |
#. type: tbl table |
| 216 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 217 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 218 |
#, no-wrap |
| 219 |
msgid "Value" |
| 220 |
msgstr "Valor" |
| 221 |
|
| 222 |
#. type: tbl table |
| 223 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 224 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 225 |
#, no-wrap |
| 226 |
msgid ".na\n" |
| 227 |
msgstr ".na\n" |
| 228 |
|
| 229 |
#. type: tbl table |
| 230 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 231 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 232 |
#, no-wrap |
| 233 |
msgid ".nh\n" |
| 234 |
msgstr ".nh\n" |
| 235 |
|
| 236 |
#. #-#-#-#-# archlinux: strtok.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 237 |
#. type: tbl table |
| 238 |
#. #-#-#-#-# debian-trixie: strtok.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 239 |
#. type: TP |
| 240 |
#. #-#-#-#-# debian-unstable: strtok.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 241 |
#. type: tbl table |
| 242 |
#. #-#-#-#-# fedora-44: strtok.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 243 |
#. type: TP |
| 244 |
#. #-#-#-#-# fedora-rawhide: strtok.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 245 |
#. type: TP |
| 246 |
#. #-#-#-#-# mageia-cauldron: strtok.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 247 |
#. type: TP |
| 248 |
#. #-#-#-#-# opensuse-leap-16-1: strtok.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 249 |
#. type: tbl table |
| 250 |
#. #-#-#-#-# opensuse-tumbleweed: strtok.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 251 |
#. type: tbl table |
| 252 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 253 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 254 |
#, no-wrap |
| 255 |
msgid "B<strtok>()" |
| 256 |
msgstr "B<strtok>()" |
| 257 |
|
| 258 |
#. type: tbl table |
| 259 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 260 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 261 |
#, no-wrap |
| 262 |
msgid "Thread safety" |
| 263 |
msgstr "Thread safety" |
| 264 |
|
| 265 |
#. type: tbl table |
| 266 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 267 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 268 |
#, no-wrap |
| 269 |
msgid "MT-Unsafe race:strtok" |
| 270 |
msgstr "" |
| 271 |
|
| 272 |
#. type: SH |
| 273 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 274 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 275 |
#, no-wrap |
| 276 |
msgid "STANDARDS" |
| 277 |
msgstr "PADRÕES" |
| 278 |
|
| 279 |
#. type: Plain text |
| 280 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 281 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 282 |
msgid "C11, POSIX.1-2008." |
| 283 |
msgstr "C11, POSIX.1-2008." |
| 284 |
|
| 285 |
#. type: SH |
| 286 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 287 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 288 |
#, no-wrap |
| 289 |
msgid "HISTORY" |
| 290 |
msgstr "HISTÓRICO" |
| 291 |
|
| 292 |
#. type: Plain text |
| 293 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 294 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 295 |
msgid "POSIX.1-2001, C89, SVr4, 4.3BSD." |
| 296 |
msgstr "POSIX.1-2001, C89, SVr4, 4.3BSD." |
| 297 |
|
| 298 |
#. type: SH |
| 299 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 300 |
#, no-wrap |
| 301 |
msgid "CAVEATS" |
| 302 |
msgstr "" |
| 303 |
|
| 304 |
#. type: Plain text |
| 305 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 306 |
#, fuzzy |
| 307 |
#| msgid "Never use these functions. If you do, note that:" |
| 308 |
msgid "Be cautious when using this function. If you do use it, note that:" |
| 309 |
msgstr "Nunca utilize estas funções. Se o fizer, note que:" |
| 310 |
|
| 311 |
#. type: IP |
| 312 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 313 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 314 |
#, no-wrap |
| 315 |
msgid "\\[bu]" |
| 316 |
msgstr "\\[bu]" |
| 317 |
|
| 318 |
#. type: Plain text |
| 319 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 320 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 321 |
#, fuzzy |
| 322 |
#| msgid "The identity of the delimiting character is lost." |
| 323 |
msgid "The identity of the delimiting byte is lost." |
| 324 |
msgstr "A identidade do caractere delimitador é perdida." |
| 325 |
|
| 326 |
#. type: Plain text |
| 327 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 328 |
#, fuzzy |
| 329 |
#| msgid "" |
| 330 |
#| "The B<strtok>() function uses a static buffer while parsing, so it's not " |
| 331 |
#| "thread safe. Use B<strtok_r>() if this matters to you." |
| 332 |
msgid "" |
| 333 |
"The B<strtok>() function uses a static buffer while parsing, so it's not " |
| 334 |
"thread safe. Use B<strtok_r>(3) if this matters to you." |
| 335 |
msgstr "" |
| 336 |
"A função B<strtok>() utiliza memória estática durante a decomposição, " |
| 337 |
"portante não é segura para 'thread'. Use B<strtok_r>() se isso importa para " |
| 338 |
"você." |
| 339 |
|
| 340 |
#. type: SH |
| 341 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 342 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 343 |
#, no-wrap |
| 344 |
msgid "EXAMPLES" |
| 345 |
msgstr "EXEMPLOS" |
| 346 |
|
| 347 |
#. type: Plain text |
| 348 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 349 |
#, fuzzy |
| 350 |
#| msgid "See B<aio>(7)." |
| 351 |
msgid "See B<getaddrinfo_a>(3)." |
| 352 |
msgstr "Veja B<aio>(7)." |
| 353 |
|
| 354 |
#. type: SH |
| 355 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 356 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 357 |
#, no-wrap |
| 358 |
msgid "SEE ALSO" |
| 359 |
msgstr "VEJA TAMBÉM" |
| 360 |
|
| 361 |
#. type: Plain text |
| 362 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 363 |
#, fuzzy |
| 364 |
#| msgid "" |
| 365 |
#| "B<index>(3), B<memchr>(3), B<rindex>(3), B<strchr>(3), B<string>(3), " |
| 366 |
#| "B<strpbrk>(3), B<strsep>(3), B<strspn>(3), B<strstr>(3), B<wcstok>(3)" |
| 367 |
msgid "" |
| 368 |
"B<memchr>(3), B<strchr>(3), B<string>(3), B<strpbrk>(3), B<strsep>(3), " |
| 369 |
"B<strspn>(3), B<strstr>(3), B<strtok_r>(3), B<wcstok>(3)" |
| 370 |
msgstr "" |
| 371 |
"B<index>(3), B<memchr>(3), B<rindex>(3), B<strchr>(3), B<string>(3), " |
| 372 |
"B<strpbrk>(3), B<strsep>(3), B<strspn>(3), B<strstr>(3), B<wcstok>(3)" |
| 373 |
|
| 374 |
#. type: TH |
| 375 |
#: debian-trixie |
| 376 |
#, no-wrap |
| 377 |
msgid "2024-06-16" |
| 378 |
msgstr "16 junho 2024" |
| 379 |
|
| 380 |
#. type: TH |
| 381 |
#: debian-trixie |
| 382 |
#, no-wrap |
| 383 |
msgid "Linux man-pages 6.9.1" |
| 384 |
msgstr "Linux man-pages 6.9.1" |
| 385 |
|
| 386 |
#. type: Plain text |
| 387 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 388 |
msgid "strtok, strtok_r - extract tokens from strings" |
| 389 |
msgstr "strtok, strtok_r - extrai 'tokens' de sequências de caractere" |
| 390 |
|
| 391 |
#. type: Plain text |
| 392 |
#: debian-trixie |
| 393 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 394 |
msgstr "Biblioteca C Padrão (I<libc>, I<-lc>)" |
| 395 |
|
| 396 |
#. type: Plain text |
| 397 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 398 |
#, no-wrap |
| 399 |
msgid "" |
| 400 |
"B<char *strtok(char *_Nullable restrict >I<str>B<, const char *restrict >I<delim>B<);>\n" |
| 401 |
"B<char *strtok_r(char *_Nullable restrict >I<str>B<, const char *restrict >I<delim>B<,>\n" |
| 402 |
"B< char **restrict >I<saveptr>B<);>\n" |
| 403 |
msgstr "" |
| 404 |
|
| 405 |
#. type: Plain text |
| 406 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 407 |
msgid "" |
| 408 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 409 |
msgstr "" |
| 410 |
"Requisitos de macro de teste de recursos para o glibc (consulte " |
| 411 |
"B<feature_test_macros>(7)):" |
| 412 |
|
| 413 |
#. type: Plain text |
| 414 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 415 |
#, fuzzy |
| 416 |
#| msgid "B<strtok_r>()" |
| 417 |
msgid "B<strtok_r>():" |
| 418 |
msgstr "B<strtok_r>()" |
| 419 |
|
| 420 |
#. type: Plain text |
| 421 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 422 |
#, no-wrap |
| 423 |
msgid "" |
| 424 |
" _POSIX_C_SOURCE\n" |
| 425 |
" || /* glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n" |
| 426 |
msgstr "" |
| 427 |
" _POSIX_C_SOURCE\n" |
| 428 |
" || /* glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n" |
| 429 |
|
| 430 |
#. type: Plain text |
| 431 |
#: debian-trixie fedora-44 fedora-rawhide |
| 432 |
msgid "" |
| 433 |
"From the above description, it follows that a sequence of two or more " |
| 434 |
"contiguous delimiter bytes in the parsed string is considered to be a single " |
| 435 |
"delimiter, and that delimiter bytes at the start or end of the string are " |
| 436 |
"ignored. Put another way: the tokens returned by B<strtok>() are always " |
| 437 |
"nonempty strings. Thus, for example, given the string \"I<aaa;;bbb,>\", " |
| 438 |
"successive calls to B<strtok>() that specify the delimiter string \"I<;,>\" " |
| 439 |
"would return the strings \"I<aaa>\" and \"I<bbb>\", and then a null pointer." |
| 440 |
msgstr "" |
| 441 |
|
| 442 |
#. type: Plain text |
| 443 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 444 |
msgid "" |
| 445 |
"The B<strtok_r>() function is a reentrant version of B<strtok>(). The " |
| 446 |
"I<saveptr> argument is a pointer to a I<char\\ *> variable that is used " |
| 447 |
"internally by B<strtok_r>() in order to maintain context between successive " |
| 448 |
"calls that parse the same string." |
| 449 |
msgstr "" |
| 450 |
|
| 451 |
#. type: Plain text |
| 452 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 453 |
msgid "" |
| 454 |
"On the first call to B<strtok_r>(), I<str> should point to the string to be " |
| 455 |
"parsed, and the value of I<*saveptr> is ignored (but see VERSIONS). In " |
| 456 |
"subsequent calls, I<str> should be NULL, and I<saveptr> (and the buffer that " |
| 457 |
"it points to) should be unchanged since the previous call." |
| 458 |
msgstr "" |
| 459 |
|
| 460 |
#. type: Plain text |
| 461 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 462 |
msgid "" |
| 463 |
"Different strings may be parsed concurrently using sequences of calls to " |
| 464 |
"B<strtok_r>() that specify different I<saveptr> arguments." |
| 465 |
msgstr "" |
| 466 |
|
| 467 |
#. type: Plain text |
| 468 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 469 |
#, fuzzy |
| 470 |
#| msgid "" |
| 471 |
#| "The B<strtok()> function returns a pointer to the next token, or NULL if " |
| 472 |
#| "there are no more tokens." |
| 473 |
msgid "" |
| 474 |
"The B<strtok>() and B<strtok_r>() functions return a pointer to the next " |
| 475 |
"token, or NULL if there are no more tokens." |
| 476 |
msgstr "" |
| 477 |
"A função B<strtok()> retorna um ponteiro para o próximo 'token', ou NULO se " |
| 478 |
"não há mais 'tokens'." |
| 479 |
|
| 480 |
#. type: TP |
| 481 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 482 |
#, no-wrap |
| 483 |
msgid "B<strtok_r>()" |
| 484 |
msgstr "B<strtok_r>()" |
| 485 |
|
| 486 |
#. type: tbl table |
| 487 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 488 |
#, no-wrap |
| 489 |
msgid "MT-Safe" |
| 490 |
msgstr "MT-Safe" |
| 491 |
|
| 492 |
#. type: SH |
| 493 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 494 |
#, no-wrap |
| 495 |
msgid "VERSIONS" |
| 496 |
msgstr "VERSÕES" |
| 497 |
|
| 498 |
#. Tru64, according to its manual page |
| 499 |
#. type: Plain text |
| 500 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 501 |
msgid "" |
| 502 |
"On some implementations, I<*saveptr> is required to be NULL on the first " |
| 503 |
"call to B<strtok_r>() that is being used to parse I<str>." |
| 504 |
msgstr "" |
| 505 |
|
| 506 |
#. type: Plain text |
| 507 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 508 |
msgid "POSIX.1-2008." |
| 509 |
msgstr "POSIX.1-2008." |
| 510 |
|
| 511 |
#. type: Plain text |
| 512 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 513 |
msgid "POSIX.1-2001." |
| 514 |
msgstr "POSIX.1-2001." |
| 515 |
|
| 516 |
#. type: SH |
| 517 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 518 |
#, no-wrap |
| 519 |
msgid "BUGS" |
| 520 |
msgstr "BUGS" |
| 521 |
|
| 522 |
#. type: Plain text |
| 523 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 524 |
#, fuzzy |
| 525 |
#| msgid "Never use these functions. If you do, note that:" |
| 526 |
msgid "Be cautious when using these functions. If you do use them, note that:" |
| 527 |
msgstr "Nunca utilize estas funções. Se o fizer, note que:" |
| 528 |
|
| 529 |
#. type: Plain text |
| 530 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 531 |
msgid "These functions modify their first argument." |
| 532 |
msgstr "Estas funções modificam seu primeiro argumento." |
| 533 |
|
| 534 |
#. type: Plain text |
| 535 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 536 |
msgid "These functions cannot be used on constant strings." |
| 537 |
msgstr "Estas funções não podem ser usadas em sequências constantes." |
| 538 |
|
| 539 |
#. type: Plain text |
| 540 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 541 |
msgid "" |
| 542 |
"The B<strtok>() function uses a static buffer while parsing, so it's not " |
| 543 |
"thread safe. Use B<strtok_r>() if this matters to you." |
| 544 |
msgstr "" |
| 545 |
"A função B<strtok>() utiliza memória estática durante a decomposição, " |
| 546 |
"portante não é segura para 'thread'. Use B<strtok_r>() se isso importa para " |
| 547 |
"você." |
| 548 |
|
| 549 |
#. type: Plain text |
| 550 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 551 |
msgid "" |
| 552 |
"The program below uses nested loops that employ B<strtok_r>() to break a " |
| 553 |
"string into a two-level hierarchy of tokens. The first command-line " |
| 554 |
"argument specifies the string to be parsed. The second argument specifies " |
| 555 |
"the delimiter byte(s) to be used to separate that string into \"major\" " |
| 556 |
"tokens. The third argument specifies the delimiter byte(s) to be used to " |
| 557 |
"separate the \"major\" tokens into subtokens." |
| 558 |
msgstr "" |
| 559 |
|
| 560 |
#. type: Plain text |
| 561 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 562 |
msgid "An example of the output produced by this program is the following:" |
| 563 |
msgstr "" |
| 564 |
|
| 565 |
#. type: Plain text |
| 566 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 567 |
#, fuzzy, no-wrap |
| 568 |
#| msgid "" |
| 569 |
#| "$B< ./a.out \\(aqa/bbb///cc;xxx:yyy:\\(aq \\(aq:;\\(aq \\(aq/\\(aq>\n" |
| 570 |
#| "1: a/bbb///cc\n" |
| 571 |
#| " --E<gt> a\n" |
| 572 |
#| " --E<gt> bbb\n" |
| 573 |
#| " --E<gt> cc\n" |
| 574 |
#| "2: xxx\n" |
| 575 |
#| " --E<gt> xxx\n" |
| 576 |
#| "3: yyy\n" |
| 577 |
#| " --E<gt> yyy\n" |
| 578 |
msgid "" |
| 579 |
"$B< ./a.out \\[aq]a/bbb///cc;xxx:yyy:\\[aq] \\[aq]:;\\[aq] \\[aq]/\\[aq]>\n" |
| 580 |
"1: a/bbb///cc\n" |
| 581 |
" --E<gt> a\n" |
| 582 |
" --E<gt> bbb\n" |
| 583 |
" --E<gt> cc\n" |
| 584 |
"2: xxx\n" |
| 585 |
" --E<gt> xxx\n" |
| 586 |
"3: yyy\n" |
| 587 |
" --E<gt> yyy\n" |
| 588 |
msgstr "" |
| 589 |
"$B< ./a.out \\(aqa/bbb///cc;xxx:yyy:\\(aq \\(aq:;\\(aq \\(aq/\\(aq>\n" |
| 590 |
"1: a/bbb///cc\n" |
| 591 |
" --E<gt> a\n" |
| 592 |
" --E<gt> bbb\n" |
| 593 |
" --E<gt> cc\n" |
| 594 |
"2: xxx\n" |
| 595 |
" --E<gt> xxx\n" |
| 596 |
"3: yyy\n" |
| 597 |
" --E<gt> yyy\n" |
| 598 |
|
| 599 |
#. type: SS |
| 600 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 601 |
#, no-wrap |
| 602 |
msgid "Program source" |
| 603 |
msgstr "Fonte do programa" |
| 604 |
|
| 605 |
#. type: Plain text |
| 606 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 607 |
#, no-wrap |
| 608 |
msgid "" |
| 609 |
"#include E<lt>stdio.hE<gt>\n" |
| 610 |
"#include E<lt>stdlib.hE<gt>\n" |
| 611 |
"#include E<lt>string.hE<gt>\n" |
| 612 |
"\\&\n" |
| 613 |
"int\n" |
| 614 |
"main(int argc, char *argv[])\n" |
| 615 |
"{\n" |
| 616 |
" char *str1, *str2, *token, *subtoken;\n" |
| 617 |
" char *saveptr1, *saveptr2;\n" |
| 618 |
" int j;\n" |
| 619 |
"\\&\n" |
| 620 |
" if (argc != 4) {\n" |
| 621 |
" fprintf(stderr, \"Usage: %s string delim subdelim\\[rs]n\",\n" |
| 622 |
" argv[0]);\n" |
| 623 |
" exit(EXIT_FAILURE);\n" |
| 624 |
" }\n" |
| 625 |
"\\&\n" |
| 626 |
" for (j = 1, str1 = argv[1]; ; j++, str1 = NULL) {\n" |
| 627 |
" token = strtok_r(str1, argv[2], &saveptr1);\n" |
| 628 |
" if (token == NULL)\n" |
| 629 |
" break;\n" |
| 630 |
" printf(\"%d: %s\\[rs]n\", j, token);\n" |
| 631 |
"\\&\n" |
| 632 |
" for (str2 = token; ; str2 = NULL) {\n" |
| 633 |
" subtoken = strtok_r(str2, argv[3], &saveptr2);\n" |
| 634 |
" if (subtoken == NULL)\n" |
| 635 |
" break;\n" |
| 636 |
" printf(\"\\[rs]t --E<gt> %s\\[rs]n\", subtoken);\n" |
| 637 |
" }\n" |
| 638 |
" }\n" |
| 639 |
"\\&\n" |
| 640 |
" exit(EXIT_SUCCESS);\n" |
| 641 |
"}\n" |
| 642 |
msgstr "" |
| 643 |
|
| 644 |
#. type: Plain text |
| 645 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 646 |
msgid "" |
| 647 |
"Another example program using B<strtok>() can be found in " |
| 648 |
"B<getaddrinfo_a>(3)." |
| 649 |
msgstr "" |
| 650 |
|
| 651 |
#. type: Plain text |
| 652 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 653 |
#, fuzzy |
| 654 |
#| msgid "" |
| 655 |
#| "B<index>(3), B<memchr>(3), B<rindex>(3), B<strchr>(3), B<string>(3), " |
| 656 |
#| "B<strpbrk>(3), B<strsep>(3), B<strspn>(3), B<strstr>(3), B<wcstok>(3)" |
| 657 |
msgid "" |
| 658 |
"B<memchr>(3), B<strchr>(3), B<string>(3), B<strpbrk>(3), B<strsep>(3), " |
| 659 |
"B<strspn>(3), B<strstr>(3), B<wcstok>(3)" |
| 660 |
msgstr "" |
| 661 |
"B<index>(3), B<memchr>(3), B<rindex>(3), B<strchr>(3), B<string>(3), " |
| 662 |
"B<strpbrk>(3), B<strsep>(3), B<strspn>(3), B<strstr>(3), B<wcstok>(3)" |
| 663 |
|
| 664 |
#. type: TH |
| 665 |
#: fedora-44 fedora-rawhide |
| 666 |
#, no-wrap |
| 667 |
msgid "2024-07-23" |
| 668 |
msgstr "23 julho 2024" |
| 669 |
|
| 670 |
#. type: TH |
| 671 |
#: fedora-44 fedora-rawhide |
| 672 |
#, no-wrap |
| 673 |
msgid "Linux man-pages 6.13" |
| 674 |
msgstr "Linux man-pages 6.13" |
| 675 |
|
| 676 |
#. type: TH |
| 677 |
#: mageia-cauldron |
| 678 |
#, no-wrap |
| 679 |
msgid "2026-02-08" |
| 680 |
msgstr "8 fevereiro 2026" |
| 681 |
|
| 682 |
#. type: TH |
| 683 |
#: mageia-cauldron |
| 684 |
#, no-wrap |
| 685 |
msgid "Linux man-pages 6.17" |
| 686 |
msgstr "Linux man-pages 6.17" |
| 687 |
|
| 688 |
#. type: TH |
| 689 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 690 |
#, no-wrap |
| 691 |
msgid "Linux man-pages (unreleased)" |
| 692 |
msgstr "Linux man-pages (não lançado)" |