| 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:42+0200\n" |
| 9 |
"PO-Revision-Date: 2025-11-04 21:35+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 "sendmmsg" |
| 25 |
msgstr "sendmmsg" |
| 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 "sendmmsg - send multiple messages on a socket" |
| 51 |
msgstr "sendmmsg - trimite mai multe mesaje printr-un soclu" |
| 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 "Standard C library (I<libc>,\\ I<-lc>)" |
| 64 |
msgstr "Biblioteca C standard (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 "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 "" |
| 78 |
"B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n" |
| 79 |
"B<#include E<lt>sys/socket.hE<gt>>\n" |
| 80 |
msgstr "" |
| 81 |
"B<#define _GNU_SOURCE> /* Consultați feature_test_macros(7) */\n" |
| 82 |
"B<#include E<lt>sys/socket.hE<gt>>\n" |
| 83 |
|
| 84 |
#. type: Plain text |
| 85 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 86 |
#: opensuse-tumbleweed |
| 87 |
#, no-wrap |
| 88 |
msgid "" |
| 89 |
"B<int sendmmsg(>unsigned int n;\n" |
| 90 |
"B< int >I<sockfd>B<, struct mmsghdr >I<msgvec>B<[>I<n>B<], unsigned int >I<n>B<,>\n" |
| 91 |
"B< int >I<flags>B<);>\n" |
| 92 |
msgstr "" |
| 93 |
"B<int sendmmsg(>unsigned int n;\n" |
| 94 |
"B< int >I<sockfd>B<, struct mmsghdr >I<msgvec>B<[>I<n>B<], unsigned int >I<n>B<,>\n" |
| 95 |
"B< int >I<flags>B<);>\n" |
| 96 |
|
| 97 |
#. type: SH |
| 98 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 99 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 100 |
#, no-wrap |
| 101 |
msgid "DESCRIPTION" |
| 102 |
msgstr "DESCRIERE" |
| 103 |
|
| 104 |
#. See commit 228e548e602061b08ee8e8966f567c12aa079682 |
| 105 |
#. type: Plain text |
| 106 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 107 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 108 |
msgid "" |
| 109 |
"The B<sendmmsg>() system call is an extension of B<sendmsg>(2) that allows " |
| 110 |
"the caller to transmit multiple messages on a socket using a single system " |
| 111 |
"call. (This has performance benefits for some applications.)" |
| 112 |
msgstr "" |
| 113 |
"Apelul de sistem B<sendmmsg>() este o extensie a B<sendmsg>(2) care permite " |
| 114 |
"apelantului să transmită mai multe mesaje printr-un soclu folosind un singur " |
| 115 |
"apel de sistem; (acest lucru are beneficii de performanță pentru unele " |
| 116 |
"aplicații)." |
| 117 |
|
| 118 |
#. type: Plain text |
| 119 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 120 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 121 |
msgid "" |
| 122 |
"The I<sockfd> argument is the file descriptor of the socket on which data is " |
| 123 |
"to be transmitted." |
| 124 |
msgstr "" |
| 125 |
"Argumentul I<sockfd> este descriptorul de fișier al soclului prin care " |
| 126 |
"urmează să fie transmise datele." |
| 127 |
|
| 128 |
#. type: Plain text |
| 129 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 130 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 131 |
msgid "" |
| 132 |
"The I<msgvec> argument is a pointer to an array of I<mmsghdr> structures. " |
| 133 |
"The size of this array is specified in I<n>." |
| 134 |
msgstr "" |
| 135 |
"Argumentul I<msgvec> este un indicator la o matrice de structuri I<mmsghdr>. " |
| 136 |
"Mărimea acestei matrice este specificată în I<n>." |
| 137 |
|
| 138 |
#. type: Plain text |
| 139 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 140 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 141 |
msgid "The I<mmsghdr> structure is defined in I<E<lt>sys/socket.hE<gt>> as:" |
| 142 |
msgstr "Structura I<mmsghdr> este definită în I<E<lt>sys/socket.hE<gt>> ca:" |
| 143 |
|
| 144 |
#. type: Plain text |
| 145 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 146 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 147 |
#, no-wrap |
| 148 |
msgid "" |
| 149 |
"struct mmsghdr {\n" |
| 150 |
" struct msghdr msg_hdr; /* Message header */\n" |
| 151 |
" unsigned int msg_len; /* Number of bytes transmitted */\n" |
| 152 |
"};\n" |
| 153 |
msgstr "" |
| 154 |
"struct mmsghdr {\n" |
| 155 |
" struct msghdr msg_hdr; /* Antetul mesajului */\n" |
| 156 |
" unsigned int msg_len; /* Numărul de octeți transmiși */\n" |
| 157 |
"};\n" |
| 158 |
|
| 159 |
#. type: Plain text |
| 160 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 161 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 162 |
msgid "" |
| 163 |
"The I<msg_hdr> field is a I<msghdr> structure, as described in " |
| 164 |
"B<sendmsg>(2). The I<msg_len> field is used to return the number of bytes " |
| 165 |
"sent from the message in I<msg_hdr> (i.e., the same as the return value from " |
| 166 |
"a single B<sendmsg>(2) call)." |
| 167 |
msgstr "" |
| 168 |
"Câmpul I<msg_hdr> este o structură I<msghdr>, astfel cum este descrisă în " |
| 169 |
"B<sendmsg>(2). Câmpul I<msg_len> este utilizat pentru a returna numărul de " |
| 170 |
"octeți trimiși din mesaj în I<msg_hdr> (adică aceeași valoare ca cea " |
| 171 |
"returnată de la un singur apel B<sendmsg>(2))." |
| 172 |
|
| 173 |
#. type: Plain text |
| 174 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 175 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 176 |
msgid "" |
| 177 |
"The I<flags> argument contains flags ORed together. The flags are the same " |
| 178 |
"as for B<sendmsg>(2)." |
| 179 |
msgstr "" |
| 180 |
"Argumentul I<flags> conține fanioane și OR binare combinate împreună. " |
| 181 |
"Fanioanele sunt aceleași ca pentru B<sendmsg>(2)." |
| 182 |
|
| 183 |
#. type: Plain text |
| 184 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 185 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 186 |
msgid "" |
| 187 |
"A blocking B<sendmmsg>() call blocks until I<n> messages have been sent. A " |
| 188 |
"nonblocking call sends as many messages as possible (up to the limit " |
| 189 |
"specified by I<n>) and returns immediately." |
| 190 |
msgstr "" |
| 191 |
"Un apel blocant B<sendmmsg>() blochează până când au fost trimise I<n> " |
| 192 |
"mesaje. Un apel care nu blochează trimite cât mai multe mesaje posibil (până " |
| 193 |
"la limita specificată de I<n>) și returnează imediat." |
| 194 |
|
| 195 |
#. type: Plain text |
| 196 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 197 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 198 |
msgid "" |
| 199 |
"On return from B<sendmmsg>(), the I<msg_len> fields of successive elements " |
| 200 |
"of I<msgvec> are updated to contain the number of bytes transmitted from the " |
| 201 |
"corresponding I<msg_hdr>. The return value of the call indicates the number " |
| 202 |
"of elements of I<msgvec> that have been updated." |
| 203 |
msgstr "" |
| 204 |
"La returnarea de la B<sendmmsg>(), câmpurile I<msg_len> ale elementelor " |
| 205 |
"succesive ale I<msgvec> sunt actualizate pentru a conține numărul de octeți " |
| 206 |
"transmis din I<msg_hdr> corespunzător. Valoarea de returnare a apelului " |
| 207 |
"indică numărul de elemente din I<msgvec> care au fost actualizate." |
| 208 |
|
| 209 |
#. type: SH |
| 210 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 211 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 212 |
#, no-wrap |
| 213 |
msgid "RETURN VALUE" |
| 214 |
msgstr "VALOAREA RETURNATĂ" |
| 215 |
|
| 216 |
#. type: Plain text |
| 217 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 218 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 219 |
msgid "" |
| 220 |
"On success, B<sendmmsg>() returns the number of messages sent from " |
| 221 |
"I<msgvec>; if this is less than I<n>, the caller can retry with a further " |
| 222 |
"B<sendmmsg>() call to send the remaining messages." |
| 223 |
msgstr "" |
| 224 |
"În caz de succes, B<sendmmsg>() returnează numărul de mesaje trimise din " |
| 225 |
"I<msgvec>; dacă acesta este mai mic decât I<n>, apelantul poate încerca din " |
| 226 |
"nou cu un alt apel B<sendmmsg>() pentru a trimite mesajele rămase." |
| 227 |
|
| 228 |
#. type: Plain text |
| 229 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 230 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 231 |
msgid "On error, -1 is returned, and I<errno> is set to indicate the error." |
| 232 |
msgstr "" |
| 233 |
"În caz de eroare, se returnează -1, iar I<errno> este configurată pentru a " |
| 234 |
"indica eroarea." |
| 235 |
|
| 236 |
#. type: SH |
| 237 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 238 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 239 |
#, no-wrap |
| 240 |
msgid "ERRORS" |
| 241 |
msgstr "ERORI-IEȘIRE" |
| 242 |
|
| 243 |
# |
| 244 |
#. #-#-#-#-# archlinux: sendmmsg.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 245 |
#. commit 728ffb86f10873aaf4abd26dde691ee40ae731fe |
| 246 |
#. ...only return an error if no datagrams could be sent. |
| 247 |
#. If less than the requested number of messages were sent, the application |
| 248 |
#. must retry starting at the first failed one and if the problem is |
| 249 |
#. persistent the error will be returned. |
| 250 |
#. This matches the behavior of other syscalls like read/write - it |
| 251 |
#. is not an error if less than the requested number of elements are sent. |
| 252 |
#. type: Plain text |
| 253 |
#. #-#-#-#-# debian-trixie: sendmmsg.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 254 |
#. commit 728ffb86f10873aaf4abd26dde691ee40ae731fe |
| 255 |
#. ... only return an error if no datagrams could be sent. |
| 256 |
#. If less than the requested number of messages were sent, the application |
| 257 |
#. must retry starting at the first failed one and if the problem is |
| 258 |
#. persistent the error will be returned. |
| 259 |
#. This matches the behavior of other syscalls like read/write - it |
| 260 |
#. is not an error if less than the requested number of elements are sent. |
| 261 |
#. type: Plain text |
| 262 |
#. #-#-#-#-# debian-unstable: sendmmsg.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 263 |
#. commit 728ffb86f10873aaf4abd26dde691ee40ae731fe |
| 264 |
#. ...only return an error if no datagrams could be sent. |
| 265 |
#. If less than the requested number of messages were sent, the application |
| 266 |
#. must retry starting at the first failed one and if the problem is |
| 267 |
#. persistent the error will be returned. |
| 268 |
#. This matches the behavior of other syscalls like read/write - it |
| 269 |
#. is not an error if less than the requested number of elements are sent. |
| 270 |
#. type: Plain text |
| 271 |
#. #-#-#-#-# fedora-44: sendmmsg.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 272 |
#. commit 728ffb86f10873aaf4abd26dde691ee40ae731fe |
| 273 |
#. ... only return an error if no datagrams could be sent. |
| 274 |
#. If less than the requested number of messages were sent, the application |
| 275 |
#. must retry starting at the first failed one and if the problem is |
| 276 |
#. persistent the error will be returned. |
| 277 |
#. This matches the behavior of other syscalls like read/write - it |
| 278 |
#. is not an error if less than the requested number of elements are sent. |
| 279 |
#. type: Plain text |
| 280 |
#. #-#-#-#-# fedora-rawhide: sendmmsg.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 281 |
#. commit 728ffb86f10873aaf4abd26dde691ee40ae731fe |
| 282 |
#. ... only return an error if no datagrams could be sent. |
| 283 |
#. If less than the requested number of messages were sent, the application |
| 284 |
#. must retry starting at the first failed one and if the problem is |
| 285 |
#. persistent the error will be returned. |
| 286 |
#. This matches the behavior of other syscalls like read/write - it |
| 287 |
#. is not an error if less than the requested number of elements are sent. |
| 288 |
#. type: Plain text |
| 289 |
#. #-#-#-#-# mageia-cauldron: sendmmsg.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 290 |
#. commit 728ffb86f10873aaf4abd26dde691ee40ae731fe |
| 291 |
#. ...only return an error if no datagrams could be sent. |
| 292 |
#. If less than the requested number of messages were sent, the application |
| 293 |
#. must retry starting at the first failed one and if the problem is |
| 294 |
#. persistent the error will be returned. |
| 295 |
#. This matches the behavior of other syscalls like read/write - it |
| 296 |
#. is not an error if less than the requested number of elements are sent. |
| 297 |
#. type: Plain text |
| 298 |
#. #-#-#-#-# opensuse-leap-16-1: sendmmsg.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 299 |
#. commit 728ffb86f10873aaf4abd26dde691ee40ae731fe |
| 300 |
#. ...only return an error if no datagrams could be sent. |
| 301 |
#. If less than the requested number of messages were sent, the application |
| 302 |
#. must retry starting at the first failed one and if the problem is |
| 303 |
#. persistent the error will be returned. |
| 304 |
#. This matches the behavior of other syscalls like read/write - it |
| 305 |
#. is not an error if less than the requested number of elements are sent. |
| 306 |
#. type: Plain text |
| 307 |
#. #-#-#-#-# opensuse-tumbleweed: sendmmsg.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 308 |
#. commit 728ffb86f10873aaf4abd26dde691ee40ae731fe |
| 309 |
#. ...only return an error if no datagrams could be sent. |
| 310 |
#. If less than the requested number of messages were sent, the application |
| 311 |
#. must retry starting at the first failed one and if the problem is |
| 312 |
#. persistent the error will be returned. |
| 313 |
#. This matches the behavior of other syscalls like read/write - it |
| 314 |
#. is not an error if less than the requested number of elements are sent. |
| 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 |
"Errors are as for B<sendmsg>(2). An error is returned only if no datagrams " |
| 320 |
"could be sent. See also BUGS." |
| 321 |
msgstr "" |
| 322 |
"Erorile sunt aceleași ca la B<sendmsg>(2). O eroare este returnată numai " |
| 323 |
"dacă nu se poate trimite nici un datagramă. A se vedea, de asemenea, " |
| 324 |
"secțiunea ERORI." |
| 325 |
|
| 326 |
#. type: SH |
| 327 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 328 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 329 |
#, no-wrap |
| 330 |
msgid "STANDARDS" |
| 331 |
msgstr "STANDARDE" |
| 332 |
|
| 333 |
#. type: Plain text |
| 334 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 335 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 336 |
msgid "Linux." |
| 337 |
msgstr "Linux." |
| 338 |
|
| 339 |
#. type: SH |
| 340 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 341 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 342 |
#, no-wrap |
| 343 |
msgid "HISTORY" |
| 344 |
msgstr "ISTORIC" |
| 345 |
|
| 346 |
#. type: Plain text |
| 347 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 348 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 349 |
msgid "Linux 3.0, glibc 2.14." |
| 350 |
msgstr "Linux 3.0, glibc 2.14." |
| 351 |
|
| 352 |
#. type: SH |
| 353 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 354 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 355 |
#, no-wrap |
| 356 |
msgid "NOTES" |
| 357 |
msgstr "NOTE" |
| 358 |
|
| 359 |
# |
| 360 |
# |
| 361 |
#. commit 98382f419f32d2c12d021943b87dea555677144b |
| 362 |
#. net: Cap number of elements for sendmmsg |
| 363 |
#. To limit the amount of time we can spend in sendmmsg, cap the |
| 364 |
#. number of elements to UIO_MAXIOV (currently 1024). |
| 365 |
#. For error handling an application using sendmmsg needs to retry at |
| 366 |
#. the first unsent message, so capping is simpler and requires less |
| 367 |
#. application logic than returning EINVAL. |
| 368 |
#. type: Plain text |
| 369 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 370 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 371 |
msgid "The value specified in I<n> is capped to B<UIO_MAXIOV> (1024)." |
| 372 |
msgstr "Valoarea specificată în I<n> este limitată la B<UIO_MAXIOV> (1024)." |
| 373 |
|
| 374 |
#. type: SH |
| 375 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 376 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 377 |
#, no-wrap |
| 378 |
msgid "BUGS" |
| 379 |
msgstr "ERORI" |
| 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 |
"If an error occurs after at least one message has been sent, the call " |
| 386 |
"succeeds, and returns the number of messages sent. The error code is lost. " |
| 387 |
"The caller can retry the transmission, starting at the first failed message, " |
| 388 |
"but there is no guarantee that, if an error is returned, it will be the same " |
| 389 |
"as the one that was lost on the previous call." |
| 390 |
msgstr "" |
| 391 |
"Dacă apare o eroare după ce a fost trimis cel puțin un mesaj, apelul " |
| 392 |
"reușește și returnează numărul de mesaje trimise. Codul de eroare se pierde. " |
| 393 |
"Apelantul poate încerca din nou transmiterea, pornind de la primul mesaj " |
| 394 |
"eșuat, dar nu există nicio garanție că, în cazul în care se returnează o " |
| 395 |
"eroare, aceasta va fi aceeași cu cea care a fost pierdută la apelul anterior." |
| 396 |
|
| 397 |
#. type: SH |
| 398 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 399 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 400 |
#, no-wrap |
| 401 |
msgid "EXAMPLES" |
| 402 |
msgstr "EXEMPLE" |
| 403 |
|
| 404 |
#. type: Plain text |
| 405 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 406 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 407 |
msgid "" |
| 408 |
"The example below uses B<sendmmsg>() to send I<onetwo> and I<three> in two " |
| 409 |
"distinct UDP datagrams using one system call. The contents of the first " |
| 410 |
"datagram originates from a pair of buffers." |
| 411 |
msgstr "" |
| 412 |
"Exemplul de mai jos utilizează B<sendmmsg>() pentru a trimite I<unu-doi> și " |
| 413 |
"I<trei> în două datagrame UDP distincte utilizând un singur apel de sistem. " |
| 414 |
"Conținutul primei datagrame provine dintr-o pereche de memorii tampon." |
| 415 |
|
| 416 |
#. type: Plain text |
| 417 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 418 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 419 |
#, no-wrap |
| 420 |
msgid "" |
| 421 |
"#define _GNU_SOURCE\n" |
| 422 |
"#include E<lt>arpa/inet.hE<gt>\n" |
| 423 |
"#include E<lt>netinet/in.hE<gt>\n" |
| 424 |
"#include E<lt>stdio.hE<gt>\n" |
| 425 |
"#include E<lt>stdlib.hE<gt>\n" |
| 426 |
"#include E<lt>string.hE<gt>\n" |
| 427 |
"#include E<lt>sys/socket.hE<gt>\n" |
| 428 |
"#include E<lt>sys/types.hE<gt>\n" |
| 429 |
"\\&\n" |
| 430 |
"int\n" |
| 431 |
"main(void)\n" |
| 432 |
"{\n" |
| 433 |
" int retval;\n" |
| 434 |
" int sockfd;\n" |
| 435 |
" struct iovec msg1[2], msg2;\n" |
| 436 |
" struct mmsghdr msg[2];\n" |
| 437 |
" struct sockaddr_in addr;\n" |
| 438 |
"\\&\n" |
| 439 |
" sockfd = socket(AF_INET, SOCK_DGRAM, 0);\n" |
| 440 |
" if (sockfd == -1) {\n" |
| 441 |
" perror(\"socket()\");\n" |
| 442 |
" exit(EXIT_FAILURE);\n" |
| 443 |
" }\n" |
| 444 |
"\\&\n" |
| 445 |
" addr.sin_family = AF_INET;\n" |
| 446 |
" addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);\n" |
| 447 |
" addr.sin_port = htons(1234);\n" |
| 448 |
" if (connect(sockfd, (struct sockaddr *) &addr, sizeof(addr)) == -1) {\n" |
| 449 |
" perror(\"connect()\");\n" |
| 450 |
" exit(EXIT_FAILURE);\n" |
| 451 |
" }\n" |
| 452 |
"\\&\n" |
| 453 |
" memset(msg1, 0, sizeof(msg1));\n" |
| 454 |
" msg1[0].iov_base = \"one\";\n" |
| 455 |
" msg1[0].iov_len = 3;\n" |
| 456 |
" msg1[1].iov_base = \"two\";\n" |
| 457 |
" msg1[1].iov_len = 3;\n" |
| 458 |
"\\&\n" |
| 459 |
" memset(&msg2, 0, sizeof(msg2));\n" |
| 460 |
" msg2.iov_base = \"three\";\n" |
| 461 |
" msg2.iov_len = 5;\n" |
| 462 |
"\\&\n" |
| 463 |
" memset(msg, 0, sizeof(msg));\n" |
| 464 |
" msg[0].msg_hdr.msg_iov = msg1;\n" |
| 465 |
" msg[0].msg_hdr.msg_iovlen = 2;\n" |
| 466 |
"\\&\n" |
| 467 |
" msg[1].msg_hdr.msg_iov = &msg2;\n" |
| 468 |
" msg[1].msg_hdr.msg_iovlen = 1;\n" |
| 469 |
"\\&\n" |
| 470 |
" retval = sendmmsg(sockfd, msg, 2, 0);\n" |
| 471 |
" if (retval == -1)\n" |
| 472 |
" perror(\"sendmmsg()\");\n" |
| 473 |
" else\n" |
| 474 |
" printf(\"%d messages sent\\[rs]n\", retval);\n" |
| 475 |
"\\&\n" |
| 476 |
" exit(0);\n" |
| 477 |
"}\n" |
| 478 |
msgstr "" |
| 479 |
"#define _GNU_SOURCE\n" |
| 480 |
"#include E<lt>arpa/inet.hE<gt>\n" |
| 481 |
"#include E<lt>netinet/in.hE<gt>\n" |
| 482 |
"#include E<lt>stdio.hE<gt>\n" |
| 483 |
"#include E<lt>stdlib.hE<gt>\n" |
| 484 |
"#include E<lt>string.hE<gt>\n" |
| 485 |
"#include E<lt>sys/socket.hE<gt>\n" |
| 486 |
"#include E<lt>sys/types.hE<gt>\n" |
| 487 |
"\\&\n" |
| 488 |
"int\n" |
| 489 |
"main(void)\n" |
| 490 |
"{\n" |
| 491 |
" int retval;\n" |
| 492 |
" int sockfd;\n" |
| 493 |
" struct iovec msg1[2], msg2;\n" |
| 494 |
" struct mmsghdr msg[2];\n" |
| 495 |
" struct sockaddr_in addr;\n" |
| 496 |
"\\&\n" |
| 497 |
" sockfd = socket(AF_INET, SOCK_DGRAM, 0);\n" |
| 498 |
" if (sockfd == -1) {\n" |
| 499 |
" perror(\"socket()\");\n" |
| 500 |
" exit(EXIT_FAILURE);\n" |
| 501 |
" }\n" |
| 502 |
"\\&\n" |
| 503 |
" addr.sin_family = AF_INET;\n" |
| 504 |
" addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);\n" |
| 505 |
" addr.sin_port = htons(1234);\n" |
| 506 |
" if (connect(sockfd, (struct sockaddr *) &addr, sizeof(addr)) == -1) {\n" |
| 507 |
" perror(\"connect()\");\n" |
| 508 |
" exit(EXIT_FAILURE);\n" |
| 509 |
" }\n" |
| 510 |
"\\&\n" |
| 511 |
" memset(msg1, 0, sizeof(msg1));\n" |
| 512 |
" msg1[0].iov_base = \"unu\";\n" |
| 513 |
" msg1[0].iov_len = 3;\n" |
| 514 |
" msg1[1].iov_base = \"doi\";\n" |
| 515 |
" msg1[1].iov_len = 3;\n" |
| 516 |
"\\&\n" |
| 517 |
" memset(&msg2, 0, sizeof(msg2));\n" |
| 518 |
" msg2.iov_base = \"trei\";\n" |
| 519 |
" msg2.iov_len = 5;\n" |
| 520 |
"\\&\n" |
| 521 |
" memset(msg, 0, sizeof(msg));\n" |
| 522 |
" msg[0].msg_hdr.msg_iov = msg1;\n" |
| 523 |
" msg[0].msg_hdr.msg_iovlen = 2;\n" |
| 524 |
"\\&\n" |
| 525 |
" msg[1].msg_hdr.msg_iov = &msg2;\n" |
| 526 |
" msg[1].msg_hdr.msg_iovlen = 1;\n" |
| 527 |
"\\&\n" |
| 528 |
" retval = sendmmsg(sockfd, msg, 2, 0);\n" |
| 529 |
" if (retval == -1)\n" |
| 530 |
" perror(\"sendmmsg()\");\n" |
| 531 |
" else\n" |
| 532 |
" printf(\"%d mesaje trimise\\[rs]n\", retval);\n" |
| 533 |
"\\&\n" |
| 534 |
" exit(0);\n" |
| 535 |
"}\n" |
| 536 |
|
| 537 |
#. SRC END |
| 538 |
#. type: SH |
| 539 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 540 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 541 |
#, no-wrap |
| 542 |
msgid "SEE ALSO" |
| 543 |
msgstr "CONSULTAȚI ȘI" |
| 544 |
|
| 545 |
#. type: Plain text |
| 546 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 547 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 548 |
msgid "B<recvmmsg>(2), B<sendmsg>(2), B<socket>(2), B<socket>(7)" |
| 549 |
msgstr "B<recvmmsg>(2), B<sendmsg>(2), B<socket>(2), B<socket>(7)" |
| 550 |
|
| 551 |
#. type: TH |
| 552 |
#: debian-trixie |
| 553 |
#, no-wrap |
| 554 |
msgid "2024-06-15" |
| 555 |
msgstr "15 iunie 2024" |
| 556 |
|
| 557 |
#. type: TH |
| 558 |
#: debian-trixie |
| 559 |
#, no-wrap |
| 560 |
msgid "Linux man-pages 6.9.1" |
| 561 |
msgstr "Pagini de manual de Linux 6.9.1" |
| 562 |
|
| 563 |
#. type: Plain text |
| 564 |
#: debian-trixie |
| 565 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 566 |
msgstr "Biblioteca C standard (I<libc>, I<-lc>)" |
| 567 |
|
| 568 |
#. type: Plain text |
| 569 |
#: debian-trixie |
| 570 |
#, no-wrap |
| 571 |
msgid "" |
| 572 |
"B<int sendmmsg(int >I<sockfd>B<, struct mmsghdr *>I<msgvec>B<, unsigned int >I<vlen>B<,>\n" |
| 573 |
"B< int >I<flags>B<);>\n" |
| 574 |
msgstr "" |
| 575 |
"B<int sendmmsg(int >I<sockfd>B<, struct mmsghdr *>I<msgvec>B<, unsigned int >I<vlen>B<,>\n" |
| 576 |
"B< int >I<flags>B<);>\n" |
| 577 |
|
| 578 |
#. type: Plain text |
| 579 |
#: debian-trixie |
| 580 |
msgid "" |
| 581 |
"The I<msgvec> argument is a pointer to an array of I<mmsghdr> structures. " |
| 582 |
"The size of this array is specified in I<vlen>." |
| 583 |
msgstr "" |
| 584 |
"Argumentul I<msgvec> este un indicator la o matrice de structuri I<mmsghdr>. " |
| 585 |
"Mărimea acestei matrice este specificată în I<vlen>." |
| 586 |
|
| 587 |
#. type: Plain text |
| 588 |
#: debian-trixie |
| 589 |
msgid "" |
| 590 |
"A blocking B<sendmmsg>() call blocks until I<vlen> messages have been " |
| 591 |
"sent. A nonblocking call sends as many messages as possible (up to the " |
| 592 |
"limit specified by I<vlen>) and returns immediately." |
| 593 |
msgstr "" |
| 594 |
"Un apel blocant B<sendmmsg>() blochează până când au fost trimise I<vlen> " |
| 595 |
"mesaje. Un apel care nu blochează trimite cât mai multe mesaje posibil (până " |
| 596 |
"la limita specificată de I<vlen>) și returnează imediat." |
| 597 |
|
| 598 |
#. type: Plain text |
| 599 |
#: debian-trixie |
| 600 |
msgid "" |
| 601 |
"On success, B<sendmmsg>() returns the number of messages sent from " |
| 602 |
"I<msgvec>; if this is less than I<vlen>, the caller can retry with a further " |
| 603 |
"B<sendmmsg>() call to send the remaining messages." |
| 604 |
msgstr "" |
| 605 |
"În caz de succes, B<sendmmsg>() returnează numărul de mesaje trimise din " |
| 606 |
"I<msgvec>; dacă acesta este mai mic decât I<vlen>, apelantul poate încerca " |
| 607 |
"din nou cu un alt apel B<sendmmsg>() pentru a trimite mesajele rămase." |
| 608 |
|
| 609 |
# |
| 610 |
# |
| 611 |
#. commit 98382f419f32d2c12d021943b87dea555677144b |
| 612 |
#. net: Cap number of elements for sendmmsg |
| 613 |
#. To limit the amount of time we can spend in sendmmsg, cap the |
| 614 |
#. number of elements to UIO_MAXIOV (currently 1024). |
| 615 |
#. For error handling an application using sendmmsg needs to retry at |
| 616 |
#. the first unsent message, so capping is simpler and requires less |
| 617 |
#. application logic than returning EINVAL. |
| 618 |
#. type: Plain text |
| 619 |
#: debian-trixie |
| 620 |
msgid "The value specified in I<vlen> is capped to B<UIO_MAXIOV> (1024)." |
| 621 |
msgstr "Valoarea specificată în I<vlen> este limitată la B<UIO_MAXIOV> (1024)." |
| 622 |
|
| 623 |
#. type: TH |
| 624 |
#: fedora-44 fedora-rawhide |
| 625 |
#, no-wrap |
| 626 |
msgid "2024-11-17" |
| 627 |
msgstr "17 noiembrie 2024" |
| 628 |
|
| 629 |
#. type: TH |
| 630 |
#: fedora-44 fedora-rawhide |
| 631 |
#, no-wrap |
| 632 |
msgid "Linux man-pages 6.13" |
| 633 |
msgstr "Pagini de manual de Linux 6.13" |
| 634 |
|
| 635 |
#. type: Plain text |
| 636 |
#: fedora-44 fedora-rawhide |
| 637 |
#, no-wrap |
| 638 |
msgid "" |
| 639 |
"B<int sendmmsg(int >I<sockfd>B<, struct mmsghdr >I<msgvec>B<[.>I<n>B<], unsigned int >I<n>B<,>\n" |
| 640 |
"B< int >I<flags>B<);>\n" |
| 641 |
msgstr "" |
| 642 |
"B<int sendmmsg(int >I<sockfd>B<, struct mmsghdr >I<msgvec>B<[.>I<n>B<], unsigned int >I<n>B<,>\n" |
| 643 |
"B< int >I<flags>B<);>\n" |
| 644 |
|
| 645 |
#. type: TH |
| 646 |
#: mageia-cauldron |
| 647 |
#, no-wrap |
| 648 |
msgid "Linux man-pages 6.17" |
| 649 |
msgstr "Pagini de manual de Linux 6.17" |
| 650 |
|
| 651 |
#. type: TH |
| 652 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 653 |
#, no-wrap |
| 654 |
msgid "Linux man-pages (unreleased)" |
| 655 |
msgstr "Pagini de manual Linux (nepublicate)" |