| 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:21+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 "CMSG" |
| 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 "" |
| 50 |
"CMSG_ALIGN, CMSG_SPACE, CMSG_NXTHDR, CMSG_FIRSTHDR - access ancillary data" |
| 51 |
msgstr "" |
| 52 |
|
| 53 |
#. type: SH |
| 54 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 55 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 56 |
#, no-wrap |
| 57 |
msgid "LIBRARY" |
| 58 |
msgstr "" |
| 59 |
|
| 60 |
#. type: Plain text |
| 61 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 62 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 64 |
msgstr "" |
| 65 |
|
| 66 |
#. type: SH |
| 67 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 68 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 69 |
#, no-wrap |
| 70 |
msgid "SYNOPSIS" |
| 71 |
msgstr "" |
| 72 |
|
| 73 |
#. type: Plain text |
| 74 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 75 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 76 |
#, no-wrap |
| 77 |
msgid "B<#include E<lt>sys/socket.hE<gt>>\n" |
| 78 |
msgstr "" |
| 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<struct cmsghdr *CMSG_FIRSTHDR(struct msghdr *>I<msgh>B<);>\n" |
| 86 |
"B<struct cmsghdr *CMSG_NXTHDR(struct msghdr *>I<msgh>B<,>\n" |
| 87 |
"B< struct cmsghdr *>cmsgB<);>\n" |
| 88 |
"B<size_t CMSG_ALIGN(size_t >I<length>B<);>\n" |
| 89 |
"B<size_t CMSG_SPACE(size_t >I<length>B<);>\n" |
| 90 |
"B<size_t CMSG_LEN(size_t >I<length>B<);>\n" |
| 91 |
"B<unsigned char *CMSG_DATA(struct cmsghdr *>I<cmsg>B<);>\n" |
| 92 |
msgstr "" |
| 93 |
|
| 94 |
#. type: SH |
| 95 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 96 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 97 |
#, no-wrap |
| 98 |
msgid "DESCRIPTION" |
| 99 |
msgstr "" |
| 100 |
|
| 101 |
#. type: Plain text |
| 102 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 103 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 104 |
msgid "" |
| 105 |
"These macros are used to create and access control messages (also called " |
| 106 |
"ancillary data) that are not a part of the socket payload. This control " |
| 107 |
"information may include the interface the packet was received on, various " |
| 108 |
"rarely used header fields, an extended error description, a set of file " |
| 109 |
"descriptors, or UNIX credentials. For instance, control messages can be " |
| 110 |
"used to send additional header fields such as IP options. Ancillary data is " |
| 111 |
"sent by calling B<sendmsg>(2) and received by calling B<recvmsg>(2). See " |
| 112 |
"their manual pages for more information." |
| 113 |
msgstr "" |
| 114 |
|
| 115 |
#. type: Plain text |
| 116 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 117 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 118 |
msgid "" |
| 119 |
"Ancillary data is a sequence of I<cmsghdr> structures with appended data. " |
| 120 |
"See the specific protocol man pages for the available control message " |
| 121 |
"types. The maximum ancillary buffer size allowed per socket can be set " |
| 122 |
"using I</proc/sys/net/core/optmem_max>; see B<socket>(7)." |
| 123 |
msgstr "" |
| 124 |
|
| 125 |
#. type: Plain text |
| 126 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 127 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 128 |
msgid "The I<cmsghdr> structure is defined as follows:" |
| 129 |
msgstr "" |
| 130 |
|
| 131 |
#. type: Plain text |
| 132 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 133 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 134 |
#, no-wrap |
| 135 |
msgid "" |
| 136 |
"struct cmsghdr {\n" |
| 137 |
" size_t cmsg_len; /* Data byte count, including header\n" |
| 138 |
" (type is socklen_t in POSIX) */\n" |
| 139 |
" int cmsg_level; /* Originating protocol */\n" |
| 140 |
" int cmsg_type; /* Protocol-specific type */\n" |
| 141 |
"/* followed by\n" |
| 142 |
" unsigned char cmsg_data[]; */\n" |
| 143 |
"};\n" |
| 144 |
msgstr "" |
| 145 |
|
| 146 |
#. type: Plain text |
| 147 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 148 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 149 |
msgid "" |
| 150 |
"The sequence of I<cmsghdr> structures should never be accessed directly. " |
| 151 |
"Instead, use only the following macros:" |
| 152 |
msgstr "" |
| 153 |
|
| 154 |
#. type: TP |
| 155 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 156 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 157 |
#, no-wrap |
| 158 |
msgid "B<CMSG_FIRSTHDR>()" |
| 159 |
msgstr "" |
| 160 |
|
| 161 |
#. type: Plain text |
| 162 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 163 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 164 |
msgid "" |
| 165 |
"returns a pointer to the first I<cmsghdr> in the ancillary data buffer " |
| 166 |
"associated with the passed I<msghdr>. It returns NULL if there isn't enough " |
| 167 |
"space for a I<cmsghdr> in the buffer." |
| 168 |
msgstr "" |
| 169 |
|
| 170 |
#. type: TQ |
| 171 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 172 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 173 |
#, no-wrap |
| 174 |
msgid "B<CMSG_NXTHDR>()" |
| 175 |
msgstr "" |
| 176 |
|
| 177 |
#. type: Plain text |
| 178 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 179 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 180 |
msgid "" |
| 181 |
"returns the next valid I<cmsghdr> after the passed I<cmsghdr>. It returns " |
| 182 |
"NULL when there isn't enough space left in the buffer." |
| 183 |
msgstr "" |
| 184 |
|
| 185 |
#. type: Plain text |
| 186 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 187 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 188 |
msgid "" |
| 189 |
"When initializing a buffer that will contain a series of I<cmsghdr> " |
| 190 |
"structures (e.g., to be sent with B<sendmsg>(2)), that buffer should first " |
| 191 |
"be zero-initialized to ensure the correct operation of B<CMSG_NXTHDR>()." |
| 192 |
msgstr "" |
| 193 |
|
| 194 |
#. type: TP |
| 195 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 196 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 197 |
#, no-wrap |
| 198 |
msgid "B<CMSG_ALIGN>()," |
| 199 |
msgstr "" |
| 200 |
|
| 201 |
#. type: Plain text |
| 202 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 203 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 204 |
msgid "" |
| 205 |
"given a length, returns it including the required alignment. This is a " |
| 206 |
"constant expression." |
| 207 |
msgstr "" |
| 208 |
|
| 209 |
#. type: TP |
| 210 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 211 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 212 |
#, no-wrap |
| 213 |
msgid "B<CMSG_SPACE>()" |
| 214 |
msgstr "" |
| 215 |
|
| 216 |
#. type: Plain text |
| 217 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 218 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 219 |
msgid "" |
| 220 |
"returns the number of bytes an ancillary element with payload of the passed " |
| 221 |
"data length occupies. This is a constant expression." |
| 222 |
msgstr "" |
| 223 |
|
| 224 |
#. type: TQ |
| 225 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 226 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 227 |
#, no-wrap |
| 228 |
msgid "B<CMSG_DATA>()" |
| 229 |
msgstr "" |
| 230 |
|
| 231 |
#. type: Plain text |
| 232 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 233 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 234 |
msgid "" |
| 235 |
"returns a pointer to the data portion of a I<cmsghdr>. The pointer returned " |
| 236 |
"cannot be assumed to be suitably aligned for accessing arbitrary payload " |
| 237 |
"data types. Applications should not cast it to a pointer type matching the " |
| 238 |
"payload, but should instead use B<memcpy>(3) to copy data to or from a " |
| 239 |
"suitably declared object." |
| 240 |
msgstr "" |
| 241 |
|
| 242 |
#. type: TQ |
| 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<CMSG_LEN>()" |
| 247 |
msgstr "" |
| 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 "" |
| 253 |
"returns the value to store in the I<cmsg_len> member of the I<cmsghdr> " |
| 254 |
"structure, taking into account any necessary alignment. It takes the data " |
| 255 |
"length as an argument. This is a constant expression." |
| 256 |
msgstr "" |
| 257 |
|
| 258 |
#. type: Plain text |
| 259 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 260 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 261 |
msgid "" |
| 262 |
"To create ancillary data, first initialize the I<msg_controllen> member of " |
| 263 |
"the I<msghdr> with the length of the control message buffer. Use " |
| 264 |
"B<CMSG_FIRSTHDR>() on the I<msghdr> to get the first control message and " |
| 265 |
"B<CMSG_NXTHDR>() to get all subsequent ones. In each control message, " |
| 266 |
"initialize I<cmsg_len> (with B<CMSG_LEN>()), the other I<cmsghdr> header " |
| 267 |
"fields, and the data portion using B<CMSG_DATA>(). Finally, the " |
| 268 |
"I<msg_controllen> field of the I<msghdr> should be set to the sum of the " |
| 269 |
"B<CMSG_SPACE>() of the length of all control messages in the buffer. For " |
| 270 |
"more information on the I<msghdr>, see B<recvmsg>(2)." |
| 271 |
msgstr "" |
| 272 |
|
| 273 |
#. type: SH |
| 274 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 275 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 276 |
#, no-wrap |
| 277 |
msgid "VERSIONS" |
| 278 |
msgstr "" |
| 279 |
|
| 280 |
#. type: Plain text |
| 281 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 282 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 283 |
msgid "" |
| 284 |
"For portability, ancillary data should be accessed using only the macros " |
| 285 |
"described here." |
| 286 |
msgstr "" |
| 287 |
|
| 288 |
#. type: Plain text |
| 289 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 290 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 291 |
msgid "" |
| 292 |
"In Linux, B<CMSG_LEN>(), B<CMSG_DATA>(), and B<CMSG_ALIGN>() are constant " |
| 293 |
"expressions (assuming their argument is constant), meaning that these values " |
| 294 |
"can be used to declare the size of global variables. This may not be " |
| 295 |
"portable, however." |
| 296 |
msgstr "" |
| 297 |
|
| 298 |
#. type: SH |
| 299 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 300 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 301 |
#, no-wrap |
| 302 |
msgid "STANDARDS" |
| 303 |
msgstr "" |
| 304 |
|
| 305 |
#. type: Plain text |
| 306 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 307 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 308 |
msgid "POSIX.1-2008." |
| 309 |
msgstr "" |
| 310 |
|
| 311 |
#. type: TQ |
| 312 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 313 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 314 |
#, no-wrap |
| 315 |
msgid "B<CMSG_ALIGN>()" |
| 316 |
msgstr "" |
| 317 |
|
| 318 |
#. type: Plain text |
| 319 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 320 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 321 |
msgid "Linux." |
| 322 |
msgstr "" |
| 323 |
|
| 324 |
#. type: SH |
| 325 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 326 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 327 |
#, no-wrap |
| 328 |
msgid "HISTORY" |
| 329 |
msgstr "" |
| 330 |
|
| 331 |
#. type: Plain text |
| 332 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 333 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 334 |
msgid "" |
| 335 |
"This ancillary data model conforms to the POSIX.1g draft, 4.4BSD-Lite, the " |
| 336 |
"IPv6 advanced API described in RFC\\ 2292 and SUSv2." |
| 337 |
msgstr "" |
| 338 |
|
| 339 |
#. https://www.austingroupbugs.net/view.php?id=978#c3242 |
| 340 |
#. type: Plain text |
| 341 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 342 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 343 |
msgid "" |
| 344 |
"B<CMSG_SPACE>() and B<CMSG_LEN>() will be included in the next POSIX " |
| 345 |
"release (Issue 8)." |
| 346 |
msgstr "" |
| 347 |
|
| 348 |
#. type: SH |
| 349 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 350 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 351 |
#, no-wrap |
| 352 |
msgid "EXAMPLES" |
| 353 |
msgstr "" |
| 354 |
|
| 355 |
#. type: Plain text |
| 356 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 357 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 358 |
msgid "" |
| 359 |
"This code looks for the B<IP_TTL> option in a received ancillary buffer:" |
| 360 |
msgstr "" |
| 361 |
|
| 362 |
#. type: Plain text |
| 363 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 364 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 365 |
#, no-wrap |
| 366 |
msgid "" |
| 367 |
"struct msghdr msgh;\n" |
| 368 |
"struct cmsghdr *cmsg;\n" |
| 369 |
"int received_ttl;\n" |
| 370 |
"\\&\n" |
| 371 |
"/* Receive auxiliary data in msgh */\n" |
| 372 |
"\\&\n" |
| 373 |
"for (cmsg = CMSG_FIRSTHDR(&msgh); cmsg != NULL;\n" |
| 374 |
" cmsg = CMSG_NXTHDR(&msgh, cmsg)) {\n" |
| 375 |
" if (cmsg-E<gt>cmsg_level == IPPROTO_IP\n" |
| 376 |
" && cmsg-E<gt>cmsg_type == IP_TTL) {\n" |
| 377 |
" memcpy(&receive_ttl, CMSG_DATA(cmsg), sizeof(received_ttl));\n" |
| 378 |
" break;\n" |
| 379 |
" }\n" |
| 380 |
"}\n" |
| 381 |
"\\&\n" |
| 382 |
"if (cmsg == NULL) {\n" |
| 383 |
" /* Error: IP_TTL not enabled or small buffer or I/O error */\n" |
| 384 |
"}\n" |
| 385 |
msgstr "" |
| 386 |
|
| 387 |
#. type: Plain text |
| 388 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 389 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 390 |
msgid "" |
| 391 |
"The code below passes an array of file descriptors over a UNIX domain socket " |
| 392 |
"using B<SCM_RIGHTS>:" |
| 393 |
msgstr "" |
| 394 |
|
| 395 |
#. type: Plain text |
| 396 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 397 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 398 |
#, no-wrap |
| 399 |
msgid "" |
| 400 |
"struct msghdr msg = { 0 };\n" |
| 401 |
"struct cmsghdr *cmsg;\n" |
| 402 |
"int myfds[NUM_FD]; /* Contains the file descriptors to pass */\n" |
| 403 |
"char iobuf[1];\n" |
| 404 |
"struct iovec io = {\n" |
| 405 |
" .iov_base = iobuf,\n" |
| 406 |
" .iov_len = sizeof(iobuf)\n" |
| 407 |
"};\n" |
| 408 |
"union { /* Ancillary data buffer, wrapped in a union\n" |
| 409 |
" in order to ensure it is suitably aligned */\n" |
| 410 |
" char buf[CMSG_SPACE(sizeof(myfds))];\n" |
| 411 |
" struct cmsghdr align;\n" |
| 412 |
"} u;\n" |
| 413 |
"\\&\n" |
| 414 |
"msg.msg_iov = &io;\n" |
| 415 |
"msg.msg_iovlen = 1;\n" |
| 416 |
"msg.msg_control = u.buf;\n" |
| 417 |
"msg.msg_controllen = sizeof(u.buf);\n" |
| 418 |
"cmsg = CMSG_FIRSTHDR(&msg);\n" |
| 419 |
"cmsg-E<gt>cmsg_level = SOL_SOCKET;\n" |
| 420 |
"cmsg-E<gt>cmsg_type = SCM_RIGHTS;\n" |
| 421 |
"cmsg-E<gt>cmsg_len = CMSG_LEN(sizeof(myfds));\n" |
| 422 |
"memcpy(CMSG_DATA(cmsg), myfds, sizeof(myfds));\n" |
| 423 |
msgstr "" |
| 424 |
|
| 425 |
#. type: Plain text |
| 426 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 427 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 428 |
msgid "" |
| 429 |
"For a complete code example that shows passing of file descriptors over a " |
| 430 |
"UNIX domain socket, see B<seccomp_unotify>(2)." |
| 431 |
msgstr "" |
| 432 |
|
| 433 |
#. type: SH |
| 434 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 435 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 436 |
#, no-wrap |
| 437 |
msgid "SEE ALSO" |
| 438 |
msgstr "" |
| 439 |
|
| 440 |
#. type: Plain text |
| 441 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 442 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 443 |
msgid "B<recvmsg>(2), B<sendmsg>(2)" |
| 444 |
msgstr "" |
| 445 |
|
| 446 |
#. type: Plain text |
| 447 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 448 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 449 |
msgid "RFC\\ 2292" |
| 450 |
msgstr "" |
| 451 |
|
| 452 |
#. type: TH |
| 453 |
#: debian-trixie |
| 454 |
#, no-wrap |
| 455 |
msgid "2024-05-02" |
| 456 |
msgstr "" |
| 457 |
|
| 458 |
#. type: TH |
| 459 |
#: debian-trixie |
| 460 |
#, no-wrap |
| 461 |
msgid "Linux man-pages 6.9.1" |
| 462 |
msgstr "" |
| 463 |
|
| 464 |
#. type: Plain text |
| 465 |
#: debian-trixie |
| 466 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 467 |
msgstr "" |
| 468 |
|
| 469 |
#. type: TH |
| 470 |
#: fedora-44 fedora-rawhide |
| 471 |
#, no-wrap |
| 472 |
msgid "2024-07-23" |
| 473 |
msgstr "" |
| 474 |
|
| 475 |
#. type: TH |
| 476 |
#: fedora-44 fedora-rawhide |
| 477 |
#, no-wrap |
| 478 |
msgid "Linux man-pages 6.13" |
| 479 |
msgstr "" |
| 480 |
|
| 481 |
#. type: TH |
| 482 |
#: mageia-cauldron |
| 483 |
#, no-wrap |
| 484 |
msgid "Linux man-pages 6.17" |
| 485 |
msgstr "" |
| 486 |
|
| 487 |
#. type: TH |
| 488 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 489 |
#, no-wrap |
| 490 |
msgid "Linux man-pages (unreleased)" |
| 491 |
msgstr "" |