Debian Codegraph @

po/ko/man3/strcpy.3.po

raw
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: 2026-06-05 06:45+0200\n"
9 "PO-Revision-Date: 2001-02-20 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 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
20 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
21 #, no-wrap
22 msgid "strcpy"
23 msgstr "strcpy"
24
25 #. type: TH
26 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
27 #, no-wrap
28 msgid "2026-02-25"
29 msgstr "2026년 2월 25일"
30
31 #. type: TH
32 #: archlinux debian-unstable
33 #, no-wrap
34 msgid "Linux man-pages 6.18"
35 msgstr "Linux man-pages 6.18"
36
37 #. type: SH
38 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
39 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
40 #, no-wrap
41 msgid "NAME"
42 msgstr "이름"
43
44 #. type: Plain text
45 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
46 #, fuzzy
47 #| msgid "strcpy, strncpy - copy a string"
48 msgid "strcpy, strcat - copy or catenate a string"
49 msgstr "strcpy, strncpy - 문자열 복사하기."
50
51 #. type: SH
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 #, no-wrap
55 msgid "LIBRARY"
56 msgstr "라이브러리"
57
58 #. type: Plain text
59 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
60 #: opensuse-leap-16-1 opensuse-tumbleweed
61 msgid "Standard C library (I<libc>,\\ I<-lc>)"
62 msgstr "표준 C 라이브러리 (I<libc>,\\ I<-lc>)"
63
64 #. type: SH
65 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
66 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
67 #, no-wrap
68 msgid "SYNOPSIS"
69 msgstr "요약"
70
71 #. type: Plain text
72 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
73 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
74 #, no-wrap
75 msgid "B<#include E<lt>string.hE<gt>>\n"
76 msgstr "B<#include E<lt>string.hE<gt>>\n"
77
78 #. type: Plain text
79 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
80 #, fuzzy, no-wrap
81 #| msgid ""
82 #| "B<char *stpcpy(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n"
83 #| "B<char *strcpy(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n"
84 #| "B<char *strcat(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n"
85 msgid ""
86 "B<char *strcpy(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n"
87 "B<char *strcat(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n"
88 msgstr ""
89 "B<char *stpcpy(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n"
90 "B<char *strcpy(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n"
91 "B<char *strcat(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n"
92
93 #. type: SH
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 #, no-wrap
97 msgid "DESCRIPTION"
98 msgstr "설명"
99
100 #. type: TP
101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
103 #, no-wrap
104 msgid "B<strcpy>()"
105 msgstr "B<strcpy>()"
106
107 #. type: Plain text
108 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
109 msgid ""
110 "This function copies the string pointed to by I<src>, into a string at the "
111 "buffer pointed to by I<dst>. The programmer is responsible for allocating a "
112 "destination buffer large enough, that is, I<strlen(src) + 1>."
113 msgstr ""
114
115 #. type: Plain text
116 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
117 msgid "It is equivalent to"
118 msgstr ""
119
120 #. type: Plain text
121 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
122 #, no-wrap
123 msgid "stpcpy(dst, src), dst\n"
124 msgstr ""
125
126 #. #-#-#-#-# archlinux: strcpy.3.pot (PACKAGE VERSION) #-#-#-#-#
127 #. type: TP
128 #. #-#-#-#-# debian-trixie: strcpy.3.pot (PACKAGE VERSION) #-#-#-#-#
129 #. type: TQ
130 #. #-#-#-#-# debian-unstable: strcpy.3.pot (PACKAGE VERSION) #-#-#-#-#
131 #. type: TP
132 #. #-#-#-#-# fedora-44: strcpy.3.pot (PACKAGE VERSION) #-#-#-#-#
133 #. type: TQ
134 #. #-#-#-#-# fedora-rawhide: strcpy.3.pot (PACKAGE VERSION) #-#-#-#-#
135 #. type: TQ
136 #. #-#-#-#-# mageia-cauldron: strcpy.3.pot (PACKAGE VERSION) #-#-#-#-#
137 #. type: TQ
138 #. #-#-#-#-# opensuse-leap-16-1: strcpy.3.pot (PACKAGE VERSION) #-#-#-#-#
139 #. type: TP
140 #. #-#-#-#-# opensuse-tumbleweed: strcpy.3.pot (PACKAGE VERSION) #-#-#-#-#
141 #. type: TP
142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
143 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
144 #, no-wrap
145 msgid "B<strcat>()"
146 msgstr "B<strcat>()"
147
148 #. type: Plain text
149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
151 msgid ""
152 "This function catenates the string pointed to by I<src>, after the string "
153 "pointed to by I<dst> (overwriting its terminating null byte). The "
154 "programmer is responsible for allocating a destination buffer large enough, "
155 "that is, I<strlen(dst) + strlen(src) + 1>."
156 msgstr ""
157
158 #. type: Plain text
159 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
160 #, no-wrap
161 msgid "stpcpy(strnul(dst), src), dst\n"
162 msgstr ""
163
164 #. type: SH
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 #, no-wrap
168 msgid "RETURN VALUE"
169 msgstr "반환값"
170
171 #. type: Plain text
172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
174 #, fuzzy
175 #| msgid "These functions are always successful."
176 msgid "These functions return I<dst>."
177 msgstr "이 함수들은 항상 성공한다."
178
179 #. type: SH
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 #, no-wrap
183 msgid "ATTRIBUTES"
184 msgstr "속성"
185
186 #. type: Plain text
187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
189 msgid ""
190 "For an explanation of the terms used in this section, see B<attributes>(7)."
191 msgstr ""
192 "이 섹션에서 사용되는 용어에 대한 설명은 B<attributes>(7)을 참조하십시오."
193
194 #. type: tbl table
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 #, no-wrap
198 msgid "Interface"
199 msgstr "상호 작용"
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 "Attribute"
206 msgstr "속성"
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 "Value"
213 msgstr "번호"
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 ".na\n"
220 msgstr ".na\n"
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 ".nh\n"
227 msgstr ".nh\n"
228
229 #. type: tbl table
230 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
231 #, fuzzy, no-wrap
232 #| msgid ""
233 #| "B<stpcpy>(),\n"
234 #| "B<strcpy>(),\n"
235 #| "B<strcat>()"
236 msgid ""
237 "B<strcpy>(),\n"
238 "B<strcat>()"
239 msgstr ""
240 "B<stpcpy>(),\n"
241 "B<strcpy>(),\n"
242 "B<strcat>()"
243
244 #. type: tbl table
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, no-wrap
248 msgid "Thread safety"
249 msgstr ""
250
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 "MT-Safe"
256 msgstr "MT-Safe"
257
258 #. type: SH
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 #, no-wrap
262 msgid "STANDARDS"
263 msgstr "표준"
264
265 #. type: Plain text
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 msgid "C11, POSIX.1-2008."
269 msgstr "C11, POSIX.1-2008."
270
271 #. type: SH
272 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
273 #, no-wrap
274 msgid "HISTORY"
275 msgstr "이력"
276
277 #. type: Plain text
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 msgid "POSIX.1-2001, C89, SVr4, 4.3BSD."
281 msgstr "POSIX.1-2001, C89, SVr4, 4.3BSD."
282
283 #. type: SH
284 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
285 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
286 #, no-wrap
287 msgid "CAVEATS"
288 msgstr ""
289
290 #. type: Plain text
291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
293 msgid "The strings I<src> and I<dst> may not overlap."
294 msgstr ""
295
296 #. type: Plain text
297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
299 msgid ""
300 "If the destination buffer is not large enough, the behavior is undefined. "
301 "See B<_FORTIFY_SOURCE> in B<feature_test_macros>(7)."
302 msgstr ""
303
304 #. type: Plain text
305 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
306 #: opensuse-tumbleweed
307 msgid ""
308 "B<strcat>() can be very inefficient. Read about E<.UR https:\\://"
309 "www.joelonsoftware.com/\\:2001/12/11/\\:back-to-basics/> Shlemiel the "
310 "painter E<.UE .>"
311 msgstr ""
312
313 #. type: SH
314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
316 #, no-wrap
317 msgid "EXAMPLES"
318 msgstr "폐제"
319
320 #. type: Plain text
321 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
322 #, no-wrap
323 msgid ""
324 "#include E<lt>err.hE<gt>\n"
325 "#include E<lt>stdio.hE<gt>\n"
326 "#include E<lt>stdlib.hE<gt>\n"
327 "#include E<lt>string.hE<gt>\n"
328 "\\&\n"
329 "int\n"
330 "main(void)\n"
331 "{\n"
332 " char *buf1;\n"
333 " size_t len, size;\n"
334 "\\&\n"
335 " size = strlen(\"Hello \") + strlen(\"world\") + strlen(\"!\") + 1;\n"
336 " buf1 = malloc(sizeof(*buf1) * size);\n"
337 " if (buf1 == NULL)\n"
338 " err(EXIT_FAILURE, \"malloc()\");\n"
339 "\\&\n"
340 " strcpy(buf1, \"Hello \");\n"
341 " strcat(buf1, \"world\");\n"
342 " strcat(buf1, \"!\");\n"
343 " len = strlen(buf1);\n"
344 "\\&\n"
345 " printf(\"[len = %zu]: \", len);\n"
346 " puts(buf1); // \"Hello world!\"\n"
347 " free(buf1);\n"
348 "\\&\n"
349 " exit(EXIT_SUCCESS);\n"
350 "}\n"
351 msgstr ""
352
353 #. SRC END
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 "추가 참조"
360
361 #. type: Plain text
362 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
363 #, fuzzy
364 #| msgid "B<strdup>(3), B<string>(3), B<wcscpy>(3), B<string_copying>(7)"
365 msgid ""
366 "B<stpcpy>(3), B<strdup>(3), B<string>(3), B<wcscpy>(3), B<string_copying>(7)"
367 msgstr "B<strdup>(3), B<string>(3), B<wcscpy>(3), B<string_copying>(7)"
368
369 #. type: TH
370 #: debian-trixie
371 #, no-wrap
372 msgid "2024-06-15"
373 msgstr "2024년 6월 15일"
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 #, fuzzy
384 #| msgid "strcpy, strncpy - copy a string"
385 msgid "stpcpy, strcpy, strcat - copy or catenate a string"
386 msgstr "strcpy, strncpy - 문자열 복사하기."
387
388 #. type: Plain text
389 #: debian-trixie
390 msgid "Standard C library (I<libc>, I<-lc>)"
391 msgstr "표준 C 라이브러리 (I<libc>, I<-lc>)"
392
393 #. type: Plain text
394 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
395 #, no-wrap
396 msgid ""
397 "B<char *stpcpy(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n"
398 "B<char *strcpy(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n"
399 "B<char *strcat(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n"
400 msgstr ""
401 "B<char *stpcpy(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n"
402 "B<char *strcpy(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n"
403 "B<char *strcat(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n"
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 "c"
410
411 #. type: Plain text
412 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
413 msgid "B<stpcpy>():"
414 msgstr "B<stpcpy>():"
415
416 #. type: Plain text
417 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
418 #, no-wrap
419 msgid ""
420 " Since glibc 2.10:\n"
421 " _POSIX_C_SOURCE E<gt>= 200809L\n"
422 " Before glibc 2.10:\n"
423 " _GNU_SOURCE\n"
424 msgstr ""
425
426 #. type: TP
427 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
428 #, no-wrap
429 msgid "B<stpcpy>()"
430 msgstr "B<stpcpy>()"
431
432 #. type: Plain text
433 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
434 msgid ""
435 "These functions copy the string pointed to by I<src>, into a string at the "
436 "buffer pointed to by I<dst>. The programmer is responsible for allocating a "
437 "destination buffer large enough, that is, I<strlen(src) + 1>. For the "
438 "difference between the two functions, see RETURN VALUE."
439 msgstr ""
440
441 #. type: Plain text
442 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
443 msgid "An implementation of these functions might be:"
444 msgstr ""
445
446 #. type: Plain text
447 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
448 #, no-wrap
449 msgid ""
450 "char *\n"
451 "stpcpy(char *restrict dst, const char *restrict src)\n"
452 "{\n"
453 " char *p;\n"
454 "\\&\n"
455 " p = mempcpy(dst, src, strlen(src));\n"
456 " *p = \\[aq]\\[rs]0\\[aq];\n"
457 "\\&\n"
458 " return p;\n"
459 "}\n"
460 "\\&\n"
461 "char *\n"
462 "strcpy(char *restrict dst, const char *restrict src)\n"
463 "{\n"
464 " stpcpy(dst, src);\n"
465 " return dst;\n"
466 "}\n"
467 "\\&\n"
468 "char *\n"
469 "strcat(char *restrict dst, const char *restrict src)\n"
470 "{\n"
471 " stpcpy(dst + strlen(dst), src);\n"
472 " return dst;\n"
473 "}\n"
474 msgstr ""
475
476 #. type: Plain text
477 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
478 msgid ""
479 "This function returns a pointer to the terminating null byte of the copied "
480 "string."
481 msgstr ""
482
483 #. type: tbl table
484 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
485 #, no-wrap
486 msgid ""
487 "B<stpcpy>(),\n"
488 "B<strcpy>(),\n"
489 "B<strcat>()"
490 msgstr ""
491 "B<stpcpy>(),\n"
492 "B<strcpy>(),\n"
493 "B<strcat>()"
494
495 #. type: Plain text
496 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
497 msgid "POSIX.1-2008."
498 msgstr "POSIX.1-2008."
499
500 #. type: Plain text
501 #: debian-trixie fedora-44 fedora-rawhide
502 msgid ""
503 "B<strcat>() can be very inefficient. Read about E<.UR https://"
504 "www.joelonsoftware.com/\\:2001/12/11/\\:back-to-basics/> Shlemiel the "
505 "painter E<.UE .>"
506 msgstr ""
507
508 #. type: Plain text
509 #: debian-trixie
510 #, no-wrap
511 msgid ""
512 "#include E<lt>err.hE<gt>\n"
513 "#include E<lt>stdio.hE<gt>\n"
514 "#include E<lt>stdlib.hE<gt>\n"
515 "#include E<lt>string.hE<gt>\n"
516 "\\&\n"
517 "int\n"
518 "main(void)\n"
519 "{\n"
520 " char *p;\n"
521 " char *buf1;\n"
522 " char *buf2;\n"
523 " size_t len, maxsize;\n"
524 "\\&\n"
525 " maxsize = strlen(\"Hello \") + strlen(\"world\") + strlen(\"!\") + 1;\n"
526 " buf1 = malloc(sizeof(*buf1) * maxsize);\n"
527 " if (buf1 == NULL)\n"
528 " err(EXIT_FAILURE, \"malloc()\");\n"
529 " buf2 = malloc(sizeof(*buf2) * maxsize);\n"
530 " if (buf2 == NULL)\n"
531 " err(EXIT_FAILURE, \"malloc()\");\n"
532 "\\&\n"
533 " p = buf1;\n"
534 " p = stpcpy(p, \"Hello \");\n"
535 " p = stpcpy(p, \"world\");\n"
536 " p = stpcpy(p, \"!\");\n"
537 " len = p - buf1;\n"
538 "\\&\n"
539 " printf(\"[len = %zu]: \", len);\n"
540 " puts(buf1); // \"Hello world!\"\n"
541 " free(buf1);\n"
542 "\\&\n"
543 " strcpy(buf2, \"Hello \");\n"
544 " strcat(buf2, \"world\");\n"
545 " strcat(buf2, \"!\");\n"
546 " len = strlen(buf2);\n"
547 "\\&\n"
548 " printf(\"[len = %zu]: \", len);\n"
549 " puts(buf2); // \"Hello world!\"\n"
550 " free(buf2);\n"
551 "\\&\n"
552 " exit(EXIT_SUCCESS);\n"
553 "}\n"
554 msgstr ""
555
556 #. type: Plain text
557 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
558 msgid "B<strdup>(3), B<string>(3), B<wcscpy>(3), B<string_copying>(7)"
559 msgstr "B<strdup>(3), B<string>(3), B<wcscpy>(3), B<string_copying>(7)"
560
561 #. type: TH
562 #: fedora-44 fedora-rawhide
563 #, no-wrap
564 msgid "2024-11-17"
565 msgstr "2024년 11월 17일"
566
567 #. type: TH
568 #: fedora-44 fedora-rawhide
569 #, no-wrap
570 msgid "Linux man-pages 6.13"
571 msgstr "Linux man-pages 6.13"
572
573 #. type: Plain text
574 #: fedora-44 fedora-rawhide mageia-cauldron
575 #, no-wrap
576 msgid ""
577 "#include E<lt>err.hE<gt>\n"
578 "#include E<lt>stdio.hE<gt>\n"
579 "#include E<lt>stdlib.hE<gt>\n"
580 "#include E<lt>string.hE<gt>\n"
581 "\\&\n"
582 "int\n"
583 "main(void)\n"
584 "{\n"
585 " char *p;\n"
586 " char *buf1;\n"
587 " char *buf2;\n"
588 " size_t len, size;\n"
589 "\\&\n"
590 " size = strlen(\"Hello \") + strlen(\"world\") + strlen(\"!\") + 1;\n"
591 " buf1 = malloc(sizeof(*buf1) * size);\n"
592 " if (buf1 == NULL)\n"
593 " err(EXIT_FAILURE, \"malloc()\");\n"
594 " buf2 = malloc(sizeof(*buf2) * size);\n"
595 " if (buf2 == NULL)\n"
596 " err(EXIT_FAILURE, \"malloc()\");\n"
597 "\\&\n"
598 " p = buf1;\n"
599 " p = stpcpy(p, \"Hello \");\n"
600 " p = stpcpy(p, \"world\");\n"
601 " p = stpcpy(p, \"!\");\n"
602 " len = p - buf1;\n"
603 "\\&\n"
604 " printf(\"[len = %zu]: \", len);\n"
605 " puts(buf1); // \"Hello world!\"\n"
606 " free(buf1);\n"
607 "\\&\n"
608 " strcpy(buf2, \"Hello \");\n"
609 " strcat(buf2, \"world\");\n"
610 " strcat(buf2, \"!\");\n"
611 " len = strlen(buf2);\n"
612 "\\&\n"
613 " printf(\"[len = %zu]: \", len);\n"
614 " puts(buf2); // \"Hello world!\"\n"
615 " free(buf2);\n"
616 "\\&\n"
617 " exit(EXIT_SUCCESS);\n"
618 "}\n"
619 msgstr ""
620
621 #. type: TH
622 #: mageia-cauldron
623 #, no-wrap
624 msgid "2025-12-25"
625 msgstr "2025년 12월 25일"
626
627 #. type: TH
628 #: mageia-cauldron
629 #, no-wrap
630 msgid "Linux man-pages 6.17"
631 msgstr "Linux man-pages 6.17"
632
633 #. type: TH
634 #: opensuse-leap-16-1 opensuse-tumbleweed
635 #, no-wrap
636 msgid "Linux man-pages (unreleased)"
637 msgstr "Linux man-pages (미공개)"