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