| 1 |
# Spanish translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Juan Piernas <[email protected]>, 1999. |
| 5 |
# Marcos Fouces <[email protected]>, 2023-2025. |
| 6 |
msgid "" |
| 7 |
msgstr "" |
| 8 |
"Project-Id-Version: manpages-l10n\n" |
| 9 |
"POT-Creation-Date: 2026-06-05 06:21+0200\n" |
| 10 |
"PO-Revision-Date: 2025-08-23 00:05+0200\n" |
| 11 |
"Last-Translator: Marcos Fouces <[email protected]>\n" |
| 12 |
"Language-Team: Spanish <[email protected]>\n" |
| 13 |
"Language: es\n" |
| 14 |
"MIME-Version: 1.0\n" |
| 15 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 16 |
"Content-Transfer-Encoding: 8bit\n" |
| 17 |
"Plural-Forms: nplurals=2; plural=(n != 1);\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 "CMSG" |
| 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 "8 Febrero 2026" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-unstable |
| 35 |
#, fuzzy, no-wrap |
| 36 |
#| msgid "Linux man-pages 6.17" |
| 37 |
msgid "Linux man-pages 6.18" |
| 38 |
msgstr "Páginas de Manual de Linux 6.17" |
| 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 "NOMBRE" |
| 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 "" |
| 51 |
"CMSG_ALIGN, CMSG_SPACE, CMSG_NXTHDR, CMSG_FIRSTHDR - access ancillary data" |
| 52 |
msgstr "" |
| 53 |
"CMSG_ALIGN, CMSG_SPACE, CMSG_NXTHDR, CMSG_FIRSTHDR - acceso a datos " |
| 54 |
"auxiliares" |
| 55 |
|
| 56 |
#. type: SH |
| 57 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 58 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 59 |
#, no-wrap |
| 60 |
msgid "LIBRARY" |
| 61 |
msgstr "BIBLIOTECA" |
| 62 |
|
| 63 |
#. type: Plain text |
| 64 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 65 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 66 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 67 |
msgstr "Biblioteca Estándar C (I<libc>,\\ I<-lc>)" |
| 68 |
|
| 69 |
#. type: SH |
| 70 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 71 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 72 |
#, no-wrap |
| 73 |
msgid "SYNOPSIS" |
| 74 |
msgstr "SINOPSIS" |
| 75 |
|
| 76 |
#. type: Plain text |
| 77 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 78 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 79 |
#, no-wrap |
| 80 |
msgid "B<#include E<lt>sys/socket.hE<gt>>\n" |
| 81 |
msgstr "B<#include E<lt>sys/socket.hE<gt>>\n" |
| 82 |
|
| 83 |
#. type: Plain text |
| 84 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 85 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 86 |
#, no-wrap |
| 87 |
msgid "" |
| 88 |
"B<struct cmsghdr *CMSG_FIRSTHDR(struct msghdr *>I<msgh>B<);>\n" |
| 89 |
"B<struct cmsghdr *CMSG_NXTHDR(struct msghdr *>I<msgh>B<,>\n" |
| 90 |
"B< struct cmsghdr *>cmsgB<);>\n" |
| 91 |
"B<size_t CMSG_ALIGN(size_t >I<length>B<);>\n" |
| 92 |
"B<size_t CMSG_SPACE(size_t >I<length>B<);>\n" |
| 93 |
"B<size_t CMSG_LEN(size_t >I<length>B<);>\n" |
| 94 |
"B<unsigned char *CMSG_DATA(struct cmsghdr *>I<cmsg>B<);>\n" |
| 95 |
msgstr "" |
| 96 |
"B<struct cmsghdr *CMSG_FIRSTHDR(struct msghdr *>I<msgh>B<);>\n" |
| 97 |
"B<struct cmsghdr *CMSG_NXTHDR(struct msghdr *>I<msgh>B<,>\n" |
| 98 |
"B< struct cmsghdr *>cmsgB<);>\n" |
| 99 |
"B<size_t CMSG_ALIGN(size_t >I<length>B<);>\n" |
| 100 |
"B<size_t CMSG_SPACE(size_t >I<length>B<);>\n" |
| 101 |
"B<size_t CMSG_LEN(size_t >I<length>B<);>\n" |
| 102 |
"B<unsigned char *CMSG_DATA(struct cmsghdr *>I<cmsg>B<);>\n" |
| 103 |
|
| 104 |
#. type: SH |
| 105 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 106 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 107 |
#, no-wrap |
| 108 |
msgid "DESCRIPTION" |
| 109 |
msgstr "DESCRIPCIÓN" |
| 110 |
|
| 111 |
#. type: Plain text |
| 112 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 113 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 114 |
msgid "" |
| 115 |
"These macros are used to create and access control messages (also called " |
| 116 |
"ancillary data) that are not a part of the socket payload. This control " |
| 117 |
"information may include the interface the packet was received on, various " |
| 118 |
"rarely used header fields, an extended error description, a set of file " |
| 119 |
"descriptors, or UNIX credentials. For instance, control messages can be " |
| 120 |
"used to send additional header fields such as IP options. Ancillary data is " |
| 121 |
"sent by calling B<sendmsg>(2) and received by calling B<recvmsg>(2). See " |
| 122 |
"their manual pages for more information." |
| 123 |
msgstr "" |
| 124 |
"Estas macros se usan para crear y acceder a mensajes de control (también " |
| 125 |
"llamados datos auxiliares) que no son parte del contenido útil de un " |
| 126 |
"conector. Esta información de control puede incluir la interfaz en la que se " |
| 127 |
"ha recibido el paquete, diferentes campos de cabecera usados raramente, una " |
| 128 |
"descripción de error ampliada, un conjunto de descriptores de fichero o " |
| 129 |
"credenciales de UNIX. Por ejemplo, los mensajes de control se pueden usar " |
| 130 |
"para enviar campos de cabecera adicionales tales como opciones IP. Los datos " |
| 131 |
"auxiliares se envían llamando a B<sendmsg>(2) y se reciben llamando a " |
| 132 |
"B<recvmsg>(2). Vea sus páginas de manual para más información." |
| 133 |
|
| 134 |
#. type: Plain text |
| 135 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 136 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 137 |
msgid "" |
| 138 |
"Ancillary data is a sequence of I<cmsghdr> structures with appended data. " |
| 139 |
"See the specific protocol man pages for the available control message " |
| 140 |
"types. The maximum ancillary buffer size allowed per socket can be set " |
| 141 |
"using I</proc/sys/net/core/optmem_max>; see B<socket>(7)." |
| 142 |
msgstr "" |
| 143 |
"Los datos auxiliares son una secuencia de estructuras I<cmsghdr> con datos " |
| 144 |
"añadidos. Vea las páginas de manual específicas del protocolo para conocer " |
| 145 |
"los tipos de mensajes de control disponibles. El tamaño máximo permitido del " |
| 146 |
"buffer auxiliar por conector se puede configura con I</proc/sys/net/core/" |
| 147 |
"optmem_max>. Vea B<socket>(7)." |
| 148 |
|
| 149 |
#. type: Plain text |
| 150 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 151 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 152 |
msgid "The I<cmsghdr> structure is defined as follows:" |
| 153 |
msgstr "La estructura I<cmsghdr> se define de la siguiente manera:" |
| 154 |
|
| 155 |
#. type: Plain text |
| 156 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 157 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 158 |
#, no-wrap |
| 159 |
msgid "" |
| 160 |
"struct cmsghdr {\n" |
| 161 |
" size_t cmsg_len; /* Data byte count, including header\n" |
| 162 |
" (type is socklen_t in POSIX) */\n" |
| 163 |
" int cmsg_level; /* Originating protocol */\n" |
| 164 |
" int cmsg_type; /* Protocol-specific type */\n" |
| 165 |
"/* followed by\n" |
| 166 |
" unsigned char cmsg_data[]; */\n" |
| 167 |
"};\n" |
| 168 |
msgstr "" |
| 169 |
"struct cmsghdr {\n" |
| 170 |
" size_t cmsg_len; /* recuento de byte de datos incluyendo cabeceras\n" |
| 171 |
" (el tipo en POSIX es socklen_t) */\n" |
| 172 |
" int cmsg_level; /* Protocolo origen */\n" |
| 173 |
" int cmsg_type; /* tipo específico de protocol */\n" |
| 174 |
"/* Seguido por\n" |
| 175 |
" unsigned char cmsg_data[]; */\n" |
| 176 |
"};\n" |
| 177 |
|
| 178 |
#. type: Plain text |
| 179 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 180 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 181 |
msgid "" |
| 182 |
"The sequence of I<cmsghdr> structures should never be accessed directly. " |
| 183 |
"Instead, use only the following macros:" |
| 184 |
msgstr "" |
| 185 |
"Nunca se debería acceder directamente a la secuencia de estructuras " |
| 186 |
"I<cmsghdr>. En su lugar, utilice las siguientes macros:" |
| 187 |
|
| 188 |
#. type: TP |
| 189 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 190 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 191 |
#, no-wrap |
| 192 |
msgid "B<CMSG_FIRSTHDR>()" |
| 193 |
msgstr "B<CMSG_FIRSTHDR>()" |
| 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 |
"returns a pointer to the first I<cmsghdr> in the ancillary data buffer " |
| 200 |
"associated with the passed I<msghdr>. It returns NULL if there isn't enough " |
| 201 |
"space for a I<cmsghdr> in the buffer." |
| 202 |
msgstr "" |
| 203 |
"devuelve un puntero a la primera B<cmsghdr> en el buffer de datos auxiliares " |
| 204 |
"asociado con la B<msghdr> pasada. Devolverá NULL si no se dispone de " |
| 205 |
"suficiente espacio para una I<cmsghdr> en el buffer." |
| 206 |
|
| 207 |
#. type: TQ |
| 208 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 209 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 210 |
#, no-wrap |
| 211 |
msgid "B<CMSG_NXTHDR>()" |
| 212 |
msgstr "B<CMSG_NXTHDR>()" |
| 213 |
|
| 214 |
#. type: Plain text |
| 215 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 216 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 217 |
msgid "" |
| 218 |
"returns the next valid I<cmsghdr> after the passed I<cmsghdr>. It returns " |
| 219 |
"NULL when there isn't enough space left in the buffer." |
| 220 |
msgstr "" |
| 221 |
"devuelve la siguiente B<cmsghdr> válida después de la I<cmsghdr> pasada. " |
| 222 |
"Devuelve NULL cuando no queda suficiente espacio en el buffer." |
| 223 |
|
| 224 |
#. type: Plain text |
| 225 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 226 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 227 |
msgid "" |
| 228 |
"When initializing a buffer that will contain a series of I<cmsghdr> " |
| 229 |
"structures (e.g., to be sent with B<sendmsg>(2)), that buffer should first " |
| 230 |
"be zero-initialized to ensure the correct operation of B<CMSG_NXTHDR>()." |
| 231 |
msgstr "" |
| 232 |
"Al inicializar un búfer con una serie de estructuras I<cmsghdr> (por " |
| 233 |
"ejemplo, para enviar con B<sendmsg>(2)), dicho búfer debe inicializarse " |
| 234 |
"primero a cero para garantizar el correcto funcionamiento de " |
| 235 |
"B<CMSG_NXTHDR>()." |
| 236 |
|
| 237 |
#. type: TP |
| 238 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 239 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 240 |
#, no-wrap |
| 241 |
msgid "B<CMSG_ALIGN>()," |
| 242 |
msgstr "B<CMSG_ALIGN>()," |
| 243 |
|
| 244 |
#. type: Plain text |
| 245 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 246 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 247 |
msgid "" |
| 248 |
"given a length, returns it including the required alignment. This is a " |
| 249 |
"constant expression." |
| 250 |
msgstr "" |
| 251 |
"B<CMSG_ALIGN>(), dada una longitud, la devuelve incluyendo la alíneación " |
| 252 |
"necesaria. Ésta es una expresión constante." |
| 253 |
|
| 254 |
#. type: TP |
| 255 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 256 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 257 |
#, no-wrap |
| 258 |
msgid "B<CMSG_SPACE>()" |
| 259 |
msgstr "B<CMSG_SPACE>()" |
| 260 |
|
| 261 |
#. type: Plain text |
| 262 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 263 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 264 |
msgid "" |
| 265 |
"returns the number of bytes an ancillary element with payload of the passed " |
| 266 |
"data length occupies. This is a constant expression." |
| 267 |
msgstr "" |
| 268 |
"devuelve la cantidad de bytes que ocupa un elemento auxiliar cuyo contenido " |
| 269 |
"útil es de la longitud de datos pasada. Ésta es una expresión constante." |
| 270 |
|
| 271 |
#. type: TQ |
| 272 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 273 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 274 |
#, no-wrap |
| 275 |
msgid "B<CMSG_DATA>()" |
| 276 |
msgstr "B<CMSG_DATA>()" |
| 277 |
|
| 278 |
#. type: Plain text |
| 279 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 280 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 281 |
msgid "" |
| 282 |
"returns a pointer to the data portion of a I<cmsghdr>. The pointer returned " |
| 283 |
"cannot be assumed to be suitably aligned for accessing arbitrary payload " |
| 284 |
"data types. Applications should not cast it to a pointer type matching the " |
| 285 |
"payload, but should instead use B<memcpy>(3) to copy data to or from a " |
| 286 |
"suitably declared object." |
| 287 |
msgstr "" |
| 288 |
"Devuelve un puntero a la porción de datos de un I<cmsghdr>. No se puede " |
| 289 |
"asumir que el puntero devuelto esté correctamente alineado para acceder a " |
| 290 |
"tipos de datos de carga útil arbitrarios. Las aplicaciones no deben " |
| 291 |
"convertirlo a un tipo de puntero que coincida con la carga útil, sino que " |
| 292 |
"deben usar B<memcpy>(3) para copiar datos hacia o desde un objeto declarado " |
| 293 |
"correctamente." |
| 294 |
|
| 295 |
#. type: TQ |
| 296 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 297 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 298 |
#, no-wrap |
| 299 |
msgid "B<CMSG_LEN>()" |
| 300 |
msgstr "B<CMSG_LEN>()" |
| 301 |
|
| 302 |
#. type: Plain text |
| 303 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 304 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 305 |
msgid "" |
| 306 |
"returns the value to store in the I<cmsg_len> member of the I<cmsghdr> " |
| 307 |
"structure, taking into account any necessary alignment. It takes the data " |
| 308 |
"length as an argument. This is a constant expression." |
| 309 |
msgstr "" |
| 310 |
"devuelve el valor a almacenar en el miembro I<cmsg_len> de la estructura " |
| 311 |
"I<cmsghdr> teniendo en cuenta cualquier alíneación necesaria. Toma como " |
| 312 |
"argumento la longitud de los datos. Ésta es una expresión constante." |
| 313 |
|
| 314 |
#. type: Plain text |
| 315 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 316 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 317 |
msgid "" |
| 318 |
"To create ancillary data, first initialize the I<msg_controllen> member of " |
| 319 |
"the I<msghdr> with the length of the control message buffer. Use " |
| 320 |
"B<CMSG_FIRSTHDR>() on the I<msghdr> to get the first control message and " |
| 321 |
"B<CMSG_NXTHDR>() to get all subsequent ones. In each control message, " |
| 322 |
"initialize I<cmsg_len> (with B<CMSG_LEN>()), the other I<cmsghdr> header " |
| 323 |
"fields, and the data portion using B<CMSG_DATA>(). Finally, the " |
| 324 |
"I<msg_controllen> field of the I<msghdr> should be set to the sum of the " |
| 325 |
"B<CMSG_SPACE>() of the length of all control messages in the buffer. For " |
| 326 |
"more information on the I<msghdr>, see B<recvmsg>(2)." |
| 327 |
msgstr "" |
| 328 |
"Para crear datos auxiliares, inicialice primero el miembro I<msg_controllen> " |
| 329 |
"de la estructura I<msghdr> con el tamaño del buffer de mensajes de control. " |
| 330 |
"Use B<CMSG_FIRSTHDR>() sobre I<msghdr> para obtener el primer mensaje de " |
| 331 |
"control y B<CMSG_NXTHDR>() para obtener los siguientes. En cada mensaje de " |
| 332 |
"control, inicialice I<cmsg_len> (con B<CMSG_LEN>()), los otros campos " |
| 333 |
"cabecera de I<cmsghdr> y la parte de datos usando B<CMSG_DATA>(). " |
| 334 |
"Finalmente, debería asignar al campo I<msg_controllen> de I<msghdr> la suma " |
| 335 |
"de los B<CMSG_SPACE>() de las longitudes de todos los mensajes de control " |
| 336 |
"del buffer. Para más información sobre I<msghdr>, vea B<recvmsg>(2)." |
| 337 |
|
| 338 |
#. type: SH |
| 339 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 340 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 341 |
#, no-wrap |
| 342 |
msgid "VERSIONS" |
| 343 |
msgstr "VERSIONES" |
| 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 |
"For portability, ancillary data should be accessed using only the macros " |
| 350 |
"described here." |
| 351 |
msgstr "" |
| 352 |
"Para facilitar la portabilidad, debería accederse a los datos auxiliares " |
| 353 |
"utilizando únicamente las macros descritas aquí." |
| 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 |
"In Linux, B<CMSG_LEN>(), B<CMSG_DATA>(), and B<CMSG_ALIGN>() are constant " |
| 360 |
"expressions (assuming their argument is constant), meaning that these values " |
| 361 |
"can be used to declare the size of global variables. This may not be " |
| 362 |
"portable, however." |
| 363 |
msgstr "" |
| 364 |
"En Linux, B<CMSG_LEN>(), B<CMSG_DATA>() y B<CMSG_ALIGN>() son expresiones " |
| 365 |
"constantes (suponiendo que su argumento sea constante), lo que significa que " |
| 366 |
"estos valores pueden usarse para declarar el tamaño de las variables " |
| 367 |
"globales. Sin embargo, esto podría no ser portable." |
| 368 |
|
| 369 |
#. type: SH |
| 370 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 371 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 372 |
#, no-wrap |
| 373 |
msgid "STANDARDS" |
| 374 |
msgstr "ESTÁNDARES" |
| 375 |
|
| 376 |
#. type: Plain text |
| 377 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 378 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 379 |
msgid "POSIX.1-2008." |
| 380 |
msgstr "POSIX.1-2008." |
| 381 |
|
| 382 |
#. type: TQ |
| 383 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 384 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 385 |
#, no-wrap |
| 386 |
msgid "B<CMSG_ALIGN>()" |
| 387 |
msgstr "B<CMSG_ALIGN>()" |
| 388 |
|
| 389 |
#. type: Plain text |
| 390 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 391 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 392 |
msgid "Linux." |
| 393 |
msgstr "Linux." |
| 394 |
|
| 395 |
#. type: SH |
| 396 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 397 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 398 |
#, no-wrap |
| 399 |
msgid "HISTORY" |
| 400 |
msgstr "HISTORIAL" |
| 401 |
|
| 402 |
#. type: Plain text |
| 403 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 404 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 405 |
msgid "" |
| 406 |
"This ancillary data model conforms to the POSIX.1g draft, 4.4BSD-Lite, the " |
| 407 |
"IPv6 advanced API described in RFC\\ 2292 and SUSv2." |
| 408 |
msgstr "" |
| 409 |
"Este modelo de datos auxiliares cumple con el borrador POSIX.1g, 4.4BSD-" |
| 410 |
"Lite, la API avanzada de IPv6 descrita en RFC 2292 y SUSv2." |
| 411 |
|
| 412 |
#. https://www.austingroupbugs.net/view.php?id=978#c3242 |
| 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 "" |
| 417 |
"B<CMSG_SPACE>() and B<CMSG_LEN>() will be included in the next POSIX " |
| 418 |
"release (Issue 8)." |
| 419 |
msgstr "" |
| 420 |
"B<CMSG_SPACE>() y B<CMSG_LEN>() se incluirán en la próxima versión de POSIX " |
| 421 |
"(Número 8)." |
| 422 |
|
| 423 |
#. type: SH |
| 424 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 425 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 426 |
#, no-wrap |
| 427 |
msgid "EXAMPLES" |
| 428 |
msgstr "EJEMPLOS" |
| 429 |
|
| 430 |
#. type: Plain text |
| 431 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 432 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 433 |
msgid "" |
| 434 |
"This code looks for the B<IP_TTL> option in a received ancillary buffer:" |
| 435 |
msgstr "Este código busca la opción B<IP_TTL> en un buffer auxiliar recibido:" |
| 436 |
|
| 437 |
#. type: Plain text |
| 438 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 439 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 440 |
#, no-wrap |
| 441 |
msgid "" |
| 442 |
"struct msghdr msgh;\n" |
| 443 |
"struct cmsghdr *cmsg;\n" |
| 444 |
"int received_ttl;\n" |
| 445 |
"\\&\n" |
| 446 |
"/* Receive auxiliary data in msgh */\n" |
| 447 |
"\\&\n" |
| 448 |
"for (cmsg = CMSG_FIRSTHDR(&msgh); cmsg != NULL;\n" |
| 449 |
" cmsg = CMSG_NXTHDR(&msgh, cmsg)) {\n" |
| 450 |
" if (cmsg-E<gt>cmsg_level == IPPROTO_IP\n" |
| 451 |
" && cmsg-E<gt>cmsg_type == IP_TTL) {\n" |
| 452 |
" memcpy(&receive_ttl, CMSG_DATA(cmsg), sizeof(received_ttl));\n" |
| 453 |
" break;\n" |
| 454 |
" }\n" |
| 455 |
"}\n" |
| 456 |
"\\&\n" |
| 457 |
"if (cmsg == NULL) {\n" |
| 458 |
" /* Error: IP_TTL not enabled or small buffer or I/O error */\n" |
| 459 |
"}\n" |
| 460 |
msgstr "" |
| 461 |
"struct msghdr msgh;\n" |
| 462 |
"struct cmsghdr *cmsg;\n" |
| 463 |
"int received_ttl;\n" |
| 464 |
"\\&\n" |
| 465 |
"/* Recibe datos auxiliares en msgh */\n" |
| 466 |
"\\&\n" |
| 467 |
"for (cmsg = CMSG_FIRSTHDR(&msgh); cmsg != NULL;\n" |
| 468 |
" cmsg = CMSG_NXTHDR(&msgh, cmsg)) {\n" |
| 469 |
" if (cmsg-E<gt>cmsg_level == IPPROTO_IP\n" |
| 470 |
" && cmsg-E<gt>cmsg_type == IP_TTL) {\n" |
| 471 |
" memcpy(&receive_ttl, CMSG_DATA(cmsg), sizeof(received_ttl));\n" |
| 472 |
" break;\n" |
| 473 |
" }\n" |
| 474 |
"}\n" |
| 475 |
"\\&\n" |
| 476 |
"if (cmsg == NULL) {\n" |
| 477 |
" /* Error: IP_TTL no activado, buffer muy pequeño o error de E/S */\n" |
| 478 |
"}\n" |
| 479 |
|
| 480 |
#. type: Plain text |
| 481 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 482 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 483 |
msgid "" |
| 484 |
"The code below passes an array of file descriptors over a UNIX domain socket " |
| 485 |
"using B<SCM_RIGHTS>:" |
| 486 |
msgstr "" |
| 487 |
"El código a continuación pasa una matriz de descriptores de archivo a través " |
| 488 |
"de un socket de dominio UNIX mediante B<SCM_RIGHTS>:" |
| 489 |
|
| 490 |
#. type: Plain text |
| 491 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 492 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 493 |
#, no-wrap |
| 494 |
msgid "" |
| 495 |
"struct msghdr msg = { 0 };\n" |
| 496 |
"struct cmsghdr *cmsg;\n" |
| 497 |
"int myfds[NUM_FD]; /* Contains the file descriptors to pass */\n" |
| 498 |
"char iobuf[1];\n" |
| 499 |
"struct iovec io = {\n" |
| 500 |
" .iov_base = iobuf,\n" |
| 501 |
" .iov_len = sizeof(iobuf)\n" |
| 502 |
"};\n" |
| 503 |
"union { /* Ancillary data buffer, wrapped in a union\n" |
| 504 |
" in order to ensure it is suitably aligned */\n" |
| 505 |
" char buf[CMSG_SPACE(sizeof(myfds))];\n" |
| 506 |
" struct cmsghdr align;\n" |
| 507 |
"} u;\n" |
| 508 |
"\\&\n" |
| 509 |
"msg.msg_iov = &io;\n" |
| 510 |
"msg.msg_iovlen = 1;\n" |
| 511 |
"msg.msg_control = u.buf;\n" |
| 512 |
"msg.msg_controllen = sizeof(u.buf);\n" |
| 513 |
"cmsg = CMSG_FIRSTHDR(&msg);\n" |
| 514 |
"cmsg-E<gt>cmsg_level = SOL_SOCKET;\n" |
| 515 |
"cmsg-E<gt>cmsg_type = SCM_RIGHTS;\n" |
| 516 |
"cmsg-E<gt>cmsg_len = CMSG_LEN(sizeof(myfds));\n" |
| 517 |
"memcpy(CMSG_DATA(cmsg), myfds, sizeof(myfds));\n" |
| 518 |
msgstr "" |
| 519 |
"struct msghdr msg = { 0 };\n" |
| 520 |
"struct cmsghdr *cmsg;\n" |
| 521 |
"int myfds[NUM_FD]; /* Contiene los descriptores de archivo a pasar */\n" |
| 522 |
"char iobuf[1];\n" |
| 523 |
"struct iovec io = {\n" |
| 524 |
" .iov_base = iobuf,\n" |
| 525 |
" .iov_len = sizeof(iobuf)\n" |
| 526 |
"};\n" |
| 527 |
"union { /* Ancillary data buffer, wrapped in a union\n" |
| 528 |
" in order to ensure it is suitably aligned */\n" |
| 529 |
" char buf[CMSG_SPACE(sizeof(myfds))];\n" |
| 530 |
" struct cmsghdr align;\n" |
| 531 |
"} u;\n" |
| 532 |
"\\&\n" |
| 533 |
"msg.msg_iov = &io;\n" |
| 534 |
"msg.msg_iovlen = 1;\n" |
| 535 |
"msg.msg_control = u.buf;\n" |
| 536 |
"msg.msg_controllen = sizeof(u.buf);\n" |
| 537 |
"cmsg = CMSG_FIRSTHDR(&msg);\n" |
| 538 |
"cmsg-E<gt>cmsg_level = SOL_SOCKET;\n" |
| 539 |
"cmsg-E<gt>cmsg_type = SCM_RIGHTS;\n" |
| 540 |
"cmsg-E<gt>cmsg_len = CMSG_LEN(sizeof(myfds));\n" |
| 541 |
"memcpy(CMSG_DATA(cmsg), myfds, sizeof(myfds));\n" |
| 542 |
|
| 543 |
#. type: Plain text |
| 544 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 545 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 546 |
msgid "" |
| 547 |
"For a complete code example that shows passing of file descriptors over a " |
| 548 |
"UNIX domain socket, see B<seccomp_unotify>(2)." |
| 549 |
msgstr "" |
| 550 |
"Para un ejemplo de código completo que muestra el paso de descriptores de " |
| 551 |
"archivo a través de un socket de dominio UNIX, consulte " |
| 552 |
"B<seccomp_unotify>(2)." |
| 553 |
|
| 554 |
#. type: SH |
| 555 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 556 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 557 |
#, no-wrap |
| 558 |
msgid "SEE ALSO" |
| 559 |
msgstr "VÉASE TAMBIÉN" |
| 560 |
|
| 561 |
#. type: Plain text |
| 562 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 563 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 564 |
msgid "B<recvmsg>(2), B<sendmsg>(2)" |
| 565 |
msgstr "B<recvmsg>(2), B<sendmsg>(2)" |
| 566 |
|
| 567 |
#. type: Plain text |
| 568 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 569 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 570 |
msgid "RFC\\ 2292" |
| 571 |
msgstr "RFC\\ 2292" |
| 572 |
|
| 573 |
#. type: TH |
| 574 |
#: debian-trixie |
| 575 |
#, no-wrap |
| 576 |
msgid "2024-05-02" |
| 577 |
msgstr "2 Mayo 2024" |
| 578 |
|
| 579 |
#. type: TH |
| 580 |
#: debian-trixie |
| 581 |
#, no-wrap |
| 582 |
msgid "Linux man-pages 6.9.1" |
| 583 |
msgstr "Páginas de Manual de Linux 6.9.1" |
| 584 |
|
| 585 |
#. type: Plain text |
| 586 |
#: debian-trixie |
| 587 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 588 |
msgstr "Biblioteca Estándar C (I<libc>, I<-lc>)" |
| 589 |
|
| 590 |
#. type: TH |
| 591 |
#: fedora-44 fedora-rawhide |
| 592 |
#, no-wrap |
| 593 |
msgid "2024-07-23" |
| 594 |
msgstr "23 Julio 2024" |
| 595 |
|
| 596 |
#. type: TH |
| 597 |
#: fedora-44 fedora-rawhide |
| 598 |
#, no-wrap |
| 599 |
msgid "Linux man-pages 6.13" |
| 600 |
msgstr "Páginas de Manual de Linux 6.13" |
| 601 |
|
| 602 |
#. type: TH |
| 603 |
#: mageia-cauldron |
| 604 |
#, no-wrap |
| 605 |
msgid "Linux man-pages 6.17" |
| 606 |
msgstr "Páginas de Manual de Linux 6.17" |
| 607 |
|
| 608 |
#. type: TH |
| 609 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 610 |
#, no-wrap |
| 611 |
msgid "Linux man-pages (unreleased)" |
| 612 |
msgstr "Páginas de Manual de Linux (no publicadas)" |