Debian Codegraph @

po/ko/man2/msgop.2.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]>, 2000.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n\n"
8 "POT-Creation-Date: 2026-06-05 06:32+0200\n"
9 "PO-Revision-Date: 2000-06-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 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
20 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
21 #, no-wrap
22 msgid "MSGOP"
23 msgstr "MSGOP"
24
25 #. type: TH
26 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
27 #: opensuse-tumbleweed
28 #, no-wrap
29 msgid "2026-02-11"
30 msgstr "2026년 2월 11일"
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 #, fuzzy
49 #| msgid "msgop - message operations"
50 msgid "msgrcv, msgsnd - System V message queue operations"
51 msgstr "msgop - 메세지 작동들"
52
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 #, no-wrap
57 msgid "LIBRARY"
58 msgstr "라이브러리"
59
60 #. type: Plain text
61 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
62 #: opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "Standard C library (I<libc>,\\ I<-lc>)"
64 msgstr "표준 C 라이브러리 (I<libc>,\\ I<-lc>)"
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "SYNOPSIS"
71 msgstr "요약"
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "B<#include E<lt>sys/msg.hE<gt>>\n"
78 msgstr "B<#include E<lt>sys/msg.hE<gt>>\n"
79
80 #. type: Plain text
81 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
82 #: opensuse-tumbleweed
83 #, fuzzy, no-wrap
84 #| msgid ""
85 #| "B<ssize_t msgrcv(int >I<msqid>B<, void >I<msgp>B<[.>I<msgsz>B<], size_t >I<msgsz>B<, long >I<msgtyp>B<,>\n"
86 #| "B< int >I<msgflg>B<);>\n"
87 msgid ""
88 "B<ssize_t msgrcv(>size_t msgsz;\n"
89 "B< int >I<msqid>B<, void >I<msgp>B<[>I<msgsz>B<], size_t >I<msgsz>B<, long >I<msgtyp>B<,>\n"
90 "B< int >I<msgflg>B<);>\n"
91 msgstr ""
92 "B<ssize_t msgrcv(int >I<msqid>B<, void >I<msgp>B<[.>I<msgsz>B<], size_t >I<msgsz>B<, long >I<msgtyp>B<,>\n"
93 "B< int >I<msgflg>B<);>\n"
94
95 #. type: Plain text
96 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
97 #: opensuse-tumbleweed
98 #, fuzzy, no-wrap
99 #| msgid ""
100 #| "B<int msgsnd(int >I<msqid>B<, const void >I<msgp>B<[.>I<msgsz>B<], size_t >I<msgsz>B<,>\n"
101 #| "B< int >I<msgflg>B<);>\n"
102 msgid ""
103 "B<int msgsnd(>size_t msgsz;\n"
104 "B< int >I<msqid>B<, const void >I<msgp>B<[>I<msgsz>B<], size_t >I<msgsz>B<,>\n"
105 "B< int >I<msgflg>B<);>\n"
106 msgstr ""
107 "B<int msgsnd(int >I<msqid>B<, const void >I<msgp>B<[.>I<msgsz>B<], size_t >I<msgsz>B<,>\n"
108 "B< int >I<msgflg>B<);>\n"
109
110 #. type: SH
111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
113 #, no-wrap
114 msgid "DESCRIPTION"
115 msgstr "설명"
116
117 #. type: Plain text
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 msgid ""
121 "The B<msgsnd>() and B<msgrcv>() system calls are used to send messages to, "
122 "and receive messages from, a System\\ V message queue. The calling process "
123 "must have write permission on the message queue in order to send a message, "
124 "and read permission to receive a message."
125 msgstr ""
126
127 #. type: Plain text
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 #, fuzzy
131 #| msgid ""
132 #| "The I<msgflg> argument asserts none, one or more (or-ing them) among the "
133 #| "following flags:"
134 msgid ""
135 "The I<msgp> argument is a pointer to a caller-defined structure of the "
136 "following general form:"
137 msgstr ""
138 "I<msgflg> 인자는 다음과 같은 플래그중 하나도 없거나, 하나 또는 그 이상을(또"
139 "는 그것들 중에서)지정한다:"
140
141 #. type: Plain text
142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
143 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
144 #, no-wrap
145 msgid ""
146 "struct msgbuf {\n"
147 " long mtype; /* message type, must be E<gt> 0 */\n"
148 " char mtext[1]; /* message data */\n"
149 "};\n"
150 msgstr ""
151
152 #. type: Plain text
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 #, fuzzy
156 #| msgid ""
157 #| "but with an array B<mtext> of size I<msgsz>, a non-negative integer "
158 #| "value. The structure member B<mtype> must have a strictly positive "
159 #| "integer value that can be used by the receiving process for message "
160 #| "selection (see the section about B<msgrcv>)."
161 msgid ""
162 "The I<mtext> field is an array (or other structure) whose size is specified "
163 "by I<msgsz>, a nonnegative integer value. Messages of zero length (i.e., no "
164 "I<mtext> field) are permitted. The I<mtype> field must have a strictly "
165 "positive integer value. This value can be used by the receiving process for "
166 "message selection (see the description of B<msgrcv>() below)."
167 msgstr ""
168 "그러나 배열 B<mtext> 가 가지고 있는 I<msgsz>의 크기는 양수 값이어야 한다. 구"
169 "조체 멤버 B<mtype> 은 호출 프로세스가 메세지 선택을 위해 사용할수 있도록 확실"
170 "히 양수값이어야 한다. ( B<msgrcv>를 참조해라)."
171
172 #. type: SS
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 #, no-wrap
176 msgid "msgsnd()"
177 msgstr "msgsnd()"
178
179 #. type: Plain text
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 #, fuzzy
183 #| msgid ""
184 #| "The B<msgsnd> system call enqueue a copy of the message pointed to by the "
185 #| "I<msgp> argument on the message queue whose identifier is specified by "
186 #| "the value of the I<msqid> argument."
187 msgid ""
188 "The B<msgsnd>() system call appends a copy of the message pointed to by "
189 "I<msgp> to the message queue whose identifier is specified by I<msqid>."
190 msgstr ""
191 "B<msgsnd> 시스템 콜은 I<msgp> 인자가 가리키고 있는 메세지의 복사본을 식별자"
192 "가 I<msqid> 인자 값인 메세지 큐에 넣는다."
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 "If sufficient space is available in the queue, B<msgsnd>() succeeds "
199 "immediately. The queue capacity is governed by the I<msg_qbytes> field in "
200 "the associated data structure for the message queue. During queue creation "
201 "this field is initialized to B<MSGMNB> bytes, but this limit can be modified "
202 "using B<msgctl>(2). A message queue is considered to be full if either of "
203 "the following conditions is true:"
204 msgstr ""
205
206 #. type: IP
207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
209 #, no-wrap
210 msgid "\\[bu]"
211 msgstr "\\[bu]"
212
213 #. type: Plain text
214 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
215 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
216 msgid ""
217 "Adding a new message to the queue would cause the total number of bytes in "
218 "the queue to exceed the queue's maximum size (the I<msg_qbytes> field)."
219 msgstr ""
220
221 #. type: Plain text
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 msgid ""
225 "Adding another message to the queue would cause the total number of messages "
226 "in the queue to exceed the queue's maximum size (the I<msg_qbytes> field). "
227 "This check is necessary to prevent an unlimited number of zero-length "
228 "messages being placed on the queue. Although such messages contain no data, "
229 "they nevertheless consume (locked) kernel memory."
230 msgstr ""
231
232 #. type: Plain text
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 msgid ""
236 "If insufficient space is available in the queue, then the default behavior "
237 "of B<msgsnd>() is to block until space becomes available. If B<IPC_NOWAIT> "
238 "is specified in I<msgflg>, then the call instead fails with the error "
239 "B<EAGAIN>."
240 msgstr ""
241
242 #. type: Plain text
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 msgid "A blocked B<msgsnd>() call may also fail if:"
246 msgstr ""
247
248 #. type: Plain text
249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
251 #, fuzzy
252 #| msgid ""
253 #| "The message queue is removed from the system. In such a case the system "
254 #| "call fails with B<errno> set to B<EIDRM>."
255 msgid ""
256 "the queue is removed, in which case the system call fails with I<errno> set "
257 "to B<EIDRM>; or"
258 msgstr ""
259 "메세지 큐는 시스템에서 제거 되었다. 그런 경우 시스템 호출은 B<errno> 를 "
260 "B<EIDRM>으로 설정하고 실패한다."
261
262 #. type: Plain text
263 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
264 #: opensuse-tumbleweed
265 msgid ""
266 "a signal is caught, in which case the system call fails with I<errno> set to "
267 "B<EINTR>; see B<signal>(7). (B<msgsnd>() is never automatically restarted "
268 "after being interrupted by a signal handler, regardless of the setting of "
269 "the B<SA_RESTART> flag when establishing a signal handler.)"
270 msgstr ""
271
272 #. type: Plain text
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 msgid ""
276 "Upon successful completion the message queue data structure is updated as "
277 "follows:"
278 msgstr "성공시 메세지 큐 데이터 구조는 다음과 같이 갱신된다:"
279
280 #. type: Plain text
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 msgid "I<msg_lspid> is set to the process ID of the calling process."
284 msgstr "I<msg_lspid> 는 호출 프로세스의 프로세스-\\ID로 설정된다."
285
286 #. type: Plain text
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 msgid "I<msg_qnum> is incremented by 1."
290 msgstr "I<msg_qnum> 는 1 증가한다."
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 "I<msg_stime> is set to the current time."
296 msgstr "I<msg_stime> 는 현재 시간으로 설정된다."
297
298 #. type: SS
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 #, no-wrap
302 msgid "msgrcv()"
303 msgstr "msgrcv()"
304
305 #. type: Plain text
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 #, fuzzy
309 #| msgid ""
310 #| "The system call B<msgrcv> reads a message from the message queue "
311 #| "specified by I<msqid> into the B<msgbuf> pointed to by the I<msgp> "
312 #| "argument removing from the queue, on success, the read message."
313 msgid ""
314 "The B<msgrcv>() system call removes a message from the queue specified by "
315 "I<msqid> and places it in the buffer pointed to by I<msgp>."
316 msgstr ""
317 "B<msgrcv> 시스템 호출은 I<msqid> 가 가리키는 메세지 큐에서 메세지를 읽어서 "
318 "I<msgp> 인자가 가리키는 B<msgbuf> 로 복사하며, 성공시 메세지 큐에서 읽은 해"
319 "당 메세지는 삭제된다."
320
321 #. type: Plain text
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 #, fuzzy
325 #| msgid ""
326 #| "The argument I<msgsz> specifies the maximum size in bytes for the member "
327 #| "B<mtext> of the structure pointed to by the I<msgp> argument. If the "
328 #| "message text has length greater than I<msgsz>, then if the I<msgflg> "
329 #| "argument asserts B<MSG_NOERROR>, the message text will be truncated (and "
330 #| "the truncated part will be lost), otherwise the message isn't removed "
331 #| "from the queue and the system call fails returning with B<errno> set to "
332 #| "B<E2BIG>."
333 msgid ""
334 "The argument I<msgsz> specifies the maximum size in bytes for the member "
335 "I<mtext> of the structure pointed to by the I<msgp> argument. If the "
336 "message text has length greater than I<msgsz>, then the behavior depends on "
337 "whether B<MSG_NOERROR> is specified in I<msgflg>. If B<MSG_NOERROR> is "
338 "specified, then the message text will be truncated (and the truncated part "
339 "will be lost); if B<MSG_NOERROR> is not specified, then the message isn't "
340 "removed from the queue and the system call fails returning -1 with I<errno> "
341 "set to B<E2BIG>."
342 msgstr ""
343 "인자 I<msgsz> 는 I<msgp> 인자가 가리키는 구조체에서 B<mtext> 멤버의 최대 크"
344 "기 바이트를 가리킨다. 메세지 텍스트가 I<msgsz>보다 큰 길이를 가지고 "
345 "I<msgflg> 인자에 B<MSG_NOERROR>가 명시되어 있다면 메세지 텍스트는 잘린다(그리"
346 "고 잘려진 부분을 잃는다). 만일 그렇지 않으면 메세지는 큐에서 제거 되지 않으"
347 "며 시스템 콜은 B<errno> 를 B<E2BIG>으로 설정하고 실패를 반환한다."
348
349 #. type: Plain text
350 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
351 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
352 #, fuzzy
353 #| msgid ""
354 #| "The argument I<msgtyp> specifies the type of message requested as follows:"
355 msgid ""
356 "Unless B<MSG_COPY> is specified in I<msgflg> (see below), the I<msgtyp> "
357 "argument specifies the type of message requested, as follows:"
358 msgstr "인자 I<msgtyp> 는 다음과 같은 메세지 타입을 지정한다."
359
360 #. type: Plain text
361 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
362 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
363 #, fuzzy
364 #| msgid "If I<msgtyp> is B<0>, then the message on the queue's front is read."
365 msgid "If I<msgtyp> is 0, then the first message in the queue is read."
366 msgstr "만일 I<msgtyp> 가 B<0>이면, 큐의 앞에 있는 메세지를 읽는다."
367
368 #. type: Plain text
369 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
370 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
371 #, fuzzy
372 #| msgid ""
373 #| "If I<msgtyp> is greater than B<0>, then the first message on the queue of "
374 #| "type I<msgtyp> is read if B<MSG_EXCEPT> isn't asserted by the I<msgflg> "
375 #| "argument, otherwise the first message on the queue of type not equal to "
376 #| "I<msgtyp> will be read."
377 msgid ""
378 "If I<msgtyp> is greater than 0, then the first message in the queue of type "
379 "I<msgtyp> is read, unless B<MSG_EXCEPT> was specified in I<msgflg>, in which "
380 "case the first message in the queue of type not equal to I<msgtyp> will be "
381 "read."
382 msgstr ""
383 "만일 I<msgtyp> 가 B<0>보다 크고 B<MSG_EXCEPT> 가 I<msgflg> 인자에 의해 지정되"
384 "어 있지 않다면, I<msgtyp> 타입 큐의 처음 메세지가 읽혀진다. 만일 그렇지 않으"
385 "면 I<msgtyp> 과 같지 않은 타입의 큐에 있는 처음 메세지를 읽는다."
386
387 #. type: Plain text
388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
390 msgid ""
391 "If I<msgtyp> is less than 0, then the first message in the queue with the "
392 "lowest type less than or equal to the absolute value of I<msgtyp> will be "
393 "read."
394 msgstr ""
395 "만일 I<msgtyp> 이 B<0>보다 작다면, I<msgtyp> 절대값보다 작거나 같은 타입의 큐"
396 "에 있는 처음 메세지가 읽혀진다."
397
398 #. type: Plain text
399 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
400 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
401 #, fuzzy
402 #| msgid ""
403 #| "The I<msgflg> argument asserts none, one or more (or-ing them) among the "
404 #| "following flags:"
405 msgid ""
406 "The I<msgflg> argument is a bit mask constructed by ORing together zero or "
407 "more of the following flags:"
408 msgstr ""
409 "I<msgflg> 인자는 다음과 같은 플래그중 하나도 없거나, 하나 또는 그 이상을(또"
410 "는 그것들 중에서)지정한다:"
411
412 #. type: TP
413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
415 #, no-wrap
416 msgid "B<IPC_NOWAIT>"
417 msgstr "B<IPC_NOWAIT>"
418
419 #. type: Plain text
420 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
421 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
422 #, fuzzy
423 #| msgid ""
424 #| "B<IPC_NOWAIT> For immediate return if no message of the requested type is "
425 #| "on the queue. The system call fails with errno set to B<ENOMSG>."
426 msgid ""
427 "Return immediately if no message of the requested type is in the queue. The "
428 "system call fails with I<errno> set to B<ENOMSG>."
429 msgstr ""
430 "B<IPC_NOWAIT> 요구된 타입의 메세지가 큐에 없다면 즉시 리턴한다. 시스템 콜은 "
431 "errno를 B<ENOMSG>으로 설정하고 실패한다."
432
433 #. type: TP
434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
436 #, no-wrap
437 msgid "B<MSG_COPY> (since Linux 3.8)"
438 msgstr ""
439
440 #. commit 4a674f34ba04a002244edaf891b5da7fc1473ae8
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 "Nondestructively fetch a copy of the message at the ordinal position in the "
446 "queue specified by I<msgtyp> (messages are considered to be numbered "
447 "starting at 0)."
448 msgstr ""
449
450 #. type: Plain text
451 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
452 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
453 msgid ""
454 "This flag must be specified in conjunction with B<IPC_NOWAIT>, with the "
455 "result that, if there is no message available at the given position, the "
456 "call fails immediately with the error B<ENOMSG>. Because they alter the "
457 "meaning of I<msgtyp> in orthogonal ways, B<MSG_COPY> and B<MSG_EXCEPT> may "
458 "not both be specified in I<msgflg>."
459 msgstr ""
460
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 "The B<MSG_COPY> flag was added for the implementation of the kernel "
466 "checkpoint-restore facility and is available only if the kernel was built "
467 "with the B<CONFIG_CHECKPOINT_RESTORE> option."
468 msgstr ""
469
470 #. type: TP
471 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
472 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
473 #, no-wrap
474 msgid "B<MSG_EXCEPT>"
475 msgstr "B<MSG_EXCEPT>"
476
477 #. type: Plain text
478 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
479 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
480 msgid ""
481 "Used with I<msgtyp> greater than 0 to read the first message in the queue "
482 "with message type that differs from I<msgtyp>."
483 msgstr ""
484 "I<msgtyp>과 다른 메세지 타입을 가지고 있는 큐의 처음 메세지를 읽기 위해 B<0> "
485 "보다 큰 I<msgtyp> 을 사용한다."
486
487 #. type: TP
488 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
489 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
490 #, no-wrap
491 msgid "B<MSG_NOERROR>"
492 msgstr "B<MSG_NOERROR>"
493
494 #. type: Plain text
495 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
496 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
497 msgid "To truncate the message text if longer than I<msgsz> bytes."
498 msgstr "I<msgsz> 바이트보다 크다면 메세지 텍스트를 자른다."
499
500 #. type: Plain text
501 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
502 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
503 #, fuzzy
504 #| msgid ""
505 #| "If no message of the requested type is available and B<IPC_NOWAIT> isn't "
506 #| "asserted in I<msgflg>, the calling process is blocked until one of the "
507 #| "following conditions occurs:"
508 msgid ""
509 "If no message of the requested type is available and B<IPC_NOWAIT> isn't "
510 "specified in I<msgflg>, the calling process is blocked until one of the "
511 "following conditions occurs:"
512 msgstr ""
513 "만일 요구된 타입의 메세지를 이용할수 없으며 B<IPC_NOWAIT> 가 I<msgflg>에 지정"
514 "되어 있지 않다면, 호출 프로세스는 다음 조건중 하나가 일어날때까지 블럭 된다."
515
516 #. type: Plain text
517 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
518 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
519 msgid "A message of the desired type is placed in the queue."
520 msgstr "원하는 타입의 메세지가 큐에 있다."
521
522 #. type: Plain text
523 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
524 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
525 msgid ""
526 "The message queue is removed from the system. In this case, the system call "
527 "fails with I<errno> set to B<EIDRM>."
528 msgstr ""
529 "메세지 큐는 시스템에서 제거 되었다. 그런 경우 시스템 호출은 I<errno> 를 "
530 "B<EIDRM>으로 설정하고 실패한다."
531
532 #. type: Plain text
533 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
534 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
535 msgid ""
536 "The calling process catches a signal. In this case, the system call fails "
537 "with I<errno> set to B<EINTR>. (B<msgrcv>() is never automatically "
538 "restarted after being interrupted by a signal handler, regardless of the "
539 "setting of the B<SA_RESTART> flag when establishing a signal handler.)"
540 msgstr ""
541
542 #. type: Plain text
543 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
544 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
545 msgid "I<msg_lrpid> is set to the process ID of the calling process."
546 msgstr "I<msg_lrpid> 는 호출 프로세스의 프로세스-\\ID로 설정된다."
547
548 #. type: Plain text
549 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
550 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
551 msgid "I<msg_qnum> is decremented by 1."
552 msgstr "I<msg_qnum> 는 1 감소한다."
553
554 #. type: Plain text
555 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
556 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
557 msgid "I<msg_rtime> is set to the current time."
558 msgstr "I<msg_rtime> 는 현재 시간으로 설정된다."
559
560 #. type: SH
561 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
562 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
563 #, no-wrap
564 msgid "RETURN VALUE"
565 msgstr "반환값"
566
567 #. type: Plain text
568 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
569 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
570 msgid ""
571 "On success, B<msgsnd>() returns 0 and B<msgrcv>() returns the number of "
572 "bytes actually copied into the I<mtext> array. On failure, both functions "
573 "return -1, and set I<errno> to indicate the error."
574 msgstr ""
575
576 #. type: SH
577 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
578 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
579 #, no-wrap
580 msgid "ERRORS"
581 msgstr "에러"
582
583 #. type: Plain text
584 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
585 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
586 msgid "B<msgsnd>() can fail with the following errors:"
587 msgstr ""
588
589 #. type: TP
590 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
591 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
592 #, no-wrap
593 msgid "B<EACCES>"
594 msgstr "B<EACCES>"
595
596 #. type: Plain text
597 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
598 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
599 msgid ""
600 "The calling process does not have write permission on the message queue, and "
601 "does not have the B<CAP_IPC_OWNER> capability in the user namespace that "
602 "governs its IPC namespace."
603 msgstr ""
604
605 #. type: TP
606 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
607 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
608 #, no-wrap
609 msgid "B<EAGAIN>"
610 msgstr "B<EAGAIN>"
611
612 #. type: Plain text
613 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
614 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
615 #, fuzzy
616 #| msgid ""
617 #| "The message can't be sent due to the B<msg_qbytes> limit for the queue "
618 #| "and B<IPC_NOWAIT> was asserted in I<mgsflg>."
619 msgid ""
620 "The message can't be sent due to the I<msg_qbytes> limit for the queue and "
621 "B<IPC_NOWAIT> was specified in I<msgflg>."
622 msgstr ""
623 "메세지를 큐의 B<msg_qbytes> 제한 값 때문에 보낼수 없다. 그리고 B<IPC_NOWAIT> "
624 "는 I<mgsflg>인자에 지정되어 있다."
625
626 #. type: TP
627 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
628 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
629 #, no-wrap
630 msgid "B<EFAULT>"
631 msgstr "B<EFAULT>"
632
633 #. type: Plain text
634 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
635 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
636 msgid "The address pointed to by I<msgp> isn't accessible."
637 msgstr "I<msgp> 가 가리키고 있는 주소를 접근할수 없다."
638
639 #. type: TP
640 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
641 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
642 #, no-wrap
643 msgid "B<EIDRM>"
644 msgstr "B<EIDRM>"
645
646 #. type: Plain text
647 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
648 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
649 msgid "The message queue was removed."
650 msgstr "메세지 큐가 제거 되었다."
651
652 #. type: TP
653 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
654 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
655 #, no-wrap
656 msgid "B<EINTR>"
657 msgstr "B<EINTR>"
658
659 #. type: Plain text
660 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
661 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
662 #, fuzzy
663 #| msgid ""
664 #| "Sleeping on a full message queue condition, the process received a signal "
665 #| "that had to be caught."
666 msgid ""
667 "Sleeping on a full message queue condition, the process caught a signal."
668 msgstr "모든 메세지 큐가 잠든 상태일때 프로세스가 잡을수 있는 신호를 받았다."
669
670 #. type: TP
671 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
672 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
673 #, no-wrap
674 msgid "B<EINVAL>"
675 msgstr "B<EINVAL>"
676
677 #. type: Plain text
678 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
679 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
680 msgid ""
681 "Invalid I<msqid> value, or nonpositive I<mtype> value, or invalid I<msgsz> "
682 "value (less than 0 or greater than the system value B<MSGMAX>)."
683 msgstr ""
684 "유효하지 않은 I<msqid> 값이나 음수의 I<mtype> 값이나, 유효하지 않은 I<msgsz> "
685 "값(0보다 작거나 시스템 값 B<MSGMAX>보다 클 경우)."
686
687 #. type: TP
688 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
689 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
690 #, no-wrap
691 msgid "B<ENOMEM>"
692 msgstr "B<ENOMEM>"
693
694 #. type: Plain text
695 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
696 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
697 #, fuzzy
698 #| msgid ""
699 #| "The system has not enough memory to make a copy of the supplied B<msgbuf>."
700 msgid ""
701 "The system does not have enough memory to make a copy of the message pointed "
702 "to by I<msgp>."
703 msgstr "시스템이 제공된 B<msgbuf>에 복사할 충분한 메모리를 가지고 있지 않다."
704
705 #. type: Plain text
706 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
707 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
708 msgid "B<msgrcv>() can fail with the following errors:"
709 msgstr ""
710
711 #. type: TP
712 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
713 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
714 #, no-wrap
715 msgid "B<E2BIG>"
716 msgstr "B<E2BIG>"
717
718 #. type: Plain text
719 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
720 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
721 #, fuzzy
722 #| msgid ""
723 #| "The message text length is greater than I<msgsz> and B<MSG_NOERROR> isn't "
724 #| "asserted in I<msgflg>."
725 msgid ""
726 "The message text length is greater than I<msgsz> and B<MSG_NOERROR> isn't "
727 "specified in I<msgflg>."
728 msgstr ""
729 "메세지 텍스트 길이가 I<msgsz> 보다 크고 B<MSG_NOERROR> 가 I<msgflg>에 지정되"
730 "어 있지 않다."
731
732 #. type: Plain text
733 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
734 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
735 msgid ""
736 "The calling process does not have read permission on the message queue, and "
737 "does not have the B<CAP_IPC_OWNER> capability in the user namespace that "
738 "governs its IPC namespace."
739 msgstr ""
740
741 #. type: Plain text
742 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
743 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
744 msgid ""
745 "While the process was sleeping to receive a message, the message queue was "
746 "removed."
747 msgstr "프로세스가 메세지를 받기 위해 잠든 동안, 메세지 큐가 제거 되었다."
748
749 #. type: Plain text
750 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
751 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
752 #, fuzzy
753 #| msgid ""
754 #| "While the process was sleeping to receive a message, the process received "
755 #| "a signal that had to be caught."
756 msgid ""
757 "While the process was sleeping to receive a message, the process caught a "
758 "signal; see B<signal>(7)."
759 msgstr ""
760 "프로세스가 메세지를 받기 위해 잠든 동안, 프로세스가 잡을수 있는 신호를 받았"
761 "다."
762
763 #. type: Plain text
764 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
765 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
766 #, fuzzy
767 #| msgid "Illegal I<msgqid> value, or I<msgsz> less than B<0>."
768 msgid "I<msqid> was invalid, or I<msgsz> was less than 0."
769 msgstr "유효하지 않은 I<msgqid> 값이나, I<msgsz> 가 B<0>보다 작다."
770
771 #. type: TP
772 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
773 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
774 #, no-wrap
775 msgid "B<EINVAL> (since Linux 3.14)"
776 msgstr ""
777
778 #. type: Plain text
779 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
780 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
781 msgid "I<msgflg> specified B<MSG_COPY>, but not B<IPC_NOWAIT>."
782 msgstr ""
783
784 #. type: Plain text
785 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
786 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
787 msgid "I<msgflg> specified both B<MSG_COPY> and B<MSG_EXCEPT>."
788 msgstr ""
789
790 #. type: TP
791 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
792 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
793 #, no-wrap
794 msgid "B<ENOMSG>"
795 msgstr "B<ENOMSG>"
796
797 #. type: Plain text
798 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
799 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
800 #, fuzzy
801 #| msgid ""
802 #| "B<IPC_NOWAIT> was asserted in I<msgflg> and no message of the requested "
803 #| "type existed on the message queue."
804 msgid ""
805 "B<IPC_NOWAIT> was specified in I<msgflg> and no message of the requested "
806 "type existed on the message queue."
807 msgstr ""
808 "B<IPC_NOWAIT> 가 I<msgflg> 에 지정되어 있고 요청된 타입의 메세지가 메세지 큐"
809 "에 존재하지 않는다."
810
811 #. type: Plain text
812 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
813 #: opensuse-tumbleweed
814 #, fuzzy
815 #| msgid ""
816 #| "B<IPC_NOWAIT> was asserted in I<msgflg> and no message of the requested "
817 #| "type existed on the message queue."
818 msgid ""
819 "B<IPC_NOWAIT> and B<MSG_COPY> were specified in I<msgflg> and the queue "
820 "contains fewer than I<msgtyp> messages."
821 msgstr ""
822 "B<IPC_NOWAIT> 가 I<msgflg> 에 지정되어 있고 요청된 타입의 메세지가 메세지 큐"
823 "에 존재하지 않는다."
824
825 #. type: TP
826 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
827 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
828 #, no-wrap
829 msgid "B<ENOSYS> (since Linux 3.8)"
830 msgstr ""
831
832 #. type: Plain text
833 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
834 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
835 msgid ""
836 "Both B<MSG_COPY> and B<IPC_NOWAIT> were specified in I<msgflg>, and this "
837 "kernel was configured without B<CONFIG_CHECKPOINT_RESTORE>."
838 msgstr ""
839
840 #. type: SH
841 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
842 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
843 #, no-wrap
844 msgid "STANDARDS"
845 msgstr "표준"
846
847 #. type: Plain text
848 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
849 #: opensuse-tumbleweed
850 #, fuzzy
851 #| msgid "POSIX.1-2024."
852 msgid "POSIX.1-2024 XSI."
853 msgstr "POSIX.1-2024."
854
855 #. MSG_COPY since glibc 2.18
856 #. type: Plain text
857 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
858 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
859 msgid ""
860 "The B<MSG_EXCEPT> and B<MSG_COPY> flags are Linux-specific; their "
861 "definitions can be obtained by defining the B<_GNU_SOURCE> feature test "
862 "macro."
863 msgstr ""
864
865 #. type: SH
866 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
867 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
868 #, no-wrap
869 msgid "HISTORY"
870 msgstr "이력"
871
872 #. type: Plain text
873 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
874 #: opensuse-tumbleweed
875 #, fuzzy
876 #| msgid "SVr4, POSIX.1-2001."
877 msgid "SVr4, SUSv1, POSIX.1-2001 XSI."
878 msgstr "SVr4, POSIX.1-2001."
879
880 #. type: Plain text
881 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
882 #: opensuse-tumbleweed
883 msgid ""
884 "The I<msgp> argument is declared as I<struct\\ msgbuf\\ *> in glibc 2.0 and "
885 "2.1. It is declared as I<void\\ *> in glibc 2.2 and later, as required by "
886 "SUSv2 and SUSv3."
887 msgstr ""
888
889 #. type: SH
890 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
891 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
892 #, no-wrap
893 msgid "NOTES"
894 msgstr "주의"
895
896 #. type: Plain text
897 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
898 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
899 #, fuzzy
900 #| msgid "The followings are system limits affecting a B<msgsnd> system call:"
901 msgid ""
902 "The following limits on message queue resources affect the B<msgsnd>() call:"
903 msgstr "다음은 B<msgsnd> 시스템 콜에 영향을 주는 시스템 제한값들이다:"
904
905 #. type: TP
906 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
907 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
908 #, no-wrap
909 msgid "B<MSGMAX>"
910 msgstr "B<MSGMAX>"
911
912 #. type: Plain text
913 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
914 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
915 msgid ""
916 "Maximum size of a message text, in bytes (default value: 8192 bytes). On "
917 "Linux, this limit can be read and modified via I</proc/sys/kernel/msgmax>."
918 msgstr ""
919
920 #. type: TP
921 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
922 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
923 #, no-wrap
924 msgid "B<MSGMNB>"
925 msgstr "B<MSGMNB>"
926
927 #. type: Plain text
928 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
929 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
930 msgid ""
931 "Maximum number of bytes that can be held in a message queue (default value: "
932 "16384 bytes). On Linux, this limit can be read and modified via I</proc/sys/"
933 "kernel/msgmnb>. A privileged process (Linux: a process with the "
934 "B<CAP_SYS_RESOURCE> capability) can increase the size of a message queue "
935 "beyond B<MSGMNB> using the B<msgctl>(2) B<IPC_SET> operation."
936 msgstr ""
937
938 #. type: Plain text
939 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
940 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
941 #, fuzzy
942 #| msgid ""
943 #| "The implementation has no intrinsic limits for the system wide maximum "
944 #| "number of message headers (B<MSGTQL>) and for the system wide maximum "
945 #| "size in bytes of the message pool (B<MSGPOOL>)."
946 msgid ""
947 "The implementation has no intrinsic system-wide limits on the number of "
948 "message headers (B<MSGTQL>) and the number of bytes in the message pool "
949 "(B<MSGPOOL>)."
950 msgstr ""
951 "수행은 메세지 헤더의 시스템 전역 최대 수 (B<MSGTQL>) 와 메세지 풀 "
952 "(B<MSGPOOL>) 의 시스템 전역 최대 크기를 위한 어떤 내부적 제한값을 가지고 있"
953 "지 않다."
954
955 #. type: SH
956 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
957 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
958 #, no-wrap
959 msgid "BUGS"
960 msgstr "버그"
961
962 #. http://marc.info/?l=linux-kernel&m=139048542803605&w=2
963 #. commit 4f87dac386cc43d5525da7a939d4b4e7edbea22c
964 #. type: Plain text
965 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
966 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
967 msgid ""
968 "In Linux 3.13 and earlier, if B<msgrcv>() was called with the B<MSG_COPY> "
969 "flag, but without B<IPC_NOWAIT>, and the message queue contained less than "
970 "I<msgtyp> messages, then the call would block until the next message is "
971 "written to the queue. At that point, the call would return a copy of the "
972 "message, I<regardless> of whether that message was at the ordinal position "
973 "I<msgtyp>. This bug is fixed in Linux 3.14."
974 msgstr ""
975
976 #. http://marc.info/?l=linux-kernel&m=139048542803605&w=2
977 #. commit 4f87dac386cc43d5525da7a939d4b4e7edbea22c
978 #. type: Plain text
979 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
980 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
981 msgid ""
982 "Specifying both B<MSG_COPY> and B<MSC_EXCEPT> in I<msgflg> is a logical "
983 "error (since these flags impose different interpretations on I<msgtyp>). In "
984 "Linux 3.13 and earlier, this error was not diagnosed by B<msgrcv>(). This "
985 "bug is fixed in Linux 3.14."
986 msgstr ""
987
988 #. type: SH
989 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
990 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
991 #, no-wrap
992 msgid "EXAMPLES"
993 msgstr "폐제"
994
995 #. type: Plain text
996 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
997 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
998 msgid "The program below demonstrates the use of B<msgsnd>() and B<msgrcv>()."
999 msgstr ""
1000
1001 #. type: Plain text
1002 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1003 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1004 msgid ""
1005 "The example program is first run with the B<-s> option to send a message and "
1006 "then run again with the B<-r> option to receive a message."
1007 msgstr ""
1008
1009 #. type: Plain text
1010 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1011 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1012 msgid "The following shell session shows a sample run of the program:"
1013 msgstr ""
1014
1015 #. type: Plain text
1016 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1017 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1018 #, no-wrap
1019 msgid ""
1020 "$B< ./a.out -s>\n"
1021 "sent: a message at Wed Mar 4 16:25:45 2015\n"
1022 msgstr ""
1023
1024 #. type: Plain text
1025 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1026 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1027 #, no-wrap
1028 msgid ""
1029 "$B< ./a.out -r>\n"
1030 "message received: a message at Wed Mar 4 16:25:45 2015\n"
1031 msgstr ""
1032
1033 #. type: SS
1034 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1035 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1036 #, no-wrap
1037 msgid "Program source"
1038 msgstr ""
1039
1040 #. type: Plain text
1041 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1042 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1043 #, no-wrap
1044 msgid ""
1045 "#include E<lt>errno.hE<gt>\n"
1046 "#include E<lt>stdio.hE<gt>\n"
1047 "#include E<lt>stdlib.hE<gt>\n"
1048 "#include E<lt>sys/ipc.hE<gt>\n"
1049 "#include E<lt>sys/msg.hE<gt>\n"
1050 "#include E<lt>time.hE<gt>\n"
1051 "#include E<lt>unistd.hE<gt>\n"
1052 "\\&\n"
1053 "struct msgbuf {\n"
1054 " long mtype;\n"
1055 " char mtext[80];\n"
1056 "};\n"
1057 "\\&\n"
1058 "static void\n"
1059 "usage(char *prog_name, char *msg)\n"
1060 "{\n"
1061 " if (msg != NULL)\n"
1062 " fputs(msg, stderr);\n"
1063 "\\&\n"
1064 " fprintf(stderr, \"Usage: %s [options]\\[rs]n\", prog_name);\n"
1065 " fprintf(stderr, \"Options are:\\[rs]n\");\n"
1066 " fprintf(stderr, \"-s send message using msgsnd()\\[rs]n\");\n"
1067 " fprintf(stderr, \"-r read message using msgrcv()\\[rs]n\");\n"
1068 " fprintf(stderr, \"-t message type (default is 1)\\[rs]n\");\n"
1069 " fprintf(stderr, \"-k message queue key (default is 1234)\\[rs]n\");\n"
1070 " exit(EXIT_FAILURE);\n"
1071 "}\n"
1072 "\\&\n"
1073 "static void\n"
1074 "send_msg(int qid, int msgtype)\n"
1075 "{\n"
1076 " time_t t;\n"
1077 " struct msgbuf msg;\n"
1078 "\\&\n"
1079 " msg.mtype = msgtype;\n"
1080 "\\&\n"
1081 " time(&t);\n"
1082 " snprintf(msg.mtext, sizeof(msg.mtext), \"a message at %s\",\n"
1083 " ctime(&t));\n"
1084 "\\&\n"
1085 " if (msgsnd(qid, &msg, sizeof(msg.mtext),\n"
1086 " IPC_NOWAIT) == -1)\n"
1087 " {\n"
1088 " perror(\"msgsnd error\");\n"
1089 " exit(EXIT_FAILURE);\n"
1090 " }\n"
1091 " printf(\"sent: %s\\[rs]n\", msg.mtext);\n"
1092 "}\n"
1093 "\\&\n"
1094 "static void\n"
1095 "get_msg(int qid, int msgtype)\n"
1096 "{\n"
1097 " struct msgbuf msg;\n"
1098 "\\&\n"
1099 " if (msgrcv(qid, &msg, sizeof(msg.mtext), msgtype,\n"
1100 " MSG_NOERROR | IPC_NOWAIT) == -1) {\n"
1101 " if (errno != ENOMSG) {\n"
1102 " perror(\"msgrcv\");\n"
1103 " exit(EXIT_FAILURE);\n"
1104 " }\n"
1105 " printf(\"No message available for msgrcv()\\[rs]n\");\n"
1106 " } else {\n"
1107 " printf(\"message received: %s\\[rs]n\", msg.mtext);\n"
1108 " }\n"
1109 "}\n"
1110 "\\&\n"
1111 "int\n"
1112 "main(int argc, char *argv[])\n"
1113 "{\n"
1114 " int qid, opt;\n"
1115 " int mode = 0; /* 1 = send, 2 = receive */\n"
1116 " int msgtype = 1;\n"
1117 " int msgkey = 1234;\n"
1118 "\\&\n"
1119 " while ((opt = getopt(argc, argv, \"srt:k:\")) != -1) {\n"
1120 " switch (opt) {\n"
1121 " case \\[aq]s\\[aq]:\n"
1122 " mode = 1;\n"
1123 " break;\n"
1124 " case \\[aq]r\\[aq]:\n"
1125 " mode = 2;\n"
1126 " break;\n"
1127 " case \\[aq]t\\[aq]:\n"
1128 " msgtype = atoi(optarg);\n"
1129 " if (msgtype E<lt>= 0)\n"
1130 " usage(argv[0], \"-t option must be greater than 0\\[rs]n\");\n"
1131 " break;\n"
1132 " case \\[aq]k\\[aq]:\n"
1133 " msgkey = atoi(optarg);\n"
1134 " break;\n"
1135 " default:\n"
1136 " usage(argv[0], \"Unrecognized option\\[rs]n\");\n"
1137 " }\n"
1138 " }\n"
1139 "\\&\n"
1140 " if (mode == 0)\n"
1141 " usage(argv[0], \"must use either -s or -r option\\[rs]n\");\n"
1142 "\\&\n"
1143 " qid = msgget(msgkey, IPC_CREAT | 0666);\n"
1144 "\\&\n"
1145 " if (qid == -1) {\n"
1146 " perror(\"msgget\");\n"
1147 " exit(EXIT_FAILURE);\n"
1148 " }\n"
1149 "\\&\n"
1150 " if (mode == 2)\n"
1151 " get_msg(qid, msgtype);\n"
1152 " else\n"
1153 " send_msg(qid, msgtype);\n"
1154 "\\&\n"
1155 " exit(EXIT_SUCCESS);\n"
1156 "}\n"
1157 msgstr ""
1158
1159 #. SRC END
1160 #. type: SH
1161 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1162 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1163 #, no-wrap
1164 msgid "SEE ALSO"
1165 msgstr "추가 참조"
1166
1167 #. type: Plain text
1168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1170 msgid ""
1171 "B<msgctl>(2), B<msgget>(2), B<capabilities>(7), B<mq_overview>(7), "
1172 "B<sysvipc>(7)"
1173 msgstr ""
1174 "B<msgctl>(2), B<msgget>(2), B<capabilities>(7), B<mq_overview>(7), "
1175 "B<sysvipc>(7)"
1176
1177 #. type: TH
1178 #: debian-trixie
1179 #, no-wrap
1180 msgid "2024-06-15"
1181 msgstr "2024년 6월 15일"
1182
1183 #. type: TH
1184 #: debian-trixie
1185 #, no-wrap
1186 msgid "Linux man-pages 6.9.1"
1187 msgstr "Linux man-pages 6.9.1"
1188
1189 #. type: Plain text
1190 #: debian-trixie
1191 msgid "Standard C library (I<libc>, I<-lc>)"
1192 msgstr "표준 C 라이브러리 (I<libc>, I<-lc>)"
1193
1194 #. type: Plain text
1195 #: debian-trixie fedora-44 fedora-rawhide
1196 #, no-wrap
1197 msgid ""
1198 "B<int msgsnd(int >I<msqid>B<, const void >I<msgp>B<[.>I<msgsz>B<], size_t >I<msgsz>B<,>\n"
1199 "B< int >I<msgflg>B<);>\n"
1200 msgstr ""
1201 "B<int msgsnd(int >I<msqid>B<, const void >I<msgp>B<[.>I<msgsz>B<], size_t >I<msgsz>B<,>\n"
1202 "B< int >I<msgflg>B<);>\n"
1203
1204 #. type: Plain text
1205 #: debian-trixie fedora-44 fedora-rawhide
1206 #, no-wrap
1207 msgid ""
1208 "B<ssize_t msgrcv(int >I<msqid>B<, void >I<msgp>B<[.>I<msgsz>B<], size_t >I<msgsz>B<, long >I<msgtyp>B<,>\n"
1209 "B< int >I<msgflg>B<);>\n"
1210 msgstr ""
1211 "B<ssize_t msgrcv(int >I<msqid>B<, void >I<msgp>B<[.>I<msgsz>B<], size_t >I<msgsz>B<, long >I<msgtyp>B<,>\n"
1212 "B< int >I<msgflg>B<);>\n"
1213
1214 #. type: Plain text
1215 #: debian-trixie fedora-44 fedora-rawhide
1216 msgid ""
1217 "a signal is caught, in which case the system call fails with I<errno> set to "
1218 "B<EINTR>;B<see> B<signal>(7). (B<msgsnd>() is never automatically "
1219 "restarted after being interrupted by a signal handler, regardless of the "
1220 "setting of the B<SA_RESTART> flag when establishing a signal handler.)"
1221 msgstr ""
1222
1223 #. type: Plain text
1224 #: debian-trixie fedora-44 fedora-rawhide
1225 msgid ""
1226 "B<IPC_NOWAIT> and B<MSG_COPY> were specified in I<msgflg> and the queue "
1227 "contains less than I<msgtyp> messages."
1228 msgstr ""
1229
1230 #. type: Plain text
1231 #: debian-trixie fedora-44 fedora-rawhide
1232 msgid "POSIX.1-2008."
1233 msgstr "POSIX.1-2008."
1234
1235 #. type: Plain text
1236 #: debian-trixie fedora-44 fedora-rawhide
1237 msgid "POSIX.1-2001, SVr4."
1238 msgstr "POSIX.1-2001, SVr4."
1239
1240 #. type: Plain text
1241 #: debian-trixie fedora-44 fedora-rawhide
1242 msgid ""
1243 "The I<msgp> argument is declared as I<struct msgbuf\\ *> in glibc 2.0 and "
1244 "2.1. It is declared as I<void\\ *> in glibc 2.2 and later, as required by "
1245 "SUSv2 and SUSv3."
1246 msgstr ""
1247
1248 #. type: TH
1249 #: fedora-44 fedora-rawhide
1250 #, no-wrap
1251 msgid "2024-07-23"
1252 msgstr "2024년 7월 23일"
1253
1254 #. type: TH
1255 #: fedora-44 fedora-rawhide
1256 #, no-wrap
1257 msgid "Linux man-pages 6.13"
1258 msgstr "Linux man-pages 6.13"
1259
1260 #. type: TH
1261 #: mageia-cauldron
1262 #, no-wrap
1263 msgid "Linux man-pages 6.17"
1264 msgstr "Linux man-pages 6.17"
1265
1266 #. type: TH
1267 #: opensuse-leap-16-1 opensuse-tumbleweed
1268 #, no-wrap
1269 msgid "Linux man-pages (unreleased)"
1270 msgstr "Linux man-pages (미공개)"