| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:32+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
#. type: TH |
| 20 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 21 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 22 |
#, no-wrap |
| 23 |
msgid "mq_overview" |
| 24 |
msgstr "" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 28 |
#: opensuse-tumbleweed |
| 29 |
#, no-wrap |
| 30 |
msgid "2026-02-08" |
| 31 |
msgstr "" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-unstable |
| 35 |
#, no-wrap |
| 36 |
msgid "Linux man-pages 6.18" |
| 37 |
msgstr "" |
| 38 |
|
| 39 |
#. type: SH |
| 40 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 41 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 42 |
#, no-wrap |
| 43 |
msgid "NAME" |
| 44 |
msgstr "" |
| 45 |
|
| 46 |
#. type: Plain text |
| 47 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 48 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 49 |
msgid "mq_overview - overview of POSIX message queues" |
| 50 |
msgstr "" |
| 51 |
|
| 52 |
#. type: SH |
| 53 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 54 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 55 |
#, no-wrap |
| 56 |
msgid "DESCRIPTION" |
| 57 |
msgstr "" |
| 58 |
|
| 59 |
#. type: Plain text |
| 60 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 61 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 62 |
msgid "" |
| 63 |
"POSIX message queues allow processes to exchange data in the form of " |
| 64 |
"messages. This API is distinct from that provided by System V message " |
| 65 |
"queues (B<msgget>(2), B<msgsnd>(2), B<msgrcv>(2), etc.), but provides " |
| 66 |
"similar functionality." |
| 67 |
msgstr "" |
| 68 |
|
| 69 |
#. type: Plain text |
| 70 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 71 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 72 |
msgid "" |
| 73 |
"Message queues are created and opened using B<mq_open>(3); this function " |
| 74 |
"returns a I<message queue descriptor> (I<mqd_t>), which is used to refer to " |
| 75 |
"the open message queue in later calls. Each message queue is identified by " |
| 76 |
"a name of the form I</somename>; that is, a null-terminated string of up to " |
| 77 |
"B<NAME_MAX> (i.e., 255) characters consisting of an initial slash, followed " |
| 78 |
"by one or more characters, none of which are slashes. Two processes can " |
| 79 |
"operate on the same queue by passing the same name to B<mq_open>(3)." |
| 80 |
msgstr "" |
| 81 |
|
| 82 |
#. type: Plain text |
| 83 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 84 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 85 |
msgid "" |
| 86 |
"Messages are transferred to and from a queue using B<mq_send>(3) and " |
| 87 |
"B<mq_receive>(3). When a process has finished using the queue, it closes it " |
| 88 |
"using B<mq_close>(3), and when the queue is no longer required, it can be " |
| 89 |
"deleted using B<mq_unlink>(3). Queue attributes can be retrieved and (in " |
| 90 |
"some cases) modified using B<mq_getattr>(3) and B<mq_setattr>(3). A " |
| 91 |
"process can request asynchronous notification of the arrival of a message on " |
| 92 |
"a previously empty queue using B<mq_notify>(3)." |
| 93 |
msgstr "" |
| 94 |
|
| 95 |
#. type: Plain text |
| 96 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 97 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 98 |
msgid "" |
| 99 |
"A message queue descriptor is a reference to an I<open message queue " |
| 100 |
"description> (see B<open>(2)). After a B<fork>(2), a child inherits copies " |
| 101 |
"of its parent's message queue descriptors, and these descriptors refer to " |
| 102 |
"the same open message queue descriptions as the corresponding message queue " |
| 103 |
"descriptors in the parent. Corresponding message queue descriptors in the " |
| 104 |
"two processes share the flags (I<mq_flags>) that are associated with the " |
| 105 |
"open message queue description." |
| 106 |
msgstr "" |
| 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 "" |
| 112 |
"Each message has an associated I<priority>, and messages are always " |
| 113 |
"delivered to the receiving process highest priority first. Message " |
| 114 |
"priorities range from 0 (low) to I<sysconf(_SC_MQ_PRIO_MAX)\\ -\\ 1> " |
| 115 |
"(high). On Linux, I<sysconf(_SC_MQ_PRIO_MAX)> returns 32768, but POSIX.1 " |
| 116 |
"requires only that an implementation support at least priorities in the " |
| 117 |
"range 0 to 31; some implementations provide only this range." |
| 118 |
msgstr "" |
| 119 |
|
| 120 |
#. type: Plain text |
| 121 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 122 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 123 |
msgid "" |
| 124 |
"The remainder of this section describes some specific details of the Linux " |
| 125 |
"implementation of POSIX message queues." |
| 126 |
msgstr "" |
| 127 |
|
| 128 |
#. type: SS |
| 129 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 130 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 131 |
#, no-wrap |
| 132 |
msgid "Library interfaces and system calls" |
| 133 |
msgstr "" |
| 134 |
|
| 135 |
#. type: Plain text |
| 136 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 137 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 138 |
msgid "" |
| 139 |
"In most cases the B<mq_*>() library interfaces listed above are implemented " |
| 140 |
"on top of underlying system calls of the same name. Deviations from this " |
| 141 |
"scheme are indicated in the following table:" |
| 142 |
msgstr "" |
| 143 |
|
| 144 |
#. type: tbl table |
| 145 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 146 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 147 |
#, no-wrap |
| 148 |
msgid "Library interface" |
| 149 |
msgstr "" |
| 150 |
|
| 151 |
#. type: tbl table |
| 152 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 153 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 154 |
#, no-wrap |
| 155 |
msgid "System call" |
| 156 |
msgstr "" |
| 157 |
|
| 158 |
#. type: tbl table |
| 159 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 160 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 161 |
#, no-wrap |
| 162 |
msgid "mq_close(3)" |
| 163 |
msgstr "" |
| 164 |
|
| 165 |
#. type: tbl table |
| 166 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 167 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 168 |
#, no-wrap |
| 169 |
msgid "close(2)" |
| 170 |
msgstr "" |
| 171 |
|
| 172 |
#. type: tbl table |
| 173 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 174 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 175 |
#, no-wrap |
| 176 |
msgid "mq_getattr(3)" |
| 177 |
msgstr "" |
| 178 |
|
| 179 |
#. type: tbl table |
| 180 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 181 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 182 |
#, no-wrap |
| 183 |
msgid "mq_getsetattr(2)" |
| 184 |
msgstr "" |
| 185 |
|
| 186 |
#. type: tbl table |
| 187 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 188 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 189 |
#, no-wrap |
| 190 |
msgid "mq_notify(3)" |
| 191 |
msgstr "" |
| 192 |
|
| 193 |
#. type: tbl table |
| 194 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 195 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 196 |
#, no-wrap |
| 197 |
msgid "mq_notify(2)" |
| 198 |
msgstr "" |
| 199 |
|
| 200 |
#. type: tbl table |
| 201 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 202 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 203 |
#, no-wrap |
| 204 |
msgid "mq_open(3)" |
| 205 |
msgstr "" |
| 206 |
|
| 207 |
#. type: tbl table |
| 208 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 209 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 210 |
#, no-wrap |
| 211 |
msgid "mq_open(2)" |
| 212 |
msgstr "" |
| 213 |
|
| 214 |
#. type: tbl table |
| 215 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 216 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 217 |
#, no-wrap |
| 218 |
msgid "mq_receive(3)" |
| 219 |
msgstr "" |
| 220 |
|
| 221 |
#. type: tbl table |
| 222 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 223 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 224 |
#, no-wrap |
| 225 |
msgid "mq_timedreceive(2)" |
| 226 |
msgstr "" |
| 227 |
|
| 228 |
#. type: tbl table |
| 229 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 230 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 231 |
#, no-wrap |
| 232 |
msgid "mq_send(3)" |
| 233 |
msgstr "" |
| 234 |
|
| 235 |
#. type: tbl table |
| 236 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 237 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 238 |
#, no-wrap |
| 239 |
msgid "mq_timedsend(2)" |
| 240 |
msgstr "" |
| 241 |
|
| 242 |
#. type: tbl table |
| 243 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 244 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 245 |
#, no-wrap |
| 246 |
msgid "mq_setattr(3)" |
| 247 |
msgstr "" |
| 248 |
|
| 249 |
#. type: tbl table |
| 250 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 251 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 252 |
#, no-wrap |
| 253 |
msgid "mq_timedreceive(3)" |
| 254 |
msgstr "" |
| 255 |
|
| 256 |
#. type: tbl table |
| 257 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 258 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 259 |
#, no-wrap |
| 260 |
msgid "mq_timedsend(3)" |
| 261 |
msgstr "" |
| 262 |
|
| 263 |
#. type: tbl table |
| 264 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 265 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 266 |
#, no-wrap |
| 267 |
msgid "mq_unlink(3)" |
| 268 |
msgstr "" |
| 269 |
|
| 270 |
#. type: tbl table |
| 271 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 272 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 273 |
#, no-wrap |
| 274 |
msgid "mq_unlink(2)" |
| 275 |
msgstr "" |
| 276 |
|
| 277 |
#. type: SS |
| 278 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 279 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 280 |
#, no-wrap |
| 281 |
msgid "Versions" |
| 282 |
msgstr "" |
| 283 |
|
| 284 |
#. type: Plain text |
| 285 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 286 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 287 |
msgid "" |
| 288 |
"POSIX message queues have been supported since Linux 2.6.6. glibc support " |
| 289 |
"has been provided since glibc 2.3.4." |
| 290 |
msgstr "" |
| 291 |
|
| 292 |
#. type: SS |
| 293 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 294 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 295 |
#, no-wrap |
| 296 |
msgid "Kernel configuration" |
| 297 |
msgstr "" |
| 298 |
|
| 299 |
#. type: Plain text |
| 300 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 301 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 302 |
msgid "" |
| 303 |
"Support for POSIX message queues is configurable via the " |
| 304 |
"B<CONFIG_POSIX_MQUEUE> kernel configuration option. This option is enabled " |
| 305 |
"by default." |
| 306 |
msgstr "" |
| 307 |
|
| 308 |
#. type: SS |
| 309 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 310 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 311 |
#, no-wrap |
| 312 |
msgid "Persistence" |
| 313 |
msgstr "" |
| 314 |
|
| 315 |
#. type: Plain text |
| 316 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 317 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 318 |
msgid "" |
| 319 |
"POSIX message queues have kernel persistence: if not removed by " |
| 320 |
"B<mq_unlink>(3), a message queue will exist until the system is shut down." |
| 321 |
msgstr "" |
| 322 |
|
| 323 |
#. type: SS |
| 324 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 325 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 326 |
#, no-wrap |
| 327 |
msgid "Linking" |
| 328 |
msgstr "" |
| 329 |
|
| 330 |
#. type: Plain text |
| 331 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 332 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 333 |
msgid "" |
| 334 |
"Programs using the POSIX message queue API must be compiled with I<cc -lrt> " |
| 335 |
"to link against the real-time library, I<librt>." |
| 336 |
msgstr "" |
| 337 |
|
| 338 |
#. type: SS |
| 339 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 340 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 341 |
#, no-wrap |
| 342 |
msgid "/proc interfaces" |
| 343 |
msgstr "" |
| 344 |
|
| 345 |
#. type: Plain text |
| 346 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 347 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 348 |
msgid "" |
| 349 |
"The following interfaces can be used to limit the amount of kernel memory " |
| 350 |
"consumed by POSIX message queues and to set the default attributes for new " |
| 351 |
"message queues:" |
| 352 |
msgstr "" |
| 353 |
|
| 354 |
#. type: TP |
| 355 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 356 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 357 |
#, no-wrap |
| 358 |
msgid "I</proc/sys/fs/mqueue/msg_default> (since Linux 3.5)" |
| 359 |
msgstr "" |
| 360 |
|
| 361 |
#. type: Plain text |
| 362 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 363 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 364 |
msgid "" |
| 365 |
"This file defines the value used for a new queue's I<mq_maxmsg> setting when " |
| 366 |
"the queue is created with a call to B<mq_open>(3) where I<attr> is " |
| 367 |
"specified as NULL. The default value for this file is 10. The minimum and " |
| 368 |
"maximum are as for I</proc/sys/fs/mqueue/msg_max>. A new queue's default " |
| 369 |
"I<mq_maxmsg> value will be the smaller of I<msg_default> and I<msg_max>. " |
| 370 |
"Before Linux 2.6.28, the default I<mq_maxmsg> was 10; from Linux 2.6.28 to " |
| 371 |
"Linux 3.4, the default was the value defined for the I<msg_max> limit." |
| 372 |
msgstr "" |
| 373 |
|
| 374 |
#. type: TP |
| 375 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 376 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 377 |
#, no-wrap |
| 378 |
msgid "I</proc/sys/fs/mqueue/msg_max>" |
| 379 |
msgstr "" |
| 380 |
|
| 381 |
#. type: Plain text |
| 382 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 383 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 384 |
msgid "" |
| 385 |
"This file can be used to view and change the ceiling value for the maximum " |
| 386 |
"number of messages in a queue. This value acts as a ceiling on the I<attr-" |
| 387 |
"E<gt>mq_maxmsg> argument given to B<mq_open>(3). The default value for " |
| 388 |
"I<msg_max> is 10. The minimum value is 1 (10 before Linux 2.6.28). The " |
| 389 |
"upper limit is B<HARD_MSGMAX>. The I<msg_max> limit is ignored for " |
| 390 |
"privileged processes (B<CAP_SYS_RESOURCE>), but the B<HARD_MSGMAX> ceiling " |
| 391 |
"is nevertheless imposed." |
| 392 |
msgstr "" |
| 393 |
|
| 394 |
#. type: Plain text |
| 395 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 396 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 397 |
msgid "The definition of B<HARD_MSGMAX> has changed across kernel versions:" |
| 398 |
msgstr "" |
| 399 |
|
| 400 |
#. type: IP |
| 401 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 402 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 403 |
#, no-wrap |
| 404 |
msgid "\\[bu]" |
| 405 |
msgstr "" |
| 406 |
|
| 407 |
#. type: Plain text |
| 408 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 409 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 410 |
msgid "Up to Linux 2.6.32: I<131072\\ /\\ sizeof(void\\ *)>" |
| 411 |
msgstr "" |
| 412 |
|
| 413 |
#. type: Plain text |
| 414 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 415 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 416 |
msgid "Linux 2.6.33 to Linux 3.4: I<(32768\\ *\\ sizeof(void\\ *) / 4)>" |
| 417 |
msgstr "" |
| 418 |
|
| 419 |
#. commit 5b5c4d1a1440e94994c73dddbad7be0676cd8b9a |
| 420 |
#. type: Plain text |
| 421 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 422 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 423 |
msgid "Since Linux 3.5: 65,536" |
| 424 |
msgstr "" |
| 425 |
|
| 426 |
#. type: TP |
| 427 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 428 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 429 |
#, no-wrap |
| 430 |
msgid "I</proc/sys/fs/mqueue/msgsize_default> (since Linux 3.5)" |
| 431 |
msgstr "" |
| 432 |
|
| 433 |
#. type: Plain text |
| 434 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 435 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 436 |
msgid "" |
| 437 |
"This file defines the value used for a new queue's I<mq_msgsize> setting " |
| 438 |
"when the queue is created with a call to B<mq_open>(3) where I<attr> is " |
| 439 |
"specified as NULL. The default value for this file is 8192 (bytes). The " |
| 440 |
"minimum and maximum are as for I</proc/sys/fs/mqueue/msgsize_max>. If " |
| 441 |
"I<msgsize_default> exceeds I<msgsize_max>, a new queue's default " |
| 442 |
"I<mq_msgsize> value is capped to the I<msgsize_max> limit. Before Linux " |
| 443 |
"2.6.28, the default I<mq_msgsize> was 8192; from Linux 2.6.28 to Linux 3.4, " |
| 444 |
"the default was the value defined for the I<msgsize_max> limit." |
| 445 |
msgstr "" |
| 446 |
|
| 447 |
#. type: TP |
| 448 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 449 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 450 |
#, no-wrap |
| 451 |
msgid "I</proc/sys/fs/mqueue/msgsize_max>" |
| 452 |
msgstr "" |
| 453 |
|
| 454 |
#. type: Plain text |
| 455 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 456 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 457 |
msgid "" |
| 458 |
"This file can be used to view and change the ceiling on the maximum message " |
| 459 |
"size. This value acts as a ceiling on the I<attr-E<gt>mq_msgsize> argument " |
| 460 |
"given to B<mq_open>(3). The default value for I<msgsize_max> is 8192 " |
| 461 |
"bytes. The minimum value is 128 (8192 before Linux 2.6.28). The upper " |
| 462 |
"limit for I<msgsize_max> has varied across kernel versions:" |
| 463 |
msgstr "" |
| 464 |
|
| 465 |
#. type: Plain text |
| 466 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 467 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 468 |
msgid "Before Linux 2.6.28, the upper limit is B<INT_MAX>." |
| 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 |
msgid "From Linux 2.6.28 to Linux 3.4, the limit is 1,048,576." |
| 475 |
msgstr "" |
| 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 "Since Linux 3.5, the limit is 16,777,216 (B<HARD_MSGSIZEMAX>)." |
| 481 |
msgstr "" |
| 482 |
|
| 483 |
#. type: Plain text |
| 484 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 485 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 486 |
msgid "" |
| 487 |
"The I<msgsize_max> limit is ignored for privileged process " |
| 488 |
"(B<CAP_SYS_RESOURCE>), but, since Linux 3.5, the B<HARD_MSGSIZEMAX> ceiling " |
| 489 |
"is enforced for privileged processes." |
| 490 |
msgstr "" |
| 491 |
|
| 492 |
#. type: TP |
| 493 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 494 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 495 |
#, no-wrap |
| 496 |
msgid "I</proc/sys/fs/mqueue/queues_max>" |
| 497 |
msgstr "" |
| 498 |
|
| 499 |
#. type: Plain text |
| 500 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 501 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 502 |
msgid "" |
| 503 |
"This file can be used to view and change the system-wide limit on the number " |
| 504 |
"of message queues that can be created. The default value for I<queues_max> " |
| 505 |
"is 256. No ceiling is imposed on the I<queues_max> limit; privileged " |
| 506 |
"processes (B<CAP_SYS_RESOURCE>) can exceed the limit (but see BUGS)." |
| 507 |
msgstr "" |
| 508 |
|
| 509 |
#. type: SS |
| 510 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 511 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 512 |
#, no-wrap |
| 513 |
msgid "Resource limit" |
| 514 |
msgstr "" |
| 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 "" |
| 520 |
"The B<RLIMIT_MSGQUEUE> resource limit, which places a limit on the amount of " |
| 521 |
"space that can be consumed by all of the message queues belonging to a " |
| 522 |
"process's real user ID, is described in B<getrlimit>(2)." |
| 523 |
msgstr "" |
| 524 |
|
| 525 |
#. type: SS |
| 526 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 527 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 528 |
#, no-wrap |
| 529 |
msgid "Mounting the message queue filesystem" |
| 530 |
msgstr "" |
| 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 |
"On Linux, message queues are created in a virtual filesystem. (Other " |
| 537 |
"implementations may also provide such a feature, but the details are likely " |
| 538 |
"to differ.) This filesystem can be mounted (by the superuser) using the " |
| 539 |
"following commands:" |
| 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 |
#, no-wrap |
| 546 |
msgid "" |
| 547 |
"#B< mkdir /dev/mqueue>\n" |
| 548 |
"#B< mount -t mqueue none /dev/mqueue>\n" |
| 549 |
msgstr "" |
| 550 |
|
| 551 |
#. type: Plain text |
| 552 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 553 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 554 |
msgid "The sticky bit is automatically enabled on the mount directory." |
| 555 |
msgstr "" |
| 556 |
|
| 557 |
#. type: Plain text |
| 558 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 559 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 560 |
msgid "" |
| 561 |
"After the filesystem has been mounted, the message queues on the system can " |
| 562 |
"be viewed and manipulated using the commands usually used for files (e.g., " |
| 563 |
"B<ls>(1) and B<rm>(1))." |
| 564 |
msgstr "" |
| 565 |
|
| 566 |
#. type: Plain text |
| 567 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 568 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 569 |
msgid "" |
| 570 |
"The contents of each file in the directory consist of a single line " |
| 571 |
"containing information about the queue:" |
| 572 |
msgstr "" |
| 573 |
|
| 574 |
#. type: Plain text |
| 575 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 576 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 577 |
#, no-wrap |
| 578 |
msgid "" |
| 579 |
"$B< cat /dev/mqueue/mymq>\n" |
| 580 |
"QSIZE:129 NOTIFY:2 SIGNO:0 NOTIFY_PID:8260\n" |
| 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 "These fields are as follows:" |
| 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<QSIZE>" |
| 594 |
msgstr "" |
| 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 "Number of bytes of data in all messages in the queue (but see BUGS)." |
| 600 |
msgstr "" |
| 601 |
|
| 602 |
#. type: TP |
| 603 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 604 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 605 |
#, no-wrap |
| 606 |
msgid "B<NOTIFY_PID>" |
| 607 |
msgstr "" |
| 608 |
|
| 609 |
#. type: Plain text |
| 610 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 611 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 612 |
msgid "" |
| 613 |
"If this is nonzero, then the process with this PID has used B<mq_notify>(3) " |
| 614 |
"to register for asynchronous message notification, and the remaining fields " |
| 615 |
"describe how notification occurs." |
| 616 |
msgstr "" |
| 617 |
|
| 618 |
#. type: TP |
| 619 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 620 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 621 |
#, no-wrap |
| 622 |
msgid "B<NOTIFY>" |
| 623 |
msgstr "" |
| 624 |
|
| 625 |
#. type: Plain text |
| 626 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 627 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 628 |
msgid "" |
| 629 |
"Notification method: 0 is B<SIGEV_SIGNAL>; 1 is B<SIGEV_NONE>; and 2 is " |
| 630 |
"B<SIGEV_THREAD>." |
| 631 |
msgstr "" |
| 632 |
|
| 633 |
#. type: TP |
| 634 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 635 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 636 |
#, no-wrap |
| 637 |
msgid "B<SIGNO>" |
| 638 |
msgstr "" |
| 639 |
|
| 640 |
#. type: Plain text |
| 641 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 642 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 643 |
msgid "Signal number to be used for B<SIGEV_SIGNAL>." |
| 644 |
msgstr "" |
| 645 |
|
| 646 |
#. type: SS |
| 647 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 648 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 649 |
#, no-wrap |
| 650 |
msgid "Linux implementation of message queue descriptors" |
| 651 |
msgstr "" |
| 652 |
|
| 653 |
#. type: Plain text |
| 654 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 655 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 656 |
msgid "" |
| 657 |
"On Linux, a message queue descriptor is actually a file descriptor. (POSIX " |
| 658 |
"does not require such an implementation.) This means that a message queue " |
| 659 |
"descriptor can be monitored using B<select>(2), B<poll>(2), or B<epoll>(7). " |
| 660 |
"This is not portable." |
| 661 |
msgstr "" |
| 662 |
|
| 663 |
#. type: Plain text |
| 664 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 665 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 666 |
msgid "" |
| 667 |
"The close-on-exec flag (see B<open>(2)) is automatically set on the file " |
| 668 |
"descriptor returned by B<mq_open>(2)." |
| 669 |
msgstr "" |
| 670 |
|
| 671 |
#. type: SS |
| 672 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 673 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 674 |
#, no-wrap |
| 675 |
msgid "IPC namespaces" |
| 676 |
msgstr "" |
| 677 |
|
| 678 |
#. type: Plain text |
| 679 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 680 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 681 |
msgid "" |
| 682 |
"For a discussion of the interaction of POSIX message queue objects and IPC " |
| 683 |
"namespaces, see B<ipc_namespaces>(7)." |
| 684 |
msgstr "" |
| 685 |
|
| 686 |
#. type: SH |
| 687 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 688 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 689 |
#, no-wrap |
| 690 |
msgid "NOTES" |
| 691 |
msgstr "" |
| 692 |
|
| 693 |
#. type: Plain text |
| 694 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 695 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 696 |
msgid "" |
| 697 |
"System V message queues (B<msgget>(2), B<msgsnd>(2), B<msgrcv>(2), etc.) are " |
| 698 |
"an older API for exchanging messages between processes. POSIX message " |
| 699 |
"queues provide a better designed interface than System V message queues; on " |
| 700 |
"the other hand POSIX message queues are less widely available (especially on " |
| 701 |
"older systems) than System V message queues." |
| 702 |
msgstr "" |
| 703 |
|
| 704 |
#. type: Plain text |
| 705 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 706 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 707 |
msgid "" |
| 708 |
"Linux does not currently (Linux 2.6.26) support the use of access control " |
| 709 |
"lists (ACLs) for POSIX message queues." |
| 710 |
msgstr "" |
| 711 |
|
| 712 |
#. type: SH |
| 713 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 714 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 715 |
#, no-wrap |
| 716 |
msgid "BUGS" |
| 717 |
msgstr "" |
| 718 |
|
| 719 |
#. type: Plain text |
| 720 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 721 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 722 |
msgid "" |
| 723 |
"Since Linux 3.5 to Linux 3.14, the kernel imposed a ceiling of 1024 " |
| 724 |
"(B<HARD_QUEUESMAX>) on the value to which the I<queues_max> limit could be " |
| 725 |
"raised, and the ceiling was enforced even for privileged processes. This " |
| 726 |
"ceiling value was removed in Linux 3.14, and patches to stable Linux 3.5.x " |
| 727 |
"to Linux 3.13.x also removed the ceiling." |
| 728 |
msgstr "" |
| 729 |
|
| 730 |
#. commit d6629859b36d |
| 731 |
#. commit de54b9ac253787c366bbfb28d901a31954eb3511 |
| 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 |
"As originally implemented (and documented), the QSIZE field displayed the " |
| 737 |
"total number of (user-supplied) bytes in all messages in the message " |
| 738 |
"queue. Some changes in Linux 3.5 inadvertently changed the behavior, so " |
| 739 |
"that this field also included a count of kernel overhead bytes used to store " |
| 740 |
"the messages in the queue. This behavioral regression was rectified in " |
| 741 |
"Linux 4.2 (and earlier stable kernel series), so that the count once more " |
| 742 |
"included just the bytes of user data in messages in the queue." |
| 743 |
msgstr "" |
| 744 |
|
| 745 |
#. type: SH |
| 746 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 747 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 748 |
#, no-wrap |
| 749 |
msgid "EXAMPLES" |
| 750 |
msgstr "" |
| 751 |
|
| 752 |
#. type: Plain text |
| 753 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 754 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 755 |
msgid "" |
| 756 |
"An example of the use of various message queue functions is shown in " |
| 757 |
"B<mq_notify>(3)." |
| 758 |
msgstr "" |
| 759 |
|
| 760 |
#. type: SH |
| 761 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 762 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 763 |
#, no-wrap |
| 764 |
msgid "SEE ALSO" |
| 765 |
msgstr "" |
| 766 |
|
| 767 |
#. type: Plain text |
| 768 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 769 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 770 |
msgid "" |
| 771 |
"B<getrlimit>(2), B<mq_getsetattr>(2), B<poll>(2), B<select>(2), " |
| 772 |
"B<mq_close>(3), B<mq_getattr>(3), B<mq_notify>(3), B<mq_open>(3), " |
| 773 |
"B<mq_receive>(3), B<mq_send>(3), B<mq_unlink>(3), B<epoll>(7), " |
| 774 |
"B<namespaces>(7)" |
| 775 |
msgstr "" |
| 776 |
|
| 777 |
#. type: TH |
| 778 |
#: debian-trixie fedora-44 fedora-rawhide |
| 779 |
#, no-wrap |
| 780 |
msgid "2024-05-02" |
| 781 |
msgstr "" |
| 782 |
|
| 783 |
#. type: TH |
| 784 |
#: debian-trixie |
| 785 |
#, no-wrap |
| 786 |
msgid "Linux man-pages 6.9.1" |
| 787 |
msgstr "" |
| 788 |
|
| 789 |
#. type: TH |
| 790 |
#: fedora-44 fedora-rawhide |
| 791 |
#, no-wrap |
| 792 |
msgid "Linux man-pages 6.13" |
| 793 |
msgstr "" |
| 794 |
|
| 795 |
#. type: TH |
| 796 |
#: mageia-cauldron |
| 797 |
#, no-wrap |
| 798 |
msgid "Linux man-pages 6.17" |
| 799 |
msgstr "" |
| 800 |
|
| 801 |
#. type: TH |
| 802 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 803 |
#, no-wrap |
| 804 |
msgid "Linux man-pages (unreleased)" |
| 805 |
msgstr "" |