Debian Codegraph @

po/es/man2/semctl.2.po

raw
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 # Vicente Pastor Gómez <[email protected]>, 1997.
5 # Juan Piernas <[email protected]>, 1998.
6 # Miguel Pérez Ibars <[email protected]>, 2004.
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: manpages-l10n\n"
10 "POT-Creation-Date: 2026-06-05 06:42+0200\n"
11 "PO-Revision-Date: 2004-09-29 19:53+0200\n"
12 "Last-Translator: Miguel Pérez Ibars <[email protected]>\n"
13 "Language-Team: Spanish <[email protected]>\n"
14 "Language: es\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19 "X-Generator: Lokalize 20.04.1\n"
20
21 #. type: TH
22 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
23 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
24 #, no-wrap
25 msgid "semctl"
26 msgstr ""
27
28 #. type: TH
29 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
30 #: opensuse-tumbleweed
31 #, no-wrap
32 msgid "2026-02-08"
33 msgstr "8 Febrero 2026"
34
35 #. type: TH
36 #: archlinux debian-unstable
37 #, fuzzy, no-wrap
38 #| msgid "Linux man-pages 6.17"
39 msgid "Linux man-pages 6.18"
40 msgstr "Páginas de Manual de Linux 6.17"
41
42 #. type: SH
43 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
44 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
45 #, no-wrap
46 msgid "NAME"
47 msgstr "NOMBRE"
48
49 #. type: Plain text
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 #, fuzzy
53 #| msgid "semctl - semaphore control operations"
54 msgid "semctl - System V semaphore control operations"
55 msgstr "semctl - operaciones de control de semáforos"
56
57 #. type: SH
58 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
59 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
60 #, no-wrap
61 msgid "LIBRARY"
62 msgstr "BIBLIOTECA"
63
64 #. type: Plain text
65 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
66 #: opensuse-leap-16-1 opensuse-tumbleweed
67 msgid "Standard C library (I<libc>,\\ I<-lc>)"
68 msgstr "Biblioteca Estándar C (I<libc>,\\ I<-lc>)"
69
70 #. type: SH
71 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
72 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
73 #, no-wrap
74 msgid "SYNOPSIS"
75 msgstr "SINOPSIS"
76
77 #. type: Plain text
78 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
79 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
80 #, no-wrap
81 msgid "B<#include E<lt>sys/sem.hE<gt>>\n"
82 msgstr "B<#include E<lt>sys/sem.hE<gt>>\n"
83
84 #. type: Plain text
85 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
86 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
87 #, fuzzy, no-wrap
88 #| msgid "B<int semctl(int >I<semid>B<, int >I<semnum>B<, int >I<cmd>B<, ...);>\n"
89 msgid "B<int semctl(int >I<semid>B<, int >I<semnum>B<, int >I<op>B<, ...);>\n"
90 msgstr "B<int semctl(int >I<semid>B<, int >I<semnum>B<, int >I<cmd>B<, ...);>\n"
91
92 #. type: SH
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 #, no-wrap
96 msgid "DESCRIPTION"
97 msgstr "DESCRIPCIÓN"
98
99 #. type: Plain text
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 #, fuzzy
103 #| msgid ""
104 #| "The function B<semctl> performs the control operation specified by I<cmd> "
105 #| "on the semaphore set identified by I<semid>, or on the I<semnum>-th "
106 #| "semaphore of that set. (Semaphores are numbered starting at 0.)"
107 msgid ""
108 "B<semctl>() performs the control operation specified by I<op> on the "
109 "System\\ V semaphore set identified by I<semid>, or on the I<semnum>-th "
110 "semaphore of that set. (The semaphores in a set are numbered starting at 0.)"
111 msgstr ""
112 "La función B<semctl> realiza la operación de control especificada por I<cmd> "
113 "sobre el conjunto de semáforos identificado por I<semid>, o en el semáforo "
114 "I<semnum>-th de dicho conjunto. (Los semáforos son númerados comenzando por "
115 "el 0.)"
116
117 #. type: Plain text
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 msgid ""
121 "This function has three or four arguments, depending on I<op>. When there "
122 "are four, the fourth has the type I<union semun>. The I<calling program> "
123 "must define this union as follows:"
124 msgstr ""
125
126 #. type: Plain text
127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
129 #, no-wrap
130 msgid ""
131 "union semun {\n"
132 " int val; /* Value for SETVAL */\n"
133 " struct semid_ds *buf; /* Buffer for IPC_STAT, IPC_SET */\n"
134 " unsigned short *array; /* Array for GETALL, SETALL */\n"
135 " struct seminfo *__buf; /* Buffer for IPC_INFO\n"
136 " (Linux-specific) */\n"
137 "};\n"
138 msgstr ""
139
140 #. type: Plain text
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 msgid ""
144 "The I<semid_ds> data structure is defined in I<E<lt>sys/sem.hE<gt>> as "
145 "follows:"
146 msgstr ""
147
148 #. type: Plain text
149 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
150 #: opensuse-tumbleweed
151 #, no-wrap
152 msgid ""
153 "struct semid_ds {\n"
154 " struct ipc_perm sem_perm; /* Ownership and permissions */\n"
155 " time_t sem_otime; /* Last semop time */\n"
156 " time_t sem_ctime; /* Creation time/time of last\n"
157 " modification via semctl() */\n"
158 " unsigned long sem_nsems; /* # of semaphores in set */\n"
159 "};\n"
160 msgstr ""
161
162 #. type: Plain text
163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
165 msgid "The fields of the I<semid_ds> structure are as follows:"
166 msgstr ""
167
168 #. type: TP
169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
171 #, no-wrap
172 msgid "I<sem_perm>"
173 msgstr "I<sem_perm>"
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 "This is an I<ipc_perm> structure (see below) that specifies the access "
180 "permissions on the semaphore set."
181 msgstr ""
182
183 #. type: TP
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
186 #, no-wrap
187 msgid "I<sem_otime>"
188 msgstr "I<sem_otime>"
189
190 #. type: Plain text
191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
193 msgid "Time of last B<semop>(2) system call."
194 msgstr ""
195
196 #. type: TP
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 #, no-wrap
200 msgid "I<sem_ctime>"
201 msgstr "I<sem_ctime>"
202
203 #. type: Plain text
204 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
205 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
206 msgid ""
207 "Time of creation of semaphore set or time of last B<semctl>() B<IPCSET>, "
208 "B<SETVAL>, or B<SETALL> operation."
209 msgstr ""
210
211 #. type: TP
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 #, no-wrap
215 msgid "I<sem_nsems>"
216 msgstr "I<sem_nsems>"
217
218 #. type: Plain text
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 msgid ""
222 "Number of semaphores in the set. Each semaphore of the set is referenced by "
223 "a nonnegative integer ranging from B<0> to I<sem_nsems-1>."
224 msgstr ""
225
226 #. type: Plain text
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
229 msgid ""
230 "The I<ipc_perm> structure is defined as follows (the highlighted fields are "
231 "settable using B<IPC_SET>):"
232 msgstr ""
233
234 #. type: Plain text
235 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
236 #: opensuse-tumbleweed
237 #, no-wrap
238 msgid ""
239 "struct ipc_perm {\n"
240 " key_t __key; /* Key supplied to semget(2) */\n"
241 " uid_t \\f[B]uid\\fR; /* Effective UID of owner */\n"
242 " gid_t \\f[B]gid\\fR; /* Effective GID of owner */\n"
243 " uid_t cuid; /* Effective UID of creator */\n"
244 " gid_t cgid; /* Effective GID of creator */\n"
245 " unsigned short \\f[B]mode\\fR; /* Permissions */\n"
246 " unsigned short __seq; /* Sequence number */\n"
247 "};\n"
248 msgstr ""
249
250 #. type: Plain text
251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
253 msgid ""
254 "The least significant 9 bits of the I<mode> field of the I<ipc_perm> "
255 "structure define the access permissions for the shared memory segment. The "
256 "permission bits are as follows:"
257 msgstr ""
258
259 #. type: tbl table
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 #, no-wrap
263 msgid "0400"
264 msgstr "0400"
265
266 #. type: tbl table
267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
269 #, no-wrap
270 msgid "Read by user"
271 msgstr ""
272
273 #. type: tbl table
274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
276 #, no-wrap
277 msgid "0200"
278 msgstr "0200"
279
280 #. type: tbl table
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 #, no-wrap
284 msgid "Write by user"
285 msgstr ""
286
287 #. type: tbl table
288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
290 #, no-wrap
291 msgid "0040"
292 msgstr "0040"
293
294 #. type: tbl table
295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
297 #, no-wrap
298 msgid "Read by group"
299 msgstr ""
300
301 #. type: tbl table
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 #, no-wrap
305 msgid "0020"
306 msgstr "0020"
307
308 #. type: tbl table
309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
311 #, no-wrap
312 msgid "Write by group"
313 msgstr ""
314
315 #. type: tbl table
316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
318 #, no-wrap
319 msgid "0004"
320 msgstr "0004"
321
322 #. type: tbl table
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 #, no-wrap
326 msgid "Read by others"
327 msgstr ""
328
329 #. type: tbl table
330 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
331 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
332 #, no-wrap
333 msgid "0002"
334 msgstr "0002"
335
336 #. type: tbl table
337 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
338 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
339 #, no-wrap
340 msgid "Write by others"
341 msgstr ""
342
343 #. type: Plain text
344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
346 msgid ""
347 "In effect, \"write\" means \"alter\" for a semaphore set. Bits 0100, 0010, "
348 "and 0001 (the execute bits) are unused by the system."
349 msgstr ""
350
351 #. type: Plain text
352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
354 #, fuzzy
355 #| msgid "Valid values for I<cmd> are:"
356 msgid "Valid values for I<op> are:"
357 msgstr "Valores válidos para I<cmd> son:"
358
359 #. type: TP
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 #, no-wrap
363 msgid "B<IPC_STAT>"
364 msgstr "B<IPC_STAT>"
365
366 #. type: Plain text
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 #, fuzzy
370 #| msgid ""
371 #| "Copy info from the semaphore set data structure into the structure "
372 #| "pointed to by I<arg>B<.buf>. The argument I<semnum> is ignored. The "
373 #| "calling process must have read access privileges on the semaphore set."
374 msgid ""
375 "Copy information from the kernel data structure associated with I<semid> "
376 "into the I<semid_ds> structure pointed to by I<arg.buf>. The argument "
377 "I<semnum> is ignored. The calling process must have read permission on the "
378 "semaphore set."
379 msgstr ""
380 "Copiar información de la estructura de datos del conjunto de semáforos en la "
381 "estructura apuntada por I<arg>B<.buf>. El argumento I<semnum> es ignorado. "
382 "El proceso que realiza la llamada debe tener privilegios de acceso de "
383 "lectura en el conjunto de semáforos."
384
385 #. type: TP
386 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
387 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
388 #, no-wrap
389 msgid "B<IPC_SET>"
390 msgstr "B<IPC_SET>"
391
392 #. type: Plain text
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
395 msgid ""
396 "Write the values of some members of the I<semid_ds> structure pointed to by "
397 "I<arg.buf> to the kernel data structure associated with this semaphore set, "
398 "updating also its I<sem_ctime> member."
399 msgstr ""
400
401 #. type: Plain text
402 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
403 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
404 msgid ""
405 "The following members of the structure are updated: I<sem_perm.uid>, "
406 "I<sem_perm.gid>, and (the least significant 9 bits of) I<sem_perm.mode>."
407 msgstr ""
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 "The effective UID of the calling process must match the owner "
414 "(I<sem_perm.uid>) or creator (I<sem_perm.cuid>) of the semaphore set, or "
415 "the caller must be privileged. The argument I<semnum> is ignored."
416 msgstr ""
417
418 #. type: TP
419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
421 #, no-wrap
422 msgid "B<IPC_RMID>"
423 msgstr "B<IPC_RMID>"
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 #, fuzzy
429 #| msgid ""
430 #| "Immediately remove the semaphore set and its data structures awakening "
431 #| "all waiting processes (with an error return and B<errno> set to "
432 #| "B<EIDRM>). The effective user-ID of the calling process must be that of "
433 #| "the super-user, or match the creator or owner of the semaphore set. The "
434 #| "argument I<semnum> is ignored."
435 msgid ""
436 "Immediately remove the semaphore set, awakening all processes blocked in "
437 "B<semop>(2) calls on the set (with an error return and I<errno> set to "
438 "B<EIDRM>). The effective user ID of the calling process must match the "
439 "creator or owner of the semaphore set, or the caller must be privileged. "
440 "The argument I<semnum> is ignored."
441 msgstr ""
442 "Borrar inmediatamente el conjunto de semáforos y sus estructuras de datos, "
443 "despertando todos los procesos en espera (devuelve un error, y B<errno> "
444 "puesto a B<EIDRM>). El identificador de usuario efectivo del proceso "
445 "invocador debe ser el del super-usuario, o coincidir con el del creador o "
446 "propietario del conjunto de semáforos. El argumento I<semnum> es ignorado."
447
448 #. type: TP
449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
451 #, no-wrap
452 msgid "B<IPC_INFO> (Linux-specific)"
453 msgstr "B<IPC_INFO> Específica de Linux)"
454
455 #. type: Plain text
456 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
457 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
458 msgid ""
459 "Return information about system-wide semaphore limits and parameters in the "
460 "structure pointed to by I<arg.__buf>. This structure is of type I<seminfo>, "
461 "defined in I<E<lt>sys/sem.hE<gt>> if the B<_GNU_SOURCE> feature test macro "
462 "is defined:"
463 msgstr ""
464
465 #. type: Plain text
466 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
467 #: opensuse-tumbleweed
468 #, no-wrap
469 msgid ""
470 "struct seminfo {\n"
471 " int semmap; /* Number of entries in semaphore\n"
472 " map; unused within kernel */\n"
473 " int semmni; /* Maximum number of semaphore sets */\n"
474 " int semmns; /* Maximum number of semaphores in all\n"
475 " semaphore sets */\n"
476 " int semmnu; /* System-wide maximum number of undo\n"
477 " structures; unused within kernel */\n"
478 " int semmsl; /* Maximum number of semaphores in a\n"
479 " set */\n"
480 " int semopm; /* Maximum number of operations for\n"
481 " semop(2) */\n"
482 " int semume; /* Maximum number of undo entries per\n"
483 " process; unused within kernel */\n"
484 " int semusz; /* Size of struct sem_undo */\n"
485 " int semvmx; /* Maximum semaphore value */\n"
486 " int semaem; /* Max.\\& value that can be recorded for\n"
487 " semaphore adjustment (SEM_UNDO) */\n"
488 "};\n"
489 msgstr ""
490
491 #. type: Plain text
492 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
493 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
494 msgid ""
495 "The I<semmsl>, I<semmns>, I<semopm>, and I<semmni> settings can be changed "
496 "via I</proc/sys/kernel/sem>; see B<proc>(5) for details."
497 msgstr ""
498
499 #. type: TP
500 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
501 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
502 #, no-wrap
503 msgid "B<SEM_INFO> (Linux-specific)"
504 msgstr "B<SEM_INFO> (Específica de Linux)"
505
506 #. type: Plain text
507 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
508 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
509 msgid ""
510 "Return a I<seminfo> structure containing the same information as for "
511 "B<IPC_INFO>, except that the following fields are returned with information "
512 "about system resources consumed by semaphores: the I<semusz> field returns "
513 "the number of semaphore sets that currently exist on the system; and the "
514 "I<semaem> field returns the total number of semaphores in all semaphore sets "
515 "on the system."
516 msgstr ""
517
518 #. type: TP
519 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
520 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
521 #, no-wrap
522 msgid "B<SEM_STAT> (Linux-specific)"
523 msgstr "B<SEM_STAT> (Específica de Linux)"
524
525 #. type: Plain text
526 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
527 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
528 msgid ""
529 "Return a I<semid_ds> structure as for B<IPC_STAT>. However, the I<semid> "
530 "argument is not a semaphore identifier, but instead an index into the "
531 "kernel's internal array that maintains information about all semaphore sets "
532 "on the system."
533 msgstr ""
534
535 #. type: TP
536 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
537 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
538 #, no-wrap
539 msgid "B<SEM_STAT_ANY> (Linux-specific, since Linux 4.17)"
540 msgstr "B<SEM_STAT_ANY> (Específica de Linux, desde Linux 4.17)"
541
542 #. type: Plain text
543 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
544 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
545 msgid ""
546 "Return a I<semid_ds> structure as for B<SEM_STAT>. However, "
547 "I<sem_perm.mode> is not checked for read access for I<semid> meaning that "
548 "any user can employ this operation (just as any user may read I</proc/"
549 "sysvipc/sem> to obtain the same information)."
550 msgstr ""
551
552 #. type: TP
553 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
554 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
555 #, no-wrap
556 msgid "B<GETALL>"
557 msgstr "B<GETALL>"
558
559 #. type: Plain text
560 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
561 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
562 #, fuzzy
563 #| msgid ""
564 #| "Return B<semval> for all semaphores of the set into I<arg>B<.array>. The "
565 #| "argument I<semnum> is ignored. The calling process must have read access "
566 #| "privileges on the semaphore set."
567 msgid ""
568 "Return B<semval> (i.e., the current value) for all semaphores of the set "
569 "into I<arg.array>. The argument I<semnum> is ignored. The calling process "
570 "must have read permission on the semaphore set."
571 msgstr ""
572 "Devuelve B<semval> para todos los semáforos del conjunto, en "
573 "I<arg>B<.array>. El argumento I<semnum> es ignorado. El proceso que "
574 "realiza la llamada ha de tener privilegios de lectura en el conjunto de "
575 "semáforos."
576
577 #. type: TP
578 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
579 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
580 #, no-wrap
581 msgid "B<GETNCNT>"
582 msgstr "B<GETNCNT>"
583
584 #. type: Plain text
585 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
586 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
587 #, fuzzy
588 #| msgid ""
589 #| "The system call returns the value of B<semzcnt> for the I<semnum>-th "
590 #| "semaphore of the set (i.e. the number of processes waiting for B<semval> "
591 #| "of the I<semnum>-th semaphore of the set to become 0). The calling "
592 #| "process must have read access privileges on the semaphore set."
593 msgid ""
594 "Return the B<semncnt> value for the I<semnum>-th semaphore of the set (i.e., "
595 "the number of processes waiting for the semaphore's value to increase). The "
596 "calling process must have read permission on the semaphore set."
597 msgstr ""
598 "La llamada al sistema devuelve el valor de B<semzcnt> para el I<semnum>-avo "
599 "semáforo del conjunto (p.ej. el número de procesos que esperan que B<semval> "
600 "del I<semnum>-avo semáforo del conjunto se ponga a 0). El proceso que "
601 "realiza la llamada ha de tener privilegios de lectura en el conjunto de "
602 "semáforos."
603
604 #. type: TP
605 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
606 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
607 #, no-wrap
608 msgid "B<GETPID>"
609 msgstr "B<GETPID>"
610
611 #. type: Plain text
612 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
613 #: opensuse-leap-16-1 opensuse-tumbleweed
614 #, fuzzy
615 #| msgid ""
616 #| "The system call returns the value of B<sempid> for the I<semnum>-th "
617 #| "semaphore of the set (i.e. the pid of the process that executed the last "
618 #| "B<semop> call for the I<semnum>-th semaphore of the set). The calling "
619 #| "process must have read access privileges on the semaphore set."
620 msgid ""
621 "Return the B<sempid> value for the I<semnum>-th semaphore of the set. This "
622 "is the PID of the process that last performed an operation on that semaphore "
623 "(but see VERSIONS). The calling process must have read permission on the "
624 "semaphore set."
625 msgstr ""
626 "La llamada al sistema devuelve el valor de B<sempid> para el I<semnum>-avo "
627 "semáforo del conjunto (p.ej. el pid del proceso que ejecutó la última "
628 "llamada B<semop> para el I<semnum>-avo semáforo del conjunto). El proceso "
629 "que realiza la llamada ha de tener privilegios de lectura en el conjunto de "
630 "semáforos."
631
632 #. type: TP
633 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
634 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
635 #, no-wrap
636 msgid "B<GETVAL>"
637 msgstr "B<GETVAL>"
638
639 #. type: Plain text
640 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
641 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
642 #, fuzzy
643 #| msgid ""
644 #| "The system call returns the value of B<semval> for the I<semnum>-th "
645 #| "semaphore of the set. The calling process must have read access "
646 #| "privileges on the semaphore set."
647 msgid ""
648 "Return B<semval> (i.e., the semaphore value) for the I<semnum>-th semaphore "
649 "of the set. The calling process must have read permission on the semaphore "
650 "set."
651 msgstr ""
652 "La llamada al sistema devuelve el valor de B<semval> para el I<semnum>-avo "
653 "semáforo del conjunto. El proceso que realiza la llamada ha de tener "
654 "privilegios de lectura en el conjunto de semáforos."
655
656 #. type: TP
657 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
658 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
659 #, no-wrap
660 msgid "B<GETZCNT>"
661 msgstr "B<GETZCNT>"
662
663 #. type: Plain text
664 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
665 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
666 #, fuzzy
667 #| msgid ""
668 #| "The system call returns the value of B<semzcnt> for the I<semnum>-th "
669 #| "semaphore of the set (i.e. the number of processes waiting for B<semval> "
670 #| "of the I<semnum>-th semaphore of the set to become 0). The calling "
671 #| "process must have read access privileges on the semaphore set."
672 msgid ""
673 "Return the B<semzcnt> value for the I<semnum>-th semaphore of the set (i.e., "
674 "the number of processes waiting for the semaphore value to become 0). The "
675 "calling process must have read permission on the semaphore set."
676 msgstr ""
677 "La llamada al sistema devuelve el valor de B<semzcnt> para el I<semnum>-avo "
678 "semáforo del conjunto (p.ej. el número de procesos que esperan que B<semval> "
679 "del I<semnum>-avo semáforo del conjunto se ponga a 0). El proceso que "
680 "realiza la llamada ha de tener privilegios de lectura en el conjunto de "
681 "semáforos."
682
683 #. type: TP
684 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
685 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
686 #, no-wrap
687 msgid "B<SETALL>"
688 msgstr "B<SETALL>"
689
690 #. type: Plain text
691 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
692 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
693 #, fuzzy
694 #| msgid ""
695 #| "Set B<semval> for all semaphores of the set using I<arg>B<.array>I<,> "
696 #| "updating also the B<sem_ctime> member of the B<semid_ds> structure "
697 #| "associated to the set. Undo entries are cleared for altered semaphores "
698 #| "in all processes. Processes sleeping on the wait queue are awakened if "
699 #| "some B<semval> becomes 0 or increases. The argument I<semnum> is "
700 #| "ignored. The calling process must have alter access privileges on the "
701 #| "semaphore set."
702 msgid ""
703 "Set the B<semval> values for all semaphores of the set using I<arg.array>, "
704 "updating also the I<sem_ctime> member of the I<semid_ds> structure "
705 "associated with the set. Undo entries (see B<semop>(2)) are cleared for "
706 "altered semaphores in all processes. If the changes to semaphore values "
707 "would permit blocked B<semop>(2) calls in other processes to proceed, then "
708 "those processes are woken up. The argument I<semnum> is ignored. The "
709 "calling process must have alter (write) permission on the semaphore set."
710 msgstr ""
711 "Poner B<semval> para todos los semáforos del conjunto usando "
712 "I<arg>B<.array>, actualizando también el miembro B<sem_ctime> de la "
713 "estructura B<semid_ds> asociada al conjunto. Los registros de anulación son "
714 "limpiados, para los semáforos cambiados, en todos los procesos. Los procesos "
715 "que están durmiendo en la cola de espera son despertados si algún B<semval> "
716 "se pone a 0 o se incrementa. El argumento I<semnum> es ignorado. El "
717 "proceso que realiza la llamada ha de tener privilegios de modificación en el "
718 "conjunto de semáforos."
719
720 #. type: TP
721 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
722 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
723 #, no-wrap
724 msgid "B<SETVAL>"
725 msgstr "B<SETVAL>"
726
727 #. type: Plain text
728 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
729 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
730 #, fuzzy
731 #| msgid ""
732 #| "Set the value of B<semval> to I<arg>B<.val> for the I<semnum>-th "
733 #| "semaphore of the set, updating also the B<sem_ctime> member of the "
734 #| "B<semid_ds> structure associated to the set. Undo entries are cleared "
735 #| "for altered semaphores in all processes. Processes sleeping on the wait "
736 #| "queue are awakened if B<semval> becomes 0 or increases. The calling "
737 #| "process must have alter access privileges on the semaphore set."
738 msgid ""
739 "Set the semaphore value (B<semval>) to I<arg.val> for the I<semnum>-th "
740 "semaphore of the set, updating also the I<sem_ctime> member of the "
741 "I<semid_ds> structure associated with the set. Undo entries are cleared for "
742 "altered semaphores in all processes. If the changes to semaphore values "
743 "would permit blocked B<semop>(2) calls in other processes to proceed, then "
744 "those processes are woken up. The calling process must have alter "
745 "permission on the semaphore set."
746 msgstr ""
747 "Poner el valor de B<semval> a I<arg>B<.val> para el I<semnum>-avo semáforo "
748 "del conjunto, actualizando también el miembro B<sem_ctime> de la estructura "
749 "B<semid_ds> asociada al conjunto. El registro de anulación es limpiado, "
750 "para el semáforo alterado, en todos los procesos. Los procesos que están "
751 "durmiendo en la cola de espera son despertados si B<semval> se pone a 0 o se "
752 "incrementa. El proceso que realiza la llamada ha de tener privilegios de "
753 "escritura en el conjunto de semáforos."
754
755 #. type: SH
756 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
757 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
758 #, no-wrap
759 msgid "RETURN VALUE"
760 msgstr "VALOR DEVUELTO"
761
762 #. type: Plain text
763 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
764 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
765 #, fuzzy
766 #| msgid ""
767 #| "Otherwise, the system call returns a nonnegative value depending on "
768 #| "I<cmd> as follows:"
769 msgid ""
770 "On success, B<semctl>() returns a nonnegative value depending on I<op> as "
771 "follows:"
772 msgstr ""
773 "De otro modo, la llamada al sistema devuelve un valor no negativo, "
774 "dependiendo de I<cmd> como sigue:"
775
776 #. type: Plain text
777 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
778 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
779 msgid "the value of B<semncnt>."
780 msgstr "el valor de B<semncnt>."
781
782 #. type: Plain text
783 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
784 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
785 msgid "the value of B<sempid>."
786 msgstr "el valor de B<sempid>."
787
788 #. type: Plain text
789 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
790 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
791 msgid "the value of B<semval>."
792 msgstr "el valor de B<semval>."
793
794 #. type: Plain text
795 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
796 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
797 msgid "the value of B<semzcnt>."
798 msgstr "el valor de B<semzcnt>."
799
800 #. type: TP
801 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
802 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
803 #, no-wrap
804 msgid "B<IPC_INFO>"
805 msgstr "B<IPC_INFO>"
806
807 #. type: Plain text
808 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
809 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
810 msgid ""
811 "the index of the highest used entry in the kernel's internal array recording "
812 "information about all semaphore sets. (This information can be used with "
813 "repeated B<SEM_STAT> or B<SEM_STAT_ANY> operations to obtain information "
814 "about all semaphore sets on the system.)"
815 msgstr ""
816
817 #. type: TP
818 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
819 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
820 #, no-wrap
821 msgid "B<SEM_INFO>"
822 msgstr "B<SEM_INFO>"
823
824 #. type: Plain text
825 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
826 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
827 msgid "as for B<IPC_INFO>."
828 msgstr ""
829
830 #. type: TP
831 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
832 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
833 #, no-wrap
834 msgid "B<SEM_STAT>"
835 msgstr "B<SEM_STAT>"
836
837 #. type: Plain text
838 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
839 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
840 msgid "the identifier of the semaphore set whose index was given in I<semid>."
841 msgstr ""
842
843 #. type: TP
844 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
845 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
846 #, no-wrap
847 msgid "B<SEM_STAT_ANY>"
848 msgstr "B<SEM_STAT_ANY>"
849
850 #. type: Plain text
851 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
852 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
853 msgid "as for B<SEM_STAT>."
854 msgstr ""
855
856 #. type: Plain text
857 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
858 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
859 #, fuzzy
860 #| msgid "All other I<cmd> values return 0 on success."
861 msgid "All other I<op> values return 0 on success."
862 msgstr "Todos los demás valores I<cmd> devuelven 0 en caso de éxito."
863
864 #. type: Plain text
865 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
866 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
867 #, fuzzy
868 #| msgid ""
869 #| "On failure, B<semctl>() returns -1 with I<errno> indicating the error."
870 msgid ""
871 "On failure, B<semctl>() returns -1 and sets I<errno> to indicate the error."
872 msgstr ""
873 "En caso de fallo B<semctl> devuelve B<-1>, mientras B<errno> indica el error."
874
875 #. type: SH
876 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
877 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
878 #, no-wrap
879 msgid "ERRORS"
880 msgstr "ERRORES"
881
882 #. type: TP
883 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
884 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
885 #, no-wrap
886 msgid "B<EACCES>"
887 msgstr "B<EACCES>"
888
889 #. type: Plain text
890 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
891 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
892 msgid ""
893 "The argument I<op> has one of the values B<GETALL>, B<GETPID>, B<GETVAL>, "
894 "B<GETNCNT>, B<GETZCNT>, B<IPC_STAT>, B<SEM_STAT>, B<SEM_STAT_ANY>, "
895 "B<SETALL>, or B<SETVAL> and the calling process does not have the required "
896 "permissions on the semaphore set and does not have the B<CAP_IPC_OWNER> "
897 "capability in the user namespace that governs its IPC namespace."
898 msgstr ""
899
900 #. type: TP
901 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
902 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
903 #, no-wrap
904 msgid "B<EFAULT>"
905 msgstr "B<EFAULT>"
906
907 #. type: Plain text
908 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
909 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
910 msgid "The address pointed to by I<arg.buf> or I<arg.array> isn't accessible."
911 msgstr ""
912 "La dirección a la que apunta I<arg.buf> o I<arg.array> no es accesible."
913
914 #. type: TP
915 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
916 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
917 #, no-wrap
918 msgid "B<EIDRM>"
919 msgstr "B<EIDRM>"
920
921 #. type: Plain text
922 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
923 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
924 msgid "The semaphore set was removed."
925 msgstr "El conjunto de semáforos se borró."
926
927 #. type: TP
928 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
929 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
930 #, no-wrap
931 msgid "B<EINVAL>"
932 msgstr "B<EINVAL>"
933
934 #. type: Plain text
935 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
936 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
937 msgid ""
938 "Invalid value for I<op> or I<semid>. Or: for a B<SEM_STAT> operation, the "
939 "index value specified in I<semid> referred to an array slot that is "
940 "currently unused."
941 msgstr ""
942
943 #. type: TP
944 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
945 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
946 #, no-wrap
947 msgid "B<EPERM>"
948 msgstr "B<EPERM>"
949
950 #. type: Plain text
951 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
952 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
953 msgid ""
954 "The argument I<op> has the value B<IPC_SET> or B<IPC_RMID> but the effective "
955 "user ID of the calling process is not the creator (as found in "
956 "I<sem_perm.cuid>) or the owner (as found in I<sem_perm.uid>) of the "
957 "semaphore set, and the process does not have the B<CAP_SYS_ADMIN> capability."
958 msgstr ""
959
960 #. type: TP
961 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
962 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
963 #, no-wrap
964 msgid "B<ERANGE>"
965 msgstr "B<ERANGE>"
966
967 #. type: Plain text
968 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
969 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
970 #, fuzzy
971 #| msgid ""
972 #| "The argument I<cmd> has value B<SETALL> or B<SETVAL> and the value to "
973 #| "which B<semval> has to be set (for some semaphore of the set) is less "
974 #| "than 0 or greater than the implementation value B<SEMVMX>."
975 msgid ""
976 "The argument I<op> has the value B<SETALL> or B<SETVAL> and the value to "
977 "which B<semval> is to be set (for some semaphore of the set) is less than 0 "
978 "or greater than the implementation limit B<SEMVMX>."
979 msgstr ""
980 "El argumento I<cmd> tiene el valor B<SETALL> o B<SETVAL> y el valor al que "
981 "ha de ser puesto B<semval> (para algún semáforo del conjunto) es menor que 0 "
982 "o mayor que el valor B<SEMVMX> de la implementación."
983
984 #. type: SH
985 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
986 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
987 #, no-wrap
988 msgid "VERSIONS"
989 msgstr "VERSIONES"
990
991 #. POSIX.1-2001, POSIX.1-2008
992 #. type: Plain text
993 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
994 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
995 msgid ""
996 "POSIX.1 specifies the I<sem_nsems> field of the I<semid_ds> structure as "
997 "having the type I<unsigned\\ short>, and the field is so defined on most "
998 "other systems. It was also so defined on Linux 2.2 and earlier, but, since "
999 "Linux 2.4, the field has the type I<unsigned\\ long>."
1000 msgstr ""
1001
1002 #. type: SS
1003 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1004 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1005 #, no-wrap
1006 msgid "The sempid value"
1007 msgstr ""
1008
1009 #. type: Plain text
1010 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1011 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1012 msgid ""
1013 "POSIX.1 defines I<sempid> as the \"process ID of [the] last operation\" on a "
1014 "semaphore, and explicitly notes that this value is set by a successful "
1015 "B<semop>(2) call, with the implication that no other interface affects the "
1016 "I<sempid> value."
1017 msgstr ""
1018
1019 #. At least OpenSolaris (and, one supposes, older Solaris) and Darwin
1020 #. type: Plain text
1021 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1022 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1023 msgid ""
1024 "While some implementations conform to the behavior specified in POSIX.1, "
1025 "others do not. (The fault here probably lies with POSIX.1 inasmuch as it "
1026 "likely failed to capture the full range of existing implementation "
1027 "behaviors.) Various other implementations also update I<sempid> for the "
1028 "other operations that update the value of a semaphore: the B<SETVAL> and "
1029 "B<SETALL> operations, as well as the semaphore adjustments performed on "
1030 "process termination as a consequence of the use of the B<SEM_UNDO> flag (see "
1031 "B<semop>(2))."
1032 msgstr ""
1033
1034 #. commit a5f4db877177d2a3d7ae62a7bac3a5a27e083d7f
1035 #. type: Plain text
1036 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1037 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1038 msgid ""
1039 "Linux also updates I<sempid> for B<SETVAL> operations and semaphore "
1040 "adjustments. However, somewhat inconsistently, up to and including Linux "
1041 "4.5, the kernel did not update I<sempid> for B<SETALL> operations. This was "
1042 "rectified in Linux 4.6."
1043 msgstr ""
1044
1045 #. type: SH
1046 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1047 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1048 #, no-wrap
1049 msgid "STANDARDS"
1050 msgstr "ESTÁNDARES"
1051
1052 #. type: Plain text
1053 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1054 #: opensuse-tumbleweed
1055 msgid "POSIX.1-2024."
1056 msgstr "POSIX.1-2024."
1057
1058 #. type: SH
1059 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1060 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1061 #, no-wrap
1062 msgid "HISTORY"
1063 msgstr "HISTORIAL"
1064
1065 #. SVr4 documents more error conditions EINVAL and EOVERFLOW.
1066 #. type: Plain text
1067 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1068 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1069 msgid "POSIX.1-2001, SVr4."
1070 msgstr "POSIX.1-2001, SVr4."
1071
1072 #. type: Plain text
1073 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1074 #: opensuse-tumbleweed
1075 #, fuzzy
1076 #| msgid ""
1077 #| "Various fields in a I<struct semid_ds> were shorts under Linux 2.2 and "
1078 #| "have become longs under Linux 2.4. To take advantage of this, a "
1079 #| "recompilation under glibc-2.1.91 or later should suffice. (The kernel "
1080 #| "distinguishes old and new calls by a IPC_64 flag in I<cmd>.)"
1081 msgid ""
1082 "Various fields in a I<struct\\ semid_ds> were typed as I<short> under Linux "
1083 "2.2 and have become I<long> under Linux 2.4. To take advantage of this, a "
1084 "recompilation under glibc-2.1.91 or later should suffice. (The kernel "
1085 "distinguishes old and new calls by an B<IPC_64> flag in I<op>.)"
1086 msgstr ""
1087 "Varios campos de la estructura I<semid_ds> eran de tipo short bajo Linux 2.2 "
1088 "y se han convertido a tipo long bajo Linux 2.4. Para aprovechar esto, sería "
1089 "suficiente volver a compilar bajo glibc-2.1.91 o posterior. (El núcleo "
1090 "distingue las llamadas antiguas y nuevas por una opción IPC_64 en I<cmd>.)"
1091
1092 #. POSIX.1-2001, POSIX.1-2008
1093 #. type: Plain text
1094 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1095 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1096 msgid ""
1097 "In some earlier versions of glibc, the I<semun> union was defined in "
1098 "I<E<lt>sys/sem.hE<gt>>, but POSIX.1 requires that the caller define this "
1099 "union. On versions of glibc where this union is I<not> defined, the macro "
1100 "B<_SEM_SEMUN_UNDEFINED> is defined in I<E<lt>sys/sem.hE<gt>>."
1101 msgstr ""
1102
1103 #. type: SH
1104 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1105 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1106 #, no-wrap
1107 msgid "NOTES"
1108 msgstr "NOTAS"
1109
1110 #. type: Plain text
1111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1113 #, fuzzy
1114 #| msgid ""
1115 #| "The B<IPC_INFO>, B<SEM_STAT> and B<SEM_INFO> control calls are used by "
1116 #| "the B<ipcs>(8) program to provide information on allocated resources. "
1117 #| "In the future these can be modified as needed or moved to a proc file "
1118 #| "system interface."
1119 msgid ""
1120 "The B<IPC_INFO>, B<SEM_STAT>, and B<SEM_INFO> operations are used by the "
1121 "B<ipcs>(1) program to provide information on allocated resources. In the "
1122 "future these may modified or moved to a I</proc> filesystem interface."
1123 msgstr ""
1124 "Las llamadas de control B<IPC_INFO>, B<SEM_STAT> y B<SEM_INFO> son "
1125 "utilizadas por el programa B<ipcs>(8) para proveer información sobre "
1126 "recursos asignados. En el futuro pueden ser modificadas según se necesite, "
1127 "o llevadas al interfaz del sistema de ficheros proc."
1128
1129 #. type: Plain text
1130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1132 msgid ""
1133 "The following system limit on semaphore sets affects a B<semctl>() call:"
1134 msgstr ""
1135 "El siguiente límite de sistema para conjuntos de semáforos afecta a la "
1136 "llamada B<semctl>():"
1137
1138 #. type: TP
1139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1141 #, no-wrap
1142 msgid "B<SEMVMX>"
1143 msgstr "B<SEMVMX>"
1144
1145 #. type: Plain text
1146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1148 msgid "Maximum value for B<semval>: implementation dependent (32767)."
1149 msgstr "Valor máximo para B<semval>: depende de la implementación (32767)."
1150
1151 #. type: Plain text
1152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1154 msgid ""
1155 "For greater portability, it is best to always call B<semctl>() with four "
1156 "arguments."
1157 msgstr ""
1158 "Para una mayor portabilidad siempre es mejor llamar a B<semctl>() con cuatro "
1159 "argumentos."
1160
1161 #. type: SH
1162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1164 #, no-wrap
1165 msgid "EXAMPLES"
1166 msgstr "EJEMPLOS"
1167
1168 #. type: Plain text
1169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1171 msgid "See B<shmop>(2)."
1172 msgstr "Vea B<shmop>(2)."
1173
1174 #. type: SH
1175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1177 #, no-wrap
1178 msgid "SEE ALSO"
1179 msgstr "VÉASE TAMBIÉN"
1180
1181 #. type: Plain text
1182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1184 msgid ""
1185 "B<ipc>(2), B<semget>(2), B<semop>(2), B<capabilities>(7), "
1186 "B<sem_overview>(7), B<sysvipc>(7)"
1187 msgstr ""
1188 "B<ipc>(2), B<semget>(2), B<semop>(2), B<capabilities>(7), "
1189 "B<sem_overview>(7), B<sysvipc>(7)"
1190
1191 #. type: TH
1192 #: debian-trixie
1193 #, no-wrap
1194 msgid "2024-05-02"
1195 msgstr "2 Mayo 2024"
1196
1197 #. type: TH
1198 #: debian-trixie
1199 #, no-wrap
1200 msgid "Linux man-pages 6.9.1"
1201 msgstr "Páginas de Manual de Linux 6.9.1"
1202
1203 #. type: Plain text
1204 #: debian-trixie
1205 msgid "Standard C library (I<libc>, I<-lc>)"
1206 msgstr "Biblioteca Estándar C (I<libc>, I<-lc>)"
1207
1208 #. type: Plain text
1209 #: debian-trixie fedora-44 fedora-rawhide
1210 #, no-wrap
1211 msgid ""
1212 "struct semid_ds {\n"
1213 " struct ipc_perm sem_perm; /* Ownership and permissions */\n"
1214 " time_t sem_otime; /* Last semop time */\n"
1215 " time_t sem_ctime; /* Creation time/time of last\n"
1216 " modification via semctl() */\n"
1217 " unsigned long sem_nsems; /* No. of semaphores in set */\n"
1218 "};\n"
1219 msgstr ""
1220
1221 #. type: Plain text
1222 #: debian-trixie fedora-44 fedora-rawhide
1223 #, no-wrap
1224 msgid ""
1225 "struct ipc_perm {\n"
1226 " key_t __key; /* Key supplied to semget(2) */\n"
1227 " uid_t B<uid>; /* Effective UID of owner */\n"
1228 " gid_t B<gid>; /* Effective GID of owner */\n"
1229 " uid_t cuid; /* Effective UID of creator */\n"
1230 " gid_t cgid; /* Effective GID of creator */\n"
1231 " unsigned short B<mode>; /* Permissions */\n"
1232 " unsigned short __seq; /* Sequence number */\n"
1233 "};\n"
1234 msgstr ""
1235
1236 #. type: Plain text
1237 #: debian-trixie fedora-44 fedora-rawhide
1238 #, no-wrap
1239 msgid ""
1240 "struct seminfo {\n"
1241 " int semmap; /* Number of entries in semaphore\n"
1242 " map; unused within kernel */\n"
1243 " int semmni; /* Maximum number of semaphore sets */\n"
1244 " int semmns; /* Maximum number of semaphores in all\n"
1245 " semaphore sets */\n"
1246 " int semmnu; /* System-wide maximum number of undo\n"
1247 " structures; unused within kernel */\n"
1248 " int semmsl; /* Maximum number of semaphores in a\n"
1249 " set */\n"
1250 " int semopm; /* Maximum number of operations for\n"
1251 " semop(2) */\n"
1252 " int semume; /* Maximum number of undo entries per\n"
1253 " process; unused within kernel */\n"
1254 " int semusz; /* Size of struct sem_undo */\n"
1255 " int semvmx; /* Maximum semaphore value */\n"
1256 " int semaem; /* Max. value that can be recorded for\n"
1257 " semaphore adjustment (SEM_UNDO) */\n"
1258 "};\n"
1259 msgstr ""
1260
1261 #. type: Plain text
1262 #: debian-trixie
1263 #, fuzzy
1264 #| msgid ""
1265 #| "The system call returns the value of B<sempid> for the I<semnum>-th "
1266 #| "semaphore of the set (i.e. the pid of the process that executed the last "
1267 #| "B<semop> call for the I<semnum>-th semaphore of the set). The calling "
1268 #| "process must have read access privileges on the semaphore set."
1269 msgid ""
1270 "Return the B<sempid> value for the I<semnum>-th semaphore of the set. This "
1271 "is the PID of the process that last performed an operation on that semaphore "
1272 "(but see NOTES). The calling process must have read permission on the "
1273 "semaphore set."
1274 msgstr ""
1275 "La llamada al sistema devuelve el valor de B<sempid> para el I<semnum>-avo "
1276 "semáforo del conjunto (p.ej. el pid del proceso que ejecutó la última "
1277 "llamada B<semop> para el I<semnum>-avo semáforo del conjunto). El proceso "
1278 "que realiza la llamada ha de tener privilegios de lectura en el conjunto de "
1279 "semáforos."
1280
1281 #. type: Plain text
1282 #: debian-trixie fedora-44 fedora-rawhide
1283 msgid "POSIX.1-2008."
1284 msgstr "POSIX.1-2008."
1285
1286 #. type: Plain text
1287 #: debian-trixie fedora-44 fedora-rawhide
1288 #, fuzzy
1289 #| msgid ""
1290 #| "Various fields in a I<struct semid_ds> were shorts under Linux 2.2 and "
1291 #| "have become longs under Linux 2.4. To take advantage of this, a "
1292 #| "recompilation under glibc-2.1.91 or later should suffice. (The kernel "
1293 #| "distinguishes old and new calls by a IPC_64 flag in I<cmd>.)"
1294 msgid ""
1295 "Various fields in a I<struct semid_ds> were typed as I<short> under Linux "
1296 "2.2 and have become I<long> under Linux 2.4. To take advantage of this, a "
1297 "recompilation under glibc-2.1.91 or later should suffice. (The kernel "
1298 "distinguishes old and new calls by an B<IPC_64> flag in I<op>.)"
1299 msgstr ""
1300 "Varios campos de la estructura I<semid_ds> eran de tipo short bajo Linux 2.2 "
1301 "y se han convertido a tipo long bajo Linux 2.4. Para aprovechar esto, sería "
1302 "suficiente volver a compilar bajo glibc-2.1.91 o posterior. (El núcleo "
1303 "distingue las llamadas antiguas y nuevas por una opción IPC_64 en I<cmd>.)"
1304
1305 #. type: TH
1306 #: fedora-44 fedora-rawhide
1307 #, no-wrap
1308 msgid "2024-07-23"
1309 msgstr "23 ​​Julio 2024"
1310
1311 #. type: TH
1312 #: fedora-44 fedora-rawhide
1313 #, no-wrap
1314 msgid "Linux man-pages 6.13"
1315 msgstr "Páginas de Manual de Linux 6.13"
1316
1317 #. type: TH
1318 #: mageia-cauldron
1319 #, no-wrap
1320 msgid "Linux man-pages 6.17"
1321 msgstr "Páginas de Manual de Linux 6.17"
1322
1323 #. type: TH
1324 #: opensuse-leap-16-1 opensuse-tumbleweed
1325 #, no-wrap
1326 msgid "Linux man-pages (unreleased)"
1327 msgstr "Páginas de Manual de Linux (no publicadas)"