Debian Codegraph @

po/ko/man3/system.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-03-12 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 "system"
23 msgstr "system"
24
25 #. type: TH
26 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
27 #: opensuse-tumbleweed
28 #, no-wrap
29 msgid "2026-02-08"
30 msgstr "2026년 2월 8일"
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-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 msgid "system - execute a shell command"
49 msgstr "system - shell 명령어 실행하기"
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>stdlib.hE<gt>>\n"
76 msgstr "B<#include E<lt>stdlib.hE<gt>>\n"
77
78 #. type: Plain text
79 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
80 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
81 #, no-wrap
82 msgid "B<int system(const char *>I<command>B<);>\n"
83 msgstr "B<int system(const char *>I<command>B<);>\n"
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<system>() library function behaves as if it used B<fork>(2) to "
97 "create a child process that executed the shell command specified in "
98 "I<command> using B<execl>(3) as follows:"
99 msgstr ""
100
101 #. type: Plain text
102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
104 #, no-wrap
105 msgid "execl(\"/bin/sh\", \"sh\", \"-c\", command, (char *) NULL);\n"
106 msgstr "execl(\"/bin/sh\", \"sh\", \"-c\", command, (char *) NULL);\n"
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 "B<system>() returns after the command has been completed."
112 msgstr ""
113
114 #. type: Plain text
115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
117 msgid ""
118 "During execution of the command, B<SIGCHLD> will be blocked, and B<SIGINT> "
119 "and B<SIGQUIT> will be ignored, in the process that calls B<system>(). "
120 "(These signals will be handled according to their defaults inside the child "
121 "process that executes I<command>.)"
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 #, fuzzy
128 #| msgid ""
129 #| "If the value of I<string> is B<NULL>, B<system()> returns nonzero if the "
130 #| "shell is available, and zero if not."
131 msgid ""
132 "If I<command> is NULL, then B<system>() returns a status indicating whether "
133 "a shell is available on the system."
134 msgstr ""
135 "I<string> 값이 B<NULL>이라면, B<system()> 은 shell을 이용할수 있다면 0 이 아"
136 "닌 값을, 그렇지 않으면 0 값을 반환한다."
137
138 #. type: SH
139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
141 #, no-wrap
142 msgid "RETURN VALUE"
143 msgstr "반환값"
144
145 #. type: Plain text
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 #, fuzzy
149 #| msgid "The I<option-name> can be one of the following:"
150 msgid "The return value of B<system>() is one of the following:"
151 msgstr "I<옵션-이름>은 다음 중 한 가지이다:"
152
153 #. type: IP
154 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
155 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
156 #, no-wrap
157 msgid "\\[bu]"
158 msgstr "\\[bu]"
159
160 #. type: Plain text
161 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
162 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
163 msgid ""
164 "If I<command> is NULL, then a nonzero value if a shell is available, or 0 if "
165 "no shell is available."
166 msgstr ""
167
168 #. type: Plain text
169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
171 msgid ""
172 "If a child process could not be created, or its status could not be "
173 "retrieved, the return value is -1 and I<errno> is set to indicate the error."
174 msgstr ""
175
176 #. type: Plain text
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 msgid ""
180 "If a shell could not be executed in the child process, then the return value "
181 "is as though the child shell terminated by calling B<_exit>(2) with the "
182 "status 127."
183 msgstr ""
184
185 #. type: Plain text
186 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
187 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
188 msgid ""
189 "If all system calls succeed, then the return value is the termination status "
190 "of the child shell used to execute I<command>. (The termination status of a "
191 "shell is the termination status of the last command it executes.)"
192 msgstr ""
193
194 #. type: Plain text
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 msgid ""
198 "In the last two cases, the return value is a \"wait status\" that can be "
199 "examined using the macros described in B<waitpid>(2). (i.e., "
200 "B<WIFEXITED>(), B<WEXITSTATUS>(), and so on)."
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 "B<system>() does not affect the wait status of any other children."
207 msgstr "B<system>() 은 어떤 다른 자식의 wait 상태에 영향을 주지 않는다."
208
209 #. type: SH
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 #, no-wrap
213 msgid "ERRORS"
214 msgstr "에러"
215
216 #. type: Plain text
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
219 msgid "B<system>() can fail with any of the same errors as B<fork>(2)."
220 msgstr ""
221
222 #. type: SH
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 #, no-wrap
226 msgid "ATTRIBUTES"
227 msgstr "속성"
228
229 #. type: Plain text
230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
232 msgid ""
233 "For an explanation of the terms used in this section, see B<attributes>(7)."
234 msgstr ""
235 "이 섹션에서 사용되는 용어에 대한 설명은 B<attributes>(7)을 참조하십시오."
236
237 #. type: tbl table
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 #, no-wrap
241 msgid "Interface"
242 msgstr "상호 작용"
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 "Attribute"
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 "Value"
256 msgstr "번호"
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 ".na\n"
263 msgstr ".na\n"
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 ".nh\n"
270 msgstr ".nh\n"
271
272 #. type: tbl table
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 #, no-wrap
276 msgid "B<system>()"
277 msgstr "B<system>()"
278
279 #. type: tbl table
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 #, no-wrap
283 msgid "Thread safety"
284 msgstr ""
285
286 #. type: tbl table
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 #, no-wrap
290 msgid "MT-Safe"
291 msgstr "MT-Safe"
292
293 #. type: SH
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 #, no-wrap
297 msgid "STANDARDS"
298 msgstr "표준"
299
300 #. type: Plain text
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 msgid "C11, POSIX.1-2008."
304 msgstr "C11, POSIX.1-2008."
305
306 #. type: SH
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 #, no-wrap
310 msgid "HISTORY"
311 msgstr "이력"
312
313 #. type: Plain text
314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
316 msgid "POSIX.1-2001, C89."
317 msgstr "POSIX.1-2001, C89."
318
319 #. type: SH
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 #, no-wrap
323 msgid "NOTES"
324 msgstr "주의"
325
326 #. type: Plain text
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 msgid ""
330 "B<system>() provides simplicity and convenience: it handles all of the "
331 "details of calling B<fork>(2), B<execl>(3), and B<waitpid>(2), as well as "
332 "the necessary manipulations of signals; in addition, the shell performs the "
333 "usual substitutions and I/O redirections for I<command>. The main cost of "
334 "B<system>() is inefficiency: additional system calls are required to create "
335 "the process that runs the shell and to execute the shell."
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 "If the B<_XOPEN_SOURCE> feature test macro is defined (before including "
343 "I<any> header files), then the macros described in B<waitpid>(2) "
344 "(B<WEXITSTATUS>(), etc.) are made available when including "
345 "I<E<lt>stdlib.hE<gt>>."
346 msgstr ""
347
348 #. type: Plain text
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 msgid ""
352 "As mentioned, B<system>() ignores B<SIGINT> and B<SIGQUIT>. This may make "
353 "programs that call it from a loop uninterruptible, unless they take care "
354 "themselves to check the exit status of the child. For example:"
355 msgstr ""
356
357 #. type: Plain text
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 #, fuzzy, no-wrap
361 #| msgid ""
362 #| " if (WIFSIGNALED(ret) &&\n"
363 #| " (WTERMSIG(ret) == SIGINT || WTERMSIG(ret) == SIGQUIT))\n"
364 #| " break;\n"
365 #| "}\n"
366 msgid ""
367 "while (something) {\n"
368 " int ret = system(\"foo\");\n"
369 "\\&\n"
370 " if (WIFSIGNALED(ret) &&\n"
371 " (WTERMSIG(ret) == SIGINT || WTERMSIG(ret) == SIGQUIT))\n"
372 " break;\n"
373 "}\n"
374 msgstr ""
375 " if (WIFSIGNALED(ret) &&\n"
376 " (WTERMSIG(ret) == SIGINT || WTERMSIG(ret) == SIGQUIT))\n"
377 " break;\n"
378 "}\n"
379
380 #. type: Plain text
381 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
382 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
383 msgid ""
384 "According to POSIX.1, it is unspecified whether handlers registered using "
385 "B<pthread_atfork>(3) are called during the execution of B<system>(). In "
386 "the glibc implementation, such handlers are not called."
387 msgstr ""
388
389 #. type: Plain text
390 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
391 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
392 msgid ""
393 "Before glibc 2.1.3, the check for the availability of I</bin/sh> was not "
394 "actually performed if I<command> was NULL; instead it was always assumed to "
395 "be available, and B<system>() always returned 1 in this case. Since glibc "
396 "2.1.3, this check is performed because, even though POSIX.1-2001 requires a "
397 "conforming implementation to provide a shell, that shell may not be "
398 "available or executable if the calling program has previously called "
399 "B<chroot>(2) (which is not specified by POSIX.1-2001)."
400 msgstr ""
401
402 #. type: Plain text
403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
405 msgid ""
406 "It is possible for the shell command to terminate with a status of 127, "
407 "which yields a B<system>() return value that is indistinguishable from the "
408 "case where a shell could not be executed in the child process."
409 msgstr ""
410
411 #. type: SS
412 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
413 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
414 #, no-wrap
415 msgid "Caveats"
416 msgstr ""
417
418 #. type: Plain text
419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
421 msgid ""
422 "Do not use B<system>() from a privileged program (a set-user-ID or set-"
423 "group-ID program, or a program with capabilities) because strange values "
424 "for some environment variables might be used to subvert system integrity. "
425 "For example, B<PATH> could be manipulated so that an arbitrary program is "
426 "executed with privilege. Use the B<exec>(3) family of functions instead, "
427 "but not B<execlp>(3) or B<execvp>(3) (which also use the B<PATH> "
428 "environment variable to search for an executable)."
429 msgstr ""
430
431 #. type: Plain text
432 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
433 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
434 msgid ""
435 "B<system>() will not, in fact, work properly from programs with set-user-ID "
436 "or set-group-ID privileges on systems on which I</bin/sh> is bash version 2: "
437 "as a security measure, bash 2 drops privileges on startup. (Debian uses a "
438 "different shell, B<dash>(1), which does not do this when invoked as B<sh>.)"
439 msgstr ""
440
441 #. type: Plain text
442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
444 msgid ""
445 "Any user input that is employed as part of I<command> should be I<carefully> "
446 "sanitized, to ensure that unexpected shell commands or command options are "
447 "not executed. Such risks are especially grave when using B<system>() from "
448 "a privileged program."
449 msgstr ""
450
451 #. type: SH
452 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
453 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
454 #, no-wrap
455 msgid "BUGS"
456 msgstr "버그"
457
458 #. [BUG 211029](https://bugzilla.kernel.org/show_bug.cgi?id=211029)
459 #. [glibc bug](https://sourceware.org/bugzilla/show_bug.cgi?id=27143)
460 #. [POSIX bug](https://www.austingroupbugs.net/view.php?id=1440)
461 #. type: Plain text
462 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
463 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
464 msgid ""
465 "If the command name starts with a hyphen, B<sh>(1) interprets the command "
466 "name as an option, and the behavior is undefined. (See the B<-c> option to "
467 "B<sh>(1).) To work around this problem, prepend the command with a space as "
468 "in the following call:"
469 msgstr ""
470
471 #. type: Plain text
472 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
473 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
474 #, no-wrap
475 msgid " system(\" -unfortunate-command-name\");\n"
476 msgstr ""
477
478 #. type: SH
479 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
480 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
481 #, no-wrap
482 msgid "SEE ALSO"
483 msgstr "추가 참조"
484
485 #. type: Plain text
486 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
487 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
488 msgid ""
489 "B<sh>(1), B<execve>(2), B<fork>(2), B<sigaction>(2), B<sigprocmask>(2), "
490 "B<wait>(2), B<exec>(3), B<signal>(7)"
491 msgstr ""
492 "B<sh>(1), B<execve>(2), B<fork>(2), B<sigaction>(2), B<sigprocmask>(2), "
493 "B<wait>(2), B<exec>(3), B<signal>(7)"
494
495 #. type: TH
496 #: debian-trixie
497 #, no-wrap
498 msgid "2024-05-02"
499 msgstr "2024년 5월 2일"
500
501 #. type: TH
502 #: debian-trixie
503 #, no-wrap
504 msgid "Linux man-pages 6.9.1"
505 msgstr "Linux man-pages 6.9.1"
506
507 #. type: Plain text
508 #: debian-trixie
509 msgid "Standard C library (I<libc>, I<-lc>)"
510 msgstr "표준 C 라이브러리 (I<libc>, I<-lc>)"
511
512 #. type: TH
513 #: fedora-44 fedora-rawhide
514 #, no-wrap
515 msgid "2024-07-23"
516 msgstr "2024년 7월 23일"
517
518 #. type: TH
519 #: fedora-44 fedora-rawhide
520 #, no-wrap
521 msgid "Linux man-pages 6.13"
522 msgstr "Linux man-pages 6.13"
523
524 #. type: TH
525 #: mageia-cauldron
526 #, no-wrap
527 msgid "Linux man-pages 6.17"
528 msgstr "Linux man-pages 6.17"
529
530 #. type: TH
531 #: opensuse-leap-16-1 opensuse-tumbleweed
532 #, no-wrap
533 msgid "Linux man-pages (unreleased)"
534 msgstr "Linux man-pages (미공개)"