| 1 |
# Romanian translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Remus-Gabriel Chelu <[email protected]>, 2024, 2025. |
| 5 |
msgid "" |
| 6 |
msgstr "" |
| 7 |
"Project-Id-Version: manpages-l10n 4.21.0\n" |
| 8 |
"POT-Creation-Date: 2026-06-05 06:31+0200\n" |
| 9 |
"PO-Revision-Date: 2025-11-05 19:05+0100\n" |
| 10 |
"Last-Translator: Remus-Gabriel Chelu <[email protected]>\n" |
| 11 |
"Language-Team: Romanian <[email protected]>\n" |
| 12 |
"Language: ro\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=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " |
| 17 |
"20)) ? 1 : 2;\n" |
| 18 |
"X-Generator: Poedit 3.6\n" |
| 19 |
|
| 20 |
#. type: TH |
| 21 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 22 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 23 |
#, no-wrap |
| 24 |
msgid "mq_getattr" |
| 25 |
msgstr "mq_getattr" |
| 26 |
|
| 27 |
#. type: TH |
| 28 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 29 |
#: opensuse-tumbleweed |
| 30 |
#, no-wrap |
| 31 |
msgid "2026-02-08" |
| 32 |
msgstr "8 februarie 2026" |
| 33 |
|
| 34 |
#. type: TH |
| 35 |
#: archlinux debian-unstable |
| 36 |
#, no-wrap |
| 37 |
msgid "Linux man-pages 6.18" |
| 38 |
msgstr "Pagini de manual de Linux 6.18" |
| 39 |
|
| 40 |
#. type: SH |
| 41 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 42 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 43 |
#, no-wrap |
| 44 |
msgid "NAME" |
| 45 |
msgstr "NUME" |
| 46 |
|
| 47 |
#. type: Plain text |
| 48 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 49 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 50 |
msgid "mq_getattr, mq_setattr - get/set message queue attributes" |
| 51 |
msgstr "mq_getattr, mq_setattr - obține/stabilește atributele cozii de mesaje" |
| 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 "BIBLIOTECA" |
| 59 |
|
| 60 |
#. type: Plain text |
| 61 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 62 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
msgid "Real-time library (I<librt>,\\ I<-lrt>)" |
| 64 |
msgstr "Biblioteca de timp real (I<librt>, I<-lrt>)" |
| 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 "SINOPSIS" |
| 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>mqueue.hE<gt>>\n" |
| 78 |
msgstr "B<#include E<lt>mqueue.hE<gt>>\n" |
| 79 |
|
| 80 |
#. type: Plain text |
| 81 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 82 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 83 |
#, no-wrap |
| 84 |
msgid "" |
| 85 |
"B<int mq_getattr(mqd_t >I<mqdes>B<, struct mq_attr *>I<attr>B<);>\n" |
| 86 |
"B<int mq_setattr(mqd_t >I<mqdes>B<, const struct mq_attr *restrict >I<newattr>B<,>\n" |
| 87 |
"B< struct mq_attr *restrict >I<oldattr>B<);>\n" |
| 88 |
msgstr "" |
| 89 |
"B<int mq_getattr(mqd_t >I<mqdes>B<, struct mq_attr *>I<attr>B<);>\n" |
| 90 |
"B<int mq_setattr(mqd_t >I<mqdes>B<, const struct mq_attr *restrict >I<newattr>B<,>\n" |
| 91 |
"B< struct mq_attr *restrict >I<oldattr>B<);>\n" |
| 92 |
|
| 93 |
#. type: SH |
| 94 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 95 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 96 |
#, no-wrap |
| 97 |
msgid "DESCRIPTION" |
| 98 |
msgstr "DESCRIERE" |
| 99 |
|
| 100 |
#. type: Plain text |
| 101 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 102 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 103 |
msgid "" |
| 104 |
"B<mq_getattr>() and B<mq_setattr>() respectively retrieve and modify " |
| 105 |
"attributes of the message queue referred to by the message queue descriptor " |
| 106 |
"I<mqdes>." |
| 107 |
msgstr "" |
| 108 |
"B<mq_getattr>() și B<mq_setattr>() extrag și, respectiv, modifică atributele " |
| 109 |
"cozii de așteptare a mesajelor la care se face referire prin descriptorul " |
| 110 |
"cozii de așteptare a mesajelor I<mqdes>." |
| 111 |
|
| 112 |
#. type: Plain text |
| 113 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 114 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 115 |
msgid "" |
| 116 |
"B<mq_getattr>() returns an I<mq_attr> structure in the buffer pointed by " |
| 117 |
"I<attr>. This structure is defined as:" |
| 118 |
msgstr "" |
| 119 |
"B<mq_getattr>() returnează o structură I<mq_attr> în memoria tampon indicată " |
| 120 |
"de I<attr>. Această structură se definește astfel:" |
| 121 |
|
| 122 |
#. type: Plain text |
| 123 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 124 |
#: opensuse-tumbleweed |
| 125 |
#, no-wrap |
| 126 |
msgid "" |
| 127 |
"struct mq_attr {\n" |
| 128 |
" long mq_flags; /* Flags: 0 or O_NONBLOCK */\n" |
| 129 |
" long mq_maxmsg; /* Max.\\& # of messages on queue */\n" |
| 130 |
" long mq_msgsize; /* Max.\\& message size (bytes) */\n" |
| 131 |
" long mq_curmsgs; /* # of messages currently in queue */\n" |
| 132 |
"};\n" |
| 133 |
msgstr "" |
| 134 |
"struct mq_attr {\n" |
| 135 |
" long mq_flags; /* Fanioane: 0 sau O_NONBLOCK */\n" |
| 136 |
" long mq_maxmsg; /* Numărul maxim de mesaje în coadă */\n" |
| 137 |
" long mq_msgsize; /* Dimensiunea maximă a mesajului (octeți)) */\n" |
| 138 |
" long mq_curmsgs; /* Numărul de mesaje aflate în prezent în coadă */\n" |
| 139 |
"};\n" |
| 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 |
msgid "" |
| 145 |
"The I<mq_flags> field contains flags associated with the open message queue " |
| 146 |
"description. This field is initialized when the queue is created by " |
| 147 |
"B<mq_open>(3). The only flag that can appear in this field is B<O_NONBLOCK>." |
| 148 |
msgstr "" |
| 149 |
"Câmpul I<mq_flags> conține fanioanele asociate cu descrierea cozii de mesaje " |
| 150 |
"deschise. Acest câmp este inițializat atunci când coada este creată de " |
| 151 |
"B<mq_open>(3). Singurul fanion care poate apărea în acest câmp este " |
| 152 |
"B<O_NONBLOCK>." |
| 153 |
|
| 154 |
#. type: Plain text |
| 155 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 156 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 157 |
msgid "" |
| 158 |
"The I<mq_maxmsg> and I<mq_msgsize> fields are set when the message queue is " |
| 159 |
"created by B<mq_open>(3). The I<mq_maxmsg> field is an upper limit on the " |
| 160 |
"number of messages that may be placed on the queue using B<mq_send>(3). The " |
| 161 |
"I<mq_msgsize> field is an upper limit on the size of messages that may be " |
| 162 |
"placed on the queue. Both of these fields must have a value greater than " |
| 163 |
"zero. Two I</proc> files that place ceilings on the values for these fields " |
| 164 |
"are described in B<mq_overview>(7)." |
| 165 |
msgstr "" |
| 166 |
"Câmpurile I<mq_maxmsg> și I<mq_msgsize> sunt stabilite atunci când coada de " |
| 167 |
"mesaje este creată de B<mq_open>(3). Câmpul I<mq_maxmsg> reprezintă o limită " |
| 168 |
"superioară a numărului de mesaje care pot fi plasate în coada de așteptare " |
| 169 |
"cu ajutorul B<mq_send>(3). Câmpul I<mq_msgsize> este o limită superioară a " |
| 170 |
"dimensiunii mesajelor care pot fi plasate în coada de așteptare. Ambele " |
| 171 |
"câmpuri trebuie să aibă o valoare mai mare decât zero. Două fișiere I</proc> " |
| 172 |
"care impun plafoane pentru valorile acestor câmpuri sunt descrise în " |
| 173 |
"B<mq_overview>(7)." |
| 174 |
|
| 175 |
#. type: Plain text |
| 176 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 177 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 178 |
msgid "" |
| 179 |
"The I<mq_curmsgs> field returns the number of messages currently held in the " |
| 180 |
"queue." |
| 181 |
msgstr "" |
| 182 |
"Câmpul I<mq_curmsgs> returnează numărul de mesaje aflate în prezent în coada " |
| 183 |
"de așteptare." |
| 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 |
"B<mq_setattr>() sets message queue attributes using information supplied in " |
| 190 |
"the I<mq_attr> structure pointed to by I<newattr>. The only attribute that " |
| 191 |
"can be modified is the setting of the B<O_NONBLOCK> flag in I<mq_flags>. " |
| 192 |
"The other fields in I<newattr> are ignored. If the I<oldattr> field is not " |
| 193 |
"NULL, then the buffer that it points to is used to return an I<mq_attr> " |
| 194 |
"structure that contains the same information that is returned by " |
| 195 |
"B<mq_getattr>()." |
| 196 |
msgstr "" |
| 197 |
"B<mq_setattr>() stabilește atributele cozii de mesaje utilizând informațiile " |
| 198 |
"furnizate în structura I<mq_attr> indicată de I<newattr>. Singurul atribut " |
| 199 |
"care poate fi modificat este stabilirea fanionului B<O_NONBLOCK> din " |
| 200 |
"I<mq_flags>. Celelalte câmpuri din I<newattr> sunt ignorate. În cazul în " |
| 201 |
"care câmpul I<oldattr> nu este NULL, atunci memoria tampon la care indică " |
| 202 |
"este utilizată pentru a returna o structură I<mq_attr> care conține aceleași " |
| 203 |
"informații ca cele returnate de B<mq_getattr>()." |
| 204 |
|
| 205 |
#. type: SH |
| 206 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 207 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 208 |
#, no-wrap |
| 209 |
msgid "RETURN VALUE" |
| 210 |
msgstr "VALOAREA RETURNATĂ" |
| 211 |
|
| 212 |
#. type: Plain text |
| 213 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 214 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 215 |
msgid "" |
| 216 |
"On success B<mq_getattr>() and B<mq_setattr>() return 0; on error, -1 is " |
| 217 |
"returned, with I<errno> set to indicate the error." |
| 218 |
msgstr "" |
| 219 |
"În caz de succes, B<mq_getattr>() și B<mq_setattr>() returnează 0; în caz de " |
| 220 |
"eroare, se returnează -1, cu I<errno> configurată pentru a indica eroarea." |
| 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 "ERRORS" |
| 227 |
msgstr "ERORI-IEȘIRE" |
| 228 |
|
| 229 |
#. type: TP |
| 230 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 231 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 232 |
#, no-wrap |
| 233 |
msgid "B<EBADF>" |
| 234 |
msgstr "B<EBADF>" |
| 235 |
|
| 236 |
#. type: Plain text |
| 237 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 238 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 239 |
msgid "The message queue descriptor specified in I<mqdes> is invalid." |
| 240 |
msgstr "Descriptorul de coadă de mesaje specificat în I<mqdes> nu este valid." |
| 241 |
|
| 242 |
#. type: TP |
| 243 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 244 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 245 |
#, no-wrap |
| 246 |
msgid "B<EINVAL>" |
| 247 |
msgstr "B<EINVAL>" |
| 248 |
|
| 249 |
#. type: Plain text |
| 250 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 251 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 252 |
msgid "I<newattr-E<gt>mq_flags> contained set bits other than B<O_NONBLOCK>." |
| 253 |
msgstr "" |
| 254 |
"I<newattr-E<gt>mq_flags> conținea alți biți activați decât B<O_NONBLOCK>." |
| 255 |
|
| 256 |
#. type: SH |
| 257 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 258 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 259 |
#, no-wrap |
| 260 |
msgid "ATTRIBUTES" |
| 261 |
msgstr "ATRIBUTE" |
| 262 |
|
| 263 |
#. type: Plain text |
| 264 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 265 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 266 |
msgid "" |
| 267 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 268 |
msgstr "" |
| 269 |
"Pentru o explicație a termenilor folosiți în această secțiune, a se vedea " |
| 270 |
"B<attributes>(7)." |
| 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 "Interface" |
| 277 |
msgstr "Interfață" |
| 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 "Attribute" |
| 284 |
msgstr "Atribut" |
| 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 "Value" |
| 291 |
msgstr "Valoare" |
| 292 |
|
| 293 |
#. type: tbl table |
| 294 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 295 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 296 |
#, no-wrap |
| 297 |
msgid ".na\n" |
| 298 |
msgstr ".na\n" |
| 299 |
|
| 300 |
#. type: tbl table |
| 301 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 302 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 303 |
#, no-wrap |
| 304 |
msgid ".nh\n" |
| 305 |
msgstr ".nh\n" |
| 306 |
|
| 307 |
#. type: tbl table |
| 308 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 309 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 310 |
#, no-wrap |
| 311 |
msgid "" |
| 312 |
"B<mq_getattr>(),\n" |
| 313 |
"B<mq_setattr>()" |
| 314 |
msgstr "" |
| 315 |
"B<mq_getattr>(),\n" |
| 316 |
"B<mq_setattr>()" |
| 317 |
|
| 318 |
#. type: tbl table |
| 319 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 320 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 321 |
#, no-wrap |
| 322 |
msgid "Thread safety" |
| 323 |
msgstr "Siguranța firelor" |
| 324 |
|
| 325 |
#. type: tbl table |
| 326 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 327 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 328 |
#, no-wrap |
| 329 |
msgid "MT-Safe" |
| 330 |
msgstr "MT-Safe" |
| 331 |
|
| 332 |
#. type: SH |
| 333 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 334 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 335 |
#, no-wrap |
| 336 |
msgid "VERSIONS" |
| 337 |
msgstr "VERSIUNI" |
| 338 |
|
| 339 |
#. type: Plain text |
| 340 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 341 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 342 |
msgid "" |
| 343 |
"On Linux, B<mq_getattr>() and B<mq_setattr>() are library functions " |
| 344 |
"layered on top of the B<mq_getsetattr>(2) system call." |
| 345 |
msgstr "" |
| 346 |
"În Linux, B<mq_getattr>() și B<mq_setattr>() sunt funcții de bibliotecă " |
| 347 |
"suprapuse peste apelul de sistem B<mq_getsetattr>(2)." |
| 348 |
|
| 349 |
#. type: SH |
| 350 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 351 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 352 |
#, no-wrap |
| 353 |
msgid "STANDARDS" |
| 354 |
msgstr "STANDARDE" |
| 355 |
|
| 356 |
#. type: Plain text |
| 357 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 358 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 359 |
msgid "POSIX.1-2008." |
| 360 |
msgstr "POSIX.1-2008." |
| 361 |
|
| 362 |
#. type: SH |
| 363 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 364 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 365 |
#, no-wrap |
| 366 |
msgid "HISTORY" |
| 367 |
msgstr "ISTORIC" |
| 368 |
|
| 369 |
#. type: Plain text |
| 370 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 371 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 372 |
msgid "POSIX.1-2001." |
| 373 |
msgstr "POSIX.1-2001." |
| 374 |
|
| 375 |
#. type: SH |
| 376 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 377 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 378 |
#, no-wrap |
| 379 |
msgid "EXAMPLES" |
| 380 |
msgstr "EXEMPLE" |
| 381 |
|
| 382 |
#. type: Plain text |
| 383 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 384 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 385 |
msgid "" |
| 386 |
"The program below can be used to show the default I<mq_maxmsg> and " |
| 387 |
"I<mq_msgsize> values that are assigned to a message queue that is created " |
| 388 |
"with a call to B<mq_open>(3) in which the I<attr> argument is NULL. Here " |
| 389 |
"is an example run of the program:" |
| 390 |
msgstr "" |
| 391 |
"Programul de mai jos poate fi utilizat pentru a arăta valorile implicite " |
| 392 |
"I<mq_maxmsg> și I<mq_msgsize> care sunt atribuite unei cozi de așteptare a " |
| 393 |
"mesajelor care este creată cu un apel la B<mq_open>(3) în care argumentul " |
| 394 |
"I<attr> este NULL. Iată un exemplu de execuție a programului:" |
| 395 |
|
| 396 |
#. type: Plain text |
| 397 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 398 |
#: opensuse-tumbleweed |
| 399 |
#, no-wrap |
| 400 |
msgid "" |
| 401 |
"$B< ./a.out /testq>;\n" |
| 402 |
"Maximum # of messages on queue: 10\n" |
| 403 |
"Maximum message size: 8192\n" |
| 404 |
msgstr "" |
| 405 |
"$B< ./a.out /testq>;\n" |
| 406 |
"Numărul maxim de mesaje din coada de așteptare: 10\n" |
| 407 |
"Dimensiunea maximă a mesajului: 8192\n" |
| 408 |
|
| 409 |
#. type: Plain text |
| 410 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 411 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 412 |
msgid "" |
| 413 |
"Since Linux 3.5, the following I</proc> files (described in " |
| 414 |
"B<mq_overview>(7)) can be used to control the defaults:" |
| 415 |
msgstr "" |
| 416 |
"Începând cu Linux 3.5, următoarele fișiere I</proc> (descrise în " |
| 417 |
"B<mq_overview>(7)) pot fi utilizate pentru a controla valorile implicite:" |
| 418 |
|
| 419 |
#. type: Plain text |
| 420 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 421 |
#: opensuse-tumbleweed |
| 422 |
#, no-wrap |
| 423 |
msgid "" |
| 424 |
"$B< uname -sr>;\n" |
| 425 |
"Linux 3.8.0\n" |
| 426 |
"$B< cat /proc/sys/fs/mqueue/msg_default>;\n" |
| 427 |
"10\n" |
| 428 |
"$B< cat /proc/sys/fs/mqueue/msgsize_default>;\n" |
| 429 |
"8192\n" |
| 430 |
msgstr "" |
| 431 |
"$B< uname -sr>;\n" |
| 432 |
"Linux 3.8.0\n" |
| 433 |
"$B< cat /proc/sys/fs/mqueue/msg_default>;\n" |
| 434 |
"10\n" |
| 435 |
"$B< cat /proc/sys/fs/mqueue/msgsize_default>;\n" |
| 436 |
"8192\n" |
| 437 |
|
| 438 |
#. type: SS |
| 439 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 440 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 441 |
#, no-wrap |
| 442 |
msgid "Program source" |
| 443 |
msgstr "Sursa programului" |
| 444 |
|
| 445 |
#. type: Plain text |
| 446 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 447 |
#: opensuse-tumbleweed |
| 448 |
#, no-wrap |
| 449 |
msgid "" |
| 450 |
"#include E<lt>err.hE<gt>\n" |
| 451 |
"#include E<lt>fcntl.hE<gt>\n" |
| 452 |
"#include E<lt>mqueue.hE<gt>\n" |
| 453 |
"#include E<lt>stdio.hE<gt>\n" |
| 454 |
"#include E<lt>stdlib.hE<gt>\n" |
| 455 |
"#include E<lt>sys/stat.hE<gt>\n" |
| 456 |
"#include E<lt>unistd.hE<gt>\n" |
| 457 |
"\\&\n" |
| 458 |
"int\n" |
| 459 |
"main(int argc, char *argv[])\n" |
| 460 |
"{\n" |
| 461 |
" mqd_t mqd;\n" |
| 462 |
" struct mq_attr attr;\n" |
| 463 |
"\\&\n" |
| 464 |
" if (argc != 2) {\n" |
| 465 |
" fprintf(stderr, \"Usage: %s mq-name\\[rs]n\", argv[0]);\n" |
| 466 |
" exit(EXIT_FAILURE);\n" |
| 467 |
" }\n" |
| 468 |
"\\&\n" |
| 469 |
" mqd = mq_open(argv[1], O_CREAT | O_EXCL, 0600, NULL);\n" |
| 470 |
" if (mqd == (mqd_t) -1)\n" |
| 471 |
" err(EXIT_FAILURE, \"mq_open\");\n" |
| 472 |
"\\&\n" |
| 473 |
" if (mq_getattr(mqd, &attr) == -1)\n" |
| 474 |
" err(EXIT_FAILURE, \"mq_getattr\");\n" |
| 475 |
"\\&\n" |
| 476 |
" printf(\"Maximum # of messages on queue: %ld\\[rs]n\", attr.mq_maxmsg);\n" |
| 477 |
" printf(\"Maximum message size: %ld\\[rs]n\", attr.mq_msgsize);\n" |
| 478 |
"\\&\n" |
| 479 |
" if (mq_unlink(argv[1]) == -1)\n" |
| 480 |
" err(EXIT_FAILURE, \"mq_unlink\");\n" |
| 481 |
"\\&\n" |
| 482 |
" exit(EXIT_SUCCESS);\n" |
| 483 |
"}\n" |
| 484 |
msgstr "" |
| 485 |
"#include E<lt>err.hE<gt>\n" |
| 486 |
"#include E<lt>fcntl.hE<gt>\n" |
| 487 |
"#include E<lt>mqueue.hE<gt>\n" |
| 488 |
"#include E<lt>stdio.hE<gt>\n" |
| 489 |
"#include E<lt>stdlib.hE<gt>\n" |
| 490 |
"#include E<lt>sys/stat.hE<gt>\n" |
| 491 |
"#include E<lt>unistd.hE<gt>\n" |
| 492 |
"\\&\n" |
| 493 |
"#define errExit(msg) do { perror(msg); exit(EXIT_FAILURE); \\[rs]\n" |
| 494 |
" } while (0)\n" |
| 495 |
"\\&\n" |
| 496 |
"int\n" |
| 497 |
"main(int argc, char *argv[])\n" |
| 498 |
"{\n" |
| 499 |
" mqd_t mqd;\n" |
| 500 |
" struct mq_attr attr;\n" |
| 501 |
"\\&\n" |
| 502 |
" if (argc != 2) {\n" |
| 503 |
" fprintf(stderr, \"Utilizare: %s mq-name\\[rs]n\", argv[0]);\n" |
| 504 |
" exit(EXIT_FAILURE);\n" |
| 505 |
" }\n" |
| 506 |
"\\&\n" |
| 507 |
" mqd = mq_open(argv[1], O_CREAT | O_EXCL, 0600, NULL);\n" |
| 508 |
" if (mqd == (mqd_t) -1)\n" |
| 509 |
" err(EXIT_FAILURE, \"mq_open\");\n" |
| 510 |
"\\&\n" |
| 511 |
" if (mq_getattr(mqd, &attr) == -1)\n" |
| 512 |
" err(EXIT_FAILURE, \"mq_getattr\");\n" |
| 513 |
"\\&\n" |
| 514 |
" printf(\"Numărul maxim de mesaje din coada de așteptare: %ld\\[rs]n\", attr.mq_maxmsg);\n" |
| 515 |
" printf(\"Dimensiunea maximă a mesajului: %ld\\[rs]n\", attr.mq_msgsize);\n" |
| 516 |
"\\&\n" |
| 517 |
" if (mq_unlink(argv[1]) == -1)\n" |
| 518 |
" err(EXIT_FAILURE, \"mq_unlink\");\n" |
| 519 |
"\\&\n" |
| 520 |
" exit(EXIT_SUCCESS);\n" |
| 521 |
"}\n" |
| 522 |
|
| 523 |
#. SRC END |
| 524 |
#. type: SH |
| 525 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 526 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 527 |
#, no-wrap |
| 528 |
msgid "SEE ALSO" |
| 529 |
msgstr "CONSULTAȚI ȘI" |
| 530 |
|
| 531 |
#. type: Plain text |
| 532 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 533 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 534 |
msgid "" |
| 535 |
"B<mq_close>(3), B<mq_notify>(3), B<mq_open>(3), B<mq_receive>(3), " |
| 536 |
"B<mq_send>(3), B<mq_unlink>(3), B<mq_overview>(7)" |
| 537 |
msgstr "" |
| 538 |
"B<mq_close>(3), B<mq_notify>(3), B<mq_open>(3), B<mq_receive>(3), " |
| 539 |
"B<mq_send>(3), B<mq_unlink>(3), B<mq_overview>(7)" |
| 540 |
|
| 541 |
#. type: TH |
| 542 |
#: debian-trixie |
| 543 |
#, no-wrap |
| 544 |
msgid "2024-06-15" |
| 545 |
msgstr "15 iunie 2024" |
| 546 |
|
| 547 |
#. type: TH |
| 548 |
#: debian-trixie |
| 549 |
#, no-wrap |
| 550 |
msgid "Linux man-pages 6.9.1" |
| 551 |
msgstr "Pagini de manual de Linux 6.9.1" |
| 552 |
|
| 553 |
#. type: Plain text |
| 554 |
#: debian-trixie |
| 555 |
msgid "Real-time library (I<librt>, I<-lrt>)" |
| 556 |
msgstr "Biblioteca de timp real (I<librt>, I<-lrt>)" |
| 557 |
|
| 558 |
#. type: Plain text |
| 559 |
#: debian-trixie fedora-44 fedora-rawhide |
| 560 |
#, no-wrap |
| 561 |
msgid "" |
| 562 |
"struct mq_attr {\n" |
| 563 |
" long mq_flags; /* Flags: 0 or O_NONBLOCK */\n" |
| 564 |
" long mq_maxmsg; /* Max. # of messages on queue */\n" |
| 565 |
" long mq_msgsize; /* Max. message size (bytes) */\n" |
| 566 |
" long mq_curmsgs; /* # of messages currently in queue */\n" |
| 567 |
"};\n" |
| 568 |
msgstr "" |
| 569 |
"struct mq_attr {\n" |
| 570 |
" long mq_flags; /* Fanioane: 0 sau O_NONBLOCK */\n" |
| 571 |
" long mq_maxmsg; /* Numărul maxim de mesaje în coadă */\n" |
| 572 |
" long mq_msgsize; /* Dimensiunea maximă a mesajului (octeți)) */\n" |
| 573 |
" long mq_curmsgs; /* Numărul de mesaje aflate în prezent în coadă */\n" |
| 574 |
"};\n" |
| 575 |
|
| 576 |
#. type: Plain text |
| 577 |
#: debian-trixie fedora-44 fedora-rawhide |
| 578 |
#, no-wrap |
| 579 |
msgid "" |
| 580 |
"$ B<./a.out /testq>\n" |
| 581 |
"Maximum # of messages on queue: 10\n" |
| 582 |
"Maximum message size: 8192\n" |
| 583 |
msgstr "" |
| 584 |
"$ B<./a.out /testq>\n" |
| 585 |
"Numărul maxim de mesaje din coada de așteptare: 10\n" |
| 586 |
"Dimensiunea maximă a mesajului: 8192\n" |
| 587 |
|
| 588 |
#. type: Plain text |
| 589 |
#: debian-trixie fedora-44 fedora-rawhide |
| 590 |
#, no-wrap |
| 591 |
msgid "" |
| 592 |
"$ B<uname -sr>\n" |
| 593 |
"Linux 3.8.0\n" |
| 594 |
"$ B<cat /proc/sys/fs/mqueue/msg_default>\n" |
| 595 |
"10\n" |
| 596 |
"$ B<cat /proc/sys/fs/mqueue/msgsize_default>\n" |
| 597 |
"8192\n" |
| 598 |
msgstr "" |
| 599 |
"$ B<uname -sr>\n" |
| 600 |
"Linux 3.8.0\n" |
| 601 |
"$ B<cat /proc/sys/fs/mqueue/msg_default>\n" |
| 602 |
"10\n" |
| 603 |
"$ B<cat /proc/sys/fs/mqueue/msgsize_default>\n" |
| 604 |
"8192\n" |
| 605 |
|
| 606 |
#. type: Plain text |
| 607 |
#: debian-trixie fedora-44 fedora-rawhide |
| 608 |
#, no-wrap |
| 609 |
msgid "" |
| 610 |
"#include E<lt>fcntl.hE<gt>\n" |
| 611 |
"#include E<lt>mqueue.hE<gt>\n" |
| 612 |
"#include E<lt>stdio.hE<gt>\n" |
| 613 |
"#include E<lt>stdlib.hE<gt>\n" |
| 614 |
"#include E<lt>sys/stat.hE<gt>\n" |
| 615 |
"#include E<lt>unistd.hE<gt>\n" |
| 616 |
"\\&\n" |
| 617 |
"#define errExit(msg) do { perror(msg); exit(EXIT_FAILURE); \\[rs]\n" |
| 618 |
" } while (0)\n" |
| 619 |
"\\&\n" |
| 620 |
"int\n" |
| 621 |
"main(int argc, char *argv[])\n" |
| 622 |
"{\n" |
| 623 |
" mqd_t mqd;\n" |
| 624 |
" struct mq_attr attr;\n" |
| 625 |
"\\&\n" |
| 626 |
" if (argc != 2) {\n" |
| 627 |
" fprintf(stderr, \"Usage: %s mq-name\\[rs]n\", argv[0]);\n" |
| 628 |
" exit(EXIT_FAILURE);\n" |
| 629 |
" }\n" |
| 630 |
"\\&\n" |
| 631 |
" mqd = mq_open(argv[1], O_CREAT | O_EXCL, 0600, NULL);\n" |
| 632 |
" if (mqd == (mqd_t) -1)\n" |
| 633 |
" errExit(\"mq_open\");\n" |
| 634 |
"\\&\n" |
| 635 |
" if (mq_getattr(mqd, &attr) == -1)\n" |
| 636 |
" errExit(\"mq_getattr\");\n" |
| 637 |
"\\&\n" |
| 638 |
" printf(\"Maximum # of messages on queue: %ld\\[rs]n\", attr.mq_maxmsg);\n" |
| 639 |
" printf(\"Maximum message size: %ld\\[rs]n\", attr.mq_msgsize);\n" |
| 640 |
"\\&\n" |
| 641 |
" if (mq_unlink(argv[1]) == -1)\n" |
| 642 |
" errExit(\"mq_unlink\");\n" |
| 643 |
"\\&\n" |
| 644 |
" exit(EXIT_SUCCESS);\n" |
| 645 |
"}\n" |
| 646 |
msgstr "" |
| 647 |
"#include E<lt>fcntl.hE<gt>\n" |
| 648 |
"#include E<lt>mqueue.hE<gt>\n" |
| 649 |
"#include E<lt>stdio.hE<gt>\n" |
| 650 |
"#include E<lt>stdlib.hE<gt>\n" |
| 651 |
"#include E<lt>sys/stat.hE<gt>\n" |
| 652 |
"#include E<lt>unistd.hE<gt>\n" |
| 653 |
"\\&\n" |
| 654 |
"#define errExit(msg) do { perror(msg); exit(EXIT_FAILURE); \\[rs]\n" |
| 655 |
" } while (0)\n" |
| 656 |
"\\&\n" |
| 657 |
"int\n" |
| 658 |
"main(int argc, char *argv[])\n" |
| 659 |
"{\n" |
| 660 |
" mqd_t mqd;\n" |
| 661 |
" struct mq_attr attr;\n" |
| 662 |
"\\&\n" |
| 663 |
" if (argc != 2) {\n" |
| 664 |
" fprintf(stderr, \"Utilizare: %s mq-name\\[rs]n\", argv[0]);\n" |
| 665 |
" exit(EXIT_FAILURE);\n" |
| 666 |
" }\n" |
| 667 |
"\\&\n" |
| 668 |
" mqd = mq_open(argv[1], O_CREAT | O_EXCL, 0600, NULL);\n" |
| 669 |
" if (mqd == (mqd_t) -1)\n" |
| 670 |
" errExit(\"mq_open\");\n" |
| 671 |
"\\&\n" |
| 672 |
" if (mq_getattr(mqd, &attr) == -1)\n" |
| 673 |
" errExit(\"mq_getattr\");\n" |
| 674 |
"\\&\n" |
| 675 |
" printf(\"Numărul maxim de mesaje din coada de așteptare: %ld\\[rs]n\", attr.mq_maxmsg);\n" |
| 676 |
" printf(\"Dimensiunea maximă a mesajului: %ld\\[rs]n\", attr.mq_msgsize);\n" |
| 677 |
"\\&\n" |
| 678 |
" if (mq_unlink(argv[1]) == -1)\n" |
| 679 |
" errExit(\"mq_unlink\");\n" |
| 680 |
"\\&\n" |
| 681 |
" exit(EXIT_SUCCESS);\n" |
| 682 |
"}\n" |
| 683 |
|
| 684 |
#. type: TH |
| 685 |
#: fedora-44 fedora-rawhide |
| 686 |
#, no-wrap |
| 687 |
msgid "2024-07-23" |
| 688 |
msgstr "23 iulie 2024" |
| 689 |
|
| 690 |
#. type: TH |
| 691 |
#: fedora-44 fedora-rawhide |
| 692 |
#, no-wrap |
| 693 |
msgid "Linux man-pages 6.13" |
| 694 |
msgstr "Pagini de manual de Linux 6.13" |
| 695 |
|
| 696 |
#. type: TH |
| 697 |
#: mageia-cauldron |
| 698 |
#, no-wrap |
| 699 |
msgid "Linux man-pages 6.17" |
| 700 |
msgstr "Pagini de manual de Linux 6.17" |
| 701 |
|
| 702 |
#. type: TH |
| 703 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 704 |
#, no-wrap |
| 705 |
msgid "Linux man-pages (unreleased)" |
| 706 |
msgstr "Pagini de manual Linux (nepublicate)" |