| 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 |
msgid "" |
| 6 |
msgstr "" |
| 7 |
"Project-Id-Version: manpages-l10n\n" |
| 8 |
"POT-Creation-Date: 2023-08-27 17:24+0200\n" |
| 9 |
"PO-Revision-Date: 2001-02-24 08:57+0900\n" |
| 10 |
"Last-Translator: 정강훈 <[email protected]>\n" |
| 11 |
"Language-Team: Korean <[email protected]>\n" |
| 12 |
"Language: ko\n" |
| 13 |
"MIME-Version: 1.0\n" |
| 14 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 15 |
"Content-Transfer-Encoding: 8bit\n" |
| 16 |
"Plural-Forms: nplurals=1; plural=0;\n" |
| 17 |
|
| 18 |
#. type: TH |
| 19 |
#: opensuse-leap-15-6 |
| 20 |
#, no-wrap |
| 21 |
msgid "STRCAT" |
| 22 |
msgstr "STRCAT" |
| 23 |
|
| 24 |
#. type: TH |
| 25 |
#: opensuse-leap-15-6 |
| 26 |
#, no-wrap |
| 27 |
msgid "2017-09-15" |
| 28 |
msgstr "2017년 9월 15일" |
| 29 |
|
| 30 |
#. type: TH |
| 31 |
#: opensuse-leap-15-6 |
| 32 |
#, no-wrap |
| 33 |
msgid "GNU" |
| 34 |
msgstr "GNU" |
| 35 |
|
| 36 |
#. type: TH |
| 37 |
#: opensuse-leap-15-6 |
| 38 |
#, no-wrap |
| 39 |
msgid "Linux Programmer's Manual" |
| 40 |
msgstr "리눅스 프로그래머 매뉴얼" |
| 41 |
|
| 42 |
#. type: SH |
| 43 |
#: opensuse-leap-15-6 |
| 44 |
#, no-wrap |
| 45 |
msgid "NAME" |
| 46 |
msgstr "이름" |
| 47 |
|
| 48 |
#. type: Plain text |
| 49 |
#: opensuse-leap-15-6 |
| 50 |
msgid "strcat, strncat - concatenate two strings" |
| 51 |
msgstr "strcat, strncat - 두 문자열을 연결시킨다." |
| 52 |
|
| 53 |
#. type: SH |
| 54 |
#: opensuse-leap-15-6 |
| 55 |
#, no-wrap |
| 56 |
msgid "SYNOPSIS" |
| 57 |
msgstr "요약" |
| 58 |
|
| 59 |
#. type: Plain text |
| 60 |
#: opensuse-leap-15-6 |
| 61 |
#, no-wrap |
| 62 |
msgid "B<#include E<lt>string.hE<gt>>\n" |
| 63 |
msgstr "B<#include E<lt>string.hE<gt>>\n" |
| 64 |
|
| 65 |
#. type: Plain text |
| 66 |
#: opensuse-leap-15-6 |
| 67 |
#, no-wrap |
| 68 |
msgid "B<char *strcat(char *>I<dest>B<, const char *>I<src>B<);>\n" |
| 69 |
msgstr "B<char *strcat(char *>I<dest>B<, const char *>I<src>B<);>\n" |
| 70 |
|
| 71 |
#. type: Plain text |
| 72 |
#: opensuse-leap-15-6 |
| 73 |
#, no-wrap |
| 74 |
msgid "B<char *strncat(char *>I<dest>B<, const char *>I<src>B<, size_t >I<n>B<);>\n" |
| 75 |
msgstr "B<char *strncat(char *>I<dest>B<, const char *>I<src>B<, size_t >I<n>B<);>\n" |
| 76 |
|
| 77 |
#. type: SH |
| 78 |
#: opensuse-leap-15-6 |
| 79 |
#, no-wrap |
| 80 |
msgid "DESCRIPTION" |
| 81 |
msgstr "설명" |
| 82 |
|
| 83 |
#. type: Plain text |
| 84 |
#: opensuse-leap-15-6 |
| 85 |
#, fuzzy |
| 86 |
#| msgid "" |
| 87 |
#| "The B<strcat()> function appends the I<src> string to the I<dest> string " |
| 88 |
#| "overwriting the `\\e0' character at the end of I<dest>, and then adds a " |
| 89 |
#| "terminating `\\e0' character. The strings may not overlap, and the " |
| 90 |
#| "I<dest> string must have enough space for the result." |
| 91 |
msgid "" |
| 92 |
"The B<strcat>() function appends the I<src> string to the I<dest> string, " |
| 93 |
"overwriting the terminating null byte (\\(aq\\e0\\(aq) at the end of " |
| 94 |
"I<dest>, and then adds a terminating null byte. The strings may not " |
| 95 |
"overlap, and the I<dest> string must have enough space for the result. If " |
| 96 |
"I<dest> is not large enough, program behavior is unpredictable; I<buffer " |
| 97 |
"overruns are a favorite avenue for attacking secure programs>." |
| 98 |
msgstr "" |
| 99 |
"B<strcat()> 함수는 I<dest>의 마지막 `\\e0' 문자를 겹쳐서 I<src> 문자열을 " |
| 100 |
"I<dest> 문자열에 추가시킨다. 그리고 마지막에 `\\e0' 문자를 추가시킨다. 문자" |
| 101 |
"열은 중첩되지 않으며 I<dest> 문자열은 결과를 위해 충분한 공간을 가지고 있어" |
| 102 |
"야 한다." |
| 103 |
|
| 104 |
#. type: Plain text |
| 105 |
#: opensuse-leap-15-6 |
| 106 |
msgid "The B<strncat>() function is similar, except that" |
| 107 |
msgstr "" |
| 108 |
|
| 109 |
#. type: IP |
| 110 |
#: opensuse-leap-15-6 |
| 111 |
#, no-wrap |
| 112 |
msgid "*" |
| 113 |
msgstr "*" |
| 114 |
|
| 115 |
#. type: Plain text |
| 116 |
#: opensuse-leap-15-6 |
| 117 |
msgid "it will use at most I<n> bytes from I<src>; and" |
| 118 |
msgstr "" |
| 119 |
|
| 120 |
#. type: Plain text |
| 121 |
#: opensuse-leap-15-6 |
| 122 |
msgid "" |
| 123 |
"I<src> does not need to be null-terminated if it contains I<n> or more bytes." |
| 124 |
msgstr "" |
| 125 |
|
| 126 |
#. type: Plain text |
| 127 |
#: opensuse-leap-15-6 |
| 128 |
msgid "" |
| 129 |
"As with B<strcat>(), the resulting string in I<dest> is always null-" |
| 130 |
"terminated." |
| 131 |
msgstr "" |
| 132 |
|
| 133 |
#. type: Plain text |
| 134 |
#: opensuse-leap-15-6 |
| 135 |
msgid "" |
| 136 |
"If I<src> contains I<n> or more bytes, B<strncat>() writes I<n+1> bytes to " |
| 137 |
"I<dest> (I<n> from I<src> plus the terminating null byte). Therefore, the " |
| 138 |
"size of I<dest> must be at least I<strlen(dest)+n+1>." |
| 139 |
msgstr "" |
| 140 |
|
| 141 |
#. type: Plain text |
| 142 |
#: opensuse-leap-15-6 |
| 143 |
msgid "A simple implementation of B<strncat>() might be:" |
| 144 |
msgstr "" |
| 145 |
|
| 146 |
#. type: Plain text |
| 147 |
#: opensuse-leap-15-6 |
| 148 |
#, no-wrap |
| 149 |
msgid "" |
| 150 |
"char *\n" |
| 151 |
"strncat(char *dest, const char *src, size_t n)\n" |
| 152 |
"{\n" |
| 153 |
" size_t dest_len = strlen(dest);\n" |
| 154 |
" size_t i;\n" |
| 155 |
msgstr "" |
| 156 |
"char *\n" |
| 157 |
"strncat(char *dest, const char *src, size_t n)\n" |
| 158 |
"{\n" |
| 159 |
" size_t dest_len = strlen(dest);\n" |
| 160 |
" size_t i;\n" |
| 161 |
|
| 162 |
#. type: Plain text |
| 163 |
#: opensuse-leap-15-6 |
| 164 |
#, no-wrap |
| 165 |
msgid "" |
| 166 |
" for (i = 0 ; i E<lt> n && src[i] != \\(aq\\e0\\(aq ; i++)\n" |
| 167 |
" dest[dest_len + i] = src[i];\n" |
| 168 |
" dest[dest_len + i] = \\(aq\\e0\\(aq;\n" |
| 169 |
msgstr "" |
| 170 |
" for (i = 0 ; i E<lt> n && src[i] != \\(aq\\e0\\(aq ; i++)\n" |
| 171 |
" dest[dest_len + i] = src[i];\n" |
| 172 |
" dest[dest_len + i] = \\(aq\\e0\\(aq;\n" |
| 173 |
|
| 174 |
#. type: Plain text |
| 175 |
#: opensuse-leap-15-6 |
| 176 |
#, no-wrap |
| 177 |
msgid "" |
| 178 |
" return dest;\n" |
| 179 |
"}\n" |
| 180 |
msgstr "" |
| 181 |
" return dest;\n" |
| 182 |
"}\n" |
| 183 |
|
| 184 |
#. type: SH |
| 185 |
#: opensuse-leap-15-6 |
| 186 |
#, no-wrap |
| 187 |
msgid "RETURN VALUE" |
| 188 |
msgstr "반환값" |
| 189 |
|
| 190 |
#. type: Plain text |
| 191 |
#: opensuse-leap-15-6 |
| 192 |
msgid "" |
| 193 |
"The B<strcat>() and B<strncat>() functions return a pointer to the " |
| 194 |
"resulting string I<dest>." |
| 195 |
msgstr "" |
| 196 |
"B<strcat>()와 B<strncat>() 함수는 결과 스트링 I<dest>에 대한 포인터를 반환한" |
| 197 |
"다." |
| 198 |
|
| 199 |
#. type: SH |
| 200 |
#: opensuse-leap-15-6 |
| 201 |
#, no-wrap |
| 202 |
msgid "ATTRIBUTES" |
| 203 |
msgstr "속성" |
| 204 |
|
| 205 |
#. type: Plain text |
| 206 |
#: opensuse-leap-15-6 |
| 207 |
msgid "" |
| 208 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 209 |
msgstr "" |
| 210 |
"이 섹션에서 사용되는 용어에 대한 설명은 B<attributes>(7)을 참조하십시오." |
| 211 |
|
| 212 |
#. type: tbl table |
| 213 |
#: opensuse-leap-15-6 |
| 214 |
#, no-wrap |
| 215 |
msgid "Interface" |
| 216 |
msgstr "상호 작용" |
| 217 |
|
| 218 |
#. type: tbl table |
| 219 |
#: opensuse-leap-15-6 |
| 220 |
#, no-wrap |
| 221 |
msgid "Attribute" |
| 222 |
msgstr "속성" |
| 223 |
|
| 224 |
#. type: tbl table |
| 225 |
#: opensuse-leap-15-6 |
| 226 |
#, no-wrap |
| 227 |
msgid "Value" |
| 228 |
msgstr "번호" |
| 229 |
|
| 230 |
#. type: tbl table |
| 231 |
#: opensuse-leap-15-6 |
| 232 |
#, no-wrap |
| 233 |
msgid "" |
| 234 |
"B<strcat>(),\n" |
| 235 |
"B<strncat>()" |
| 236 |
msgstr "" |
| 237 |
"B<strcat>(),\n" |
| 238 |
"B<strncat>()" |
| 239 |
|
| 240 |
#. type: tbl table |
| 241 |
#: opensuse-leap-15-6 |
| 242 |
#, no-wrap |
| 243 |
msgid "Thread safety" |
| 244 |
msgstr "" |
| 245 |
|
| 246 |
#. type: tbl table |
| 247 |
#: opensuse-leap-15-6 |
| 248 |
#, no-wrap |
| 249 |
msgid "MT-Safe" |
| 250 |
msgstr "MT-Safe" |
| 251 |
|
| 252 |
#. type: SH |
| 253 |
#: opensuse-leap-15-6 |
| 254 |
#, no-wrap |
| 255 |
msgid "CONFORMING TO" |
| 256 |
msgstr "호환" |
| 257 |
|
| 258 |
#. type: Plain text |
| 259 |
#: opensuse-leap-15-6 |
| 260 |
msgid "POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD." |
| 261 |
msgstr "POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD." |
| 262 |
|
| 263 |
#. type: SH |
| 264 |
#: opensuse-leap-15-6 |
| 265 |
#, no-wrap |
| 266 |
msgid "NOTES" |
| 267 |
msgstr "주의" |
| 268 |
|
| 269 |
#. type: Plain text |
| 270 |
#: opensuse-leap-15-6 |
| 271 |
msgid "" |
| 272 |
"Some systems (the BSDs, Solaris, and others) provide the following function:" |
| 273 |
msgstr "" |
| 274 |
|
| 275 |
#. type: Plain text |
| 276 |
#: opensuse-leap-15-6 |
| 277 |
#, no-wrap |
| 278 |
msgid " size_t strlcat(char *dest, const char *src, size_t size);\n" |
| 279 |
msgstr " size_t strlcat(char *dest, const char *src, size_t size);\n" |
| 280 |
|
| 281 |
#. https://lwn.net/Articles/506530/ |
| 282 |
#. type: Plain text |
| 283 |
#: opensuse-leap-15-6 |
| 284 |
msgid "" |
| 285 |
"This function appends the null-terminated string I<src> to the string " |
| 286 |
"I<dest>, copying at most I<size-strlen(dest)-1> from I<src>, and adds a " |
| 287 |
"terminating null byte to the result, I<unless> I<size> is less than " |
| 288 |
"I<strlen(dest)>. This function fixes the buffer overrun problem of " |
| 289 |
"B<strcat>(), but the caller must still handle the possibility of data loss " |
| 290 |
"if I<size> is too small. The function returns the length of the string " |
| 291 |
"B<strlcat>() tried to create; if the return value is greater than or equal " |
| 292 |
"to I<size>, data loss occurred. If data loss matters, the caller I<must> " |
| 293 |
"either check the arguments before the call, or test the function return " |
| 294 |
"value. B<strlcat>() is not present in glibc and is not standardized by " |
| 295 |
"POSIX, but is available on Linux via the I<libbsd> library." |
| 296 |
msgstr "" |
| 297 |
|
| 298 |
#. type: SH |
| 299 |
#: opensuse-leap-15-6 |
| 300 |
#, no-wrap |
| 301 |
msgid "EXAMPLE" |
| 302 |
msgstr "예제" |
| 303 |
|
| 304 |
#. type: Plain text |
| 305 |
#: opensuse-leap-15-6 |
| 306 |
msgid "" |
| 307 |
"Because B<strcat>() and B<strncat>() must find the null byte that " |
| 308 |
"terminates the string I<dest> using a search that starts at the beginning of " |
| 309 |
"the string, the execution time of these functions scales according to the " |
| 310 |
"length of the string I<dest>. This can be demonstrated by running the " |
| 311 |
"program below. (If the goal is to concatenate many strings to one target, " |
| 312 |
"then manually copying the bytes from each source string while maintaining a " |
| 313 |
"pointer to the end of the target string will provide better performance.)" |
| 314 |
msgstr "" |
| 315 |
|
| 316 |
#. type: SS |
| 317 |
#: opensuse-leap-15-6 |
| 318 |
#, no-wrap |
| 319 |
msgid "Program source" |
| 320 |
msgstr "" |
| 321 |
|
| 322 |
#. type: Plain text |
| 323 |
#: opensuse-leap-15-6 |
| 324 |
#, no-wrap |
| 325 |
msgid "" |
| 326 |
"#include E<lt>string.hE<gt>\n" |
| 327 |
"#include E<lt>time.hE<gt>\n" |
| 328 |
"#include E<lt>stdio.hE<gt>\n" |
| 329 |
msgstr "" |
| 330 |
"#include E<lt>string.hE<gt>\n" |
| 331 |
"#include E<lt>time.hE<gt>\n" |
| 332 |
"#include E<lt>stdio.hE<gt>\n" |
| 333 |
|
| 334 |
#. type: Plain text |
| 335 |
#: opensuse-leap-15-6 |
| 336 |
#, no-wrap |
| 337 |
msgid "" |
| 338 |
"int\n" |
| 339 |
"main(int argc, char *argv[])\n" |
| 340 |
"{\n" |
| 341 |
"#define LIM 4000000\n" |
| 342 |
" int j;\n" |
| 343 |
" char p[LIM];\n" |
| 344 |
" time_t base;\n" |
| 345 |
msgstr "" |
| 346 |
"int\n" |
| 347 |
"main(int argc, char *argv[])\n" |
| 348 |
"{\n" |
| 349 |
"#define LIM 4000000\n" |
| 350 |
" int j;\n" |
| 351 |
" char p[LIM];\n" |
| 352 |
" time_t base;\n" |
| 353 |
|
| 354 |
#. type: Plain text |
| 355 |
#: opensuse-leap-15-6 |
| 356 |
#, no-wrap |
| 357 |
msgid "" |
| 358 |
" base = time(NULL);\n" |
| 359 |
" p[0] = \\(aq\\e0\\(aq;\n" |
| 360 |
msgstr "" |
| 361 |
" base = time(NULL);\n" |
| 362 |
" p[0] = \\(aq\\e0\\(aq;\n" |
| 363 |
|
| 364 |
#. type: Plain text |
| 365 |
#: opensuse-leap-15-6 |
| 366 |
#, no-wrap |
| 367 |
msgid "" |
| 368 |
" for (j = 0; j E<lt> LIM; j++) {\n" |
| 369 |
" if ((j % 10000) == 0)\n" |
| 370 |
" printf(\"%d %ld\\en\", j, (long) (time(NULL) - base));\n" |
| 371 |
" strcat(p, \"a\");\n" |
| 372 |
" }\n" |
| 373 |
"}\n" |
| 374 |
msgstr "" |
| 375 |
" for (j = 0; j E<lt> LIM; j++) {\n" |
| 376 |
" if ((j % 10000) == 0)\n" |
| 377 |
" printf(\"%d %ld\\en\", j, (long) (time(NULL) - base));\n" |
| 378 |
" strcat(p, \"a\");\n" |
| 379 |
" }\n" |
| 380 |
"}\n" |
| 381 |
|
| 382 |
#. type: SH |
| 383 |
#: opensuse-leap-15-6 |
| 384 |
#, no-wrap |
| 385 |
msgid "SEE ALSO" |
| 386 |
msgstr "추가 참조" |
| 387 |
|
| 388 |
#. type: Plain text |
| 389 |
#: opensuse-leap-15-6 |
| 390 |
msgid "" |
| 391 |
"B<bcopy>(3), B<memccpy>(3), B<memcpy>(3), B<strcpy>(3), B<string>(3), " |
| 392 |
"B<strncpy>(3), B<wcscat>(3), B<wcsncat>(3)" |
| 393 |
msgstr "" |
| 394 |
"B<bcopy>(3), B<memccpy>(3), B<memcpy>(3), B<strcpy>(3), B<string>(3), " |
| 395 |
"B<strncpy>(3), B<wcscat>(3), B<wcsncat>(3)" |
| 396 |
|
| 397 |
#. type: SH |
| 398 |
#: opensuse-leap-15-6 |
| 399 |
#, no-wrap |
| 400 |
msgid "COLOPHON" |
| 401 |
msgstr "" |
| 402 |
|
| 403 |
#. type: Plain text |
| 404 |
#: opensuse-leap-15-6 |
| 405 |
msgid "" |
| 406 |
"This page is part of release 4.16 of the Linux I<man-pages> project. A " |
| 407 |
"description of the project, information about reporting bugs, and the latest " |
| 408 |
"version of this page, can be found at \\%https://www.kernel.org/doc/man-" |
| 409 |
"pages/." |
| 410 |
msgstr "" |