Debian Codegraph @

po/pt_BR/man2/semctl.2.po

raw
1 # Brazilian Portuguese translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Marcelo M. de Abreu <[email protected]>, 2001.
5 # André Luiz Fassone <[email protected]>, 2001.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:42+0200\n"
10 "PO-Revision-Date: 2001-06-02 19:20-0300\n"
11 "Last-Translator: André Luiz Fassone <[email protected]>\n"
12 "Language-Team: Brazilian Portuguese <debian-l10n-"
13 "[email protected]>\n"
14 "Language: pt_BR\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: Virtaal 1.0.0-beta1\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 "semctl"
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 fevereiro 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 "Linux man-pages 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 "NOME"
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 - operações de controle de semáforo"
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 C Padrão (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 "SINOPSE"
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 "DESCRIÇÃO"
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 performs the control operation specified by I<cmd> on the "
105 #| "semaphore set (or on the I<semnum>-th semaphore of the set) identified by "
106 #| "I<semid>. The first semaphore of the set is indicated by a value B<0> "
107 #| "for I<semnum>."
108 msgid ""
109 "B<semctl>() performs the control operation specified by I<op> on the "
110 "System\\ V semaphore set identified by I<semid>, or on the I<semnum>-th "
111 "semaphore of that set. (The semaphores in a set are numbered starting at 0.)"
112 msgstr ""
113 "A função efetua a operação de controle especificada por I<cmd> sobre o "
114 "conjunto de semáforos (ou sobre o I<semnum>-ésimo>semáforo no conjunto) "
115 "identificado por I<semid>. O primeiro semáforo do conjunto é indicado por um "
116 "valor B<0> para I<semnum>."
117
118 #. type: Plain text
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 msgid ""
122 "This function has three or four arguments, depending on I<op>. When there "
123 "are four, the fourth has the type I<union semun>. The I<calling program> "
124 "must define this union as follows:"
125 msgstr ""
126
127 #. type: Plain text
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 #, fuzzy, no-wrap
131 #| msgid ""
132 #| "#if defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)\n"
133 #| "/* union semun is defined by including E<lt>sys/sem.hE<gt> */\n"
134 #| "#else\n"
135 #| "/* according to X/OPEN we have to define it ourselves */\n"
136 #| "union semun {\n"
137 #| " int val; /* value for SETVAL */\n"
138 #| " struct semid_ds *buf; /* buffer for IPC_STAT, IPC_SET */\n"
139 #| " unsigned short int *array; /* array for GETALL, SETALL */\n"
140 #| " struct seminfo *__buf; /* buffer for IPC_INFO */\n"
141 #| "};\n"
142 #| "#endif\n"
143 msgid ""
144 "union semun {\n"
145 " int val; /* Value for SETVAL */\n"
146 " struct semid_ds *buf; /* Buffer for IPC_STAT, IPC_SET */\n"
147 " unsigned short *array; /* Array for GETALL, SETALL */\n"
148 " struct seminfo *__buf; /* Buffer for IPC_INFO\n"
149 " (Linux-specific) */\n"
150 "};\n"
151 msgstr ""
152 "#if defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)\n"
153 "/* a união semun é definida pela inclusão de E<lt>sys/sem.hE<gt> */\n"
154 "#else\n"
155 "/* de acordo com X/OPEN nós temos que a definir nós mesmos */\n"
156 "union semun {\n"
157 " int val; /* valor para SETVAL */\n"
158 " struct semid_ds *buf; /* buffer para IPC_STAT, IPC_SET */\n"
159 " unsigned short int *array; /* vetor para GETALL, SETALL */\n"
160 " struct seminfo *__buf; /* buffer para IPC_INFO */\n"
161 "};\n"
162 "#endif\n"
163
164 #. type: Plain text
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 msgid ""
168 "The I<semid_ds> data structure is defined in I<E<lt>sys/sem.hE<gt>> as "
169 "follows:"
170 msgstr ""
171
172 #. type: Plain text
173 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
174 #: opensuse-tumbleweed
175 #, no-wrap
176 msgid ""
177 "struct semid_ds {\n"
178 " struct ipc_perm sem_perm; /* Ownership and permissions */\n"
179 " time_t sem_otime; /* Last semop time */\n"
180 " time_t sem_ctime; /* Creation time/time of last\n"
181 " modification via semctl() */\n"
182 " unsigned long sem_nsems; /* # of semaphores in set */\n"
183 "};\n"
184 msgstr ""
185
186 #. type: Plain text
187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
189 msgid "The fields of the I<semid_ds> structure are as follows:"
190 msgstr ""
191
192 #. type: TP
193 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
194 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
195 #, no-wrap
196 msgid "I<sem_perm>"
197 msgstr "I<sem_perm>"
198
199 #. type: Plain text
200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
202 msgid ""
203 "This is an I<ipc_perm> structure (see below) that specifies the access "
204 "permissions on the semaphore set."
205 msgstr ""
206
207 #. type: TP
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 #, no-wrap
211 msgid "I<sem_otime>"
212 msgstr "I<sem_otime>"
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 "Time of last B<semop>(2) system call."
218 msgstr "Hora da última chamada de sistema B<semop>(2)."
219
220 #. type: TP
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 #, no-wrap
224 msgid "I<sem_ctime>"
225 msgstr "I<sem_ctime>"
226
227 #. type: Plain text
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 msgid ""
231 "Time of creation of semaphore set or time of last B<semctl>() B<IPCSET>, "
232 "B<SETVAL>, or B<SETALL> operation."
233 msgstr ""
234
235 #. type: TP
236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
238 #, no-wrap
239 msgid "I<sem_nsems>"
240 msgstr "I<sem_nsems>"
241
242 #. type: Plain text
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 msgid ""
246 "Number of semaphores in the set. Each semaphore of the set is referenced by "
247 "a nonnegative integer ranging from B<0> to I<sem_nsems-1>."
248 msgstr ""
249 "Número de sinais no conjunto. Cada sinal de um conjunto é referenciado por "
250 "um inteiro não negativo desde B<0> até I<sem_nsems-1>."
251
252 #. type: Plain text
253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
255 msgid ""
256 "The I<ipc_perm> structure is defined as follows (the highlighted fields are "
257 "settable using B<IPC_SET>):"
258 msgstr ""
259
260 #. type: Plain text
261 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
262 #: opensuse-tumbleweed
263 #, no-wrap
264 msgid ""
265 "struct ipc_perm {\n"
266 " key_t __key; /* Key supplied to semget(2) */\n"
267 " uid_t \\f[B]uid\\fR; /* Effective UID of owner */\n"
268 " gid_t \\f[B]gid\\fR; /* Effective GID of owner */\n"
269 " uid_t cuid; /* Effective UID of creator */\n"
270 " gid_t cgid; /* Effective GID of creator */\n"
271 " unsigned short \\f[B]mode\\fR; /* Permissions */\n"
272 " unsigned short __seq; /* Sequence number */\n"
273 "};\n"
274 msgstr ""
275
276 #. type: Plain text
277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
278 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
279 msgid ""
280 "The least significant 9 bits of the I<mode> field of the I<ipc_perm> "
281 "structure define the access permissions for the shared memory segment. The "
282 "permission bits are as follows:"
283 msgstr ""
284
285 #. type: tbl table
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 #, no-wrap
289 msgid "0400"
290 msgstr "0400"
291
292 #. type: tbl table
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 #, no-wrap
296 msgid "Read by user"
297 msgstr ""
298
299 #. type: tbl table
300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
302 #, no-wrap
303 msgid "0200"
304 msgstr "0200"
305
306 #. type: tbl table
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 #, no-wrap
310 msgid "Write by user"
311 msgstr ""
312
313 #. type: tbl table
314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
316 #, no-wrap
317 msgid "0040"
318 msgstr "0040"
319
320 #. type: tbl table
321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
323 #, no-wrap
324 msgid "Read by group"
325 msgstr ""
326
327 #. type: tbl table
328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
330 #, no-wrap
331 msgid "0020"
332 msgstr "0020"
333
334 #. type: tbl table
335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
336 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
337 #, no-wrap
338 msgid "Write by group"
339 msgstr ""
340
341 #. type: tbl table
342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
344 #, no-wrap
345 msgid "0004"
346 msgstr "0004"
347
348 #. type: tbl table
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 #, no-wrap
352 msgid "Read by others"
353 msgstr ""
354
355 #. type: tbl table
356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
358 #, no-wrap
359 msgid "0002"
360 msgstr "0002"
361
362 #. type: tbl table
363 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
364 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
365 #, no-wrap
366 msgid "Write by others"
367 msgstr ""
368
369 #. type: Plain text
370 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
371 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
372 msgid ""
373 "In effect, \"write\" means \"alter\" for a semaphore set. Bits 0100, 0010, "
374 "and 0001 (the execute bits) are unused by the system."
375 msgstr ""
376
377 #. type: Plain text
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 #, fuzzy
381 #| msgid "Legal values for I<cmd> are"
382 msgid "Valid values for I<op> are:"
383 msgstr "Valores legais para I<cmd> são"
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_STAT>"
390 msgstr "B<IPC_STAT>"
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 #, fuzzy
396 #| msgid ""
397 #| "Copy info from the semaphore set data structure into the structure "
398 #| "pointed to by I<arg>B<.buf>. The argument I<semnum> is ignored. The "
399 #| "calling process must have read access privileges on the semaphore set."
400 msgid ""
401 "Copy information from the kernel data structure associated with I<semid> "
402 "into the I<semid_ds> structure pointed to by I<arg.buf>. The argument "
403 "I<semnum> is ignored. The calling process must have read permission on the "
404 "semaphore set."
405 msgstr ""
406 "Copia informação da estrutura de dados do conjunto de semáforos para a "
407 "estrutura apontada por I<arg>B<.buf>. O argumento I<semnum> é ignorado. O "
408 "processo solicitante deve ter privilégios para acesso de leitura sobre o "
409 "conjunto de semáforos."
410
411 #. type: TP
412 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
413 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
414 #, no-wrap
415 msgid "B<IPC_SET>"
416 msgstr "B<IPC_SET>"
417
418 #. type: Plain text
419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
421 msgid ""
422 "Write the values of some members of the I<semid_ds> structure pointed to by "
423 "I<arg.buf> to the kernel data structure associated with this semaphore set, "
424 "updating also its I<sem_ctime> member."
425 msgstr ""
426
427 #. type: Plain text
428 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
429 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
430 msgid ""
431 "The following members of the structure are updated: I<sem_perm.uid>, "
432 "I<sem_perm.gid>, and (the least significant 9 bits of) I<sem_perm.mode>."
433 msgstr ""
434
435 #. type: Plain text
436 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
437 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
438 msgid ""
439 "The effective UID of the calling process must match the owner "
440 "(I<sem_perm.uid>) or creator (I<sem_perm.cuid>) of the semaphore set, or "
441 "the caller must be privileged. The argument I<semnum> is ignored."
442 msgstr ""
443
444 #. type: TP
445 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
446 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
447 #, no-wrap
448 msgid "B<IPC_RMID>"
449 msgstr "B<IPC_RMID>"
450
451 #. type: Plain text
452 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
453 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
454 #, fuzzy
455 #| msgid ""
456 #| "Remove immediately the semaphore set and its data structures awakening "
457 #| "all waiting processes (with an error return and B<errno> set to "
458 #| "B<EIDRM>). The calling process effective user-ID must be one among super-"
459 #| "user, creator or owner of the semaphore set. The argument I<semnum> is "
460 #| "ignored."
461 msgid ""
462 "Immediately remove the semaphore set, awakening all processes blocked in "
463 "B<semop>(2) calls on the set (with an error return and I<errno> set to "
464 "B<EIDRM>). The effective user ID of the calling process must match the "
465 "creator or owner of the semaphore set, or the caller must be privileged. "
466 "The argument I<semnum> is ignored."
467 msgstr ""
468 "Remove imediatamente o conjunto de semáforos e suas estruturas de dados "
469 "acordando todos os processos que o esperavam (com um retorno de erro e "
470 "B<errno> definido para B<EIDRM>). O user-ID efetivo do processo chamador "
471 "deve ser um dentre super-usuário, criador ou proprietário do conjunto de "
472 "semáforos. O argumento I<semnum> é ignorado."
473
474 #. type: TP
475 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
476 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
477 #, no-wrap
478 msgid "B<IPC_INFO> (Linux-specific)"
479 msgstr ""
480
481 #. type: Plain text
482 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
483 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
484 msgid ""
485 "Return information about system-wide semaphore limits and parameters in the "
486 "structure pointed to by I<arg.__buf>. This structure is of type I<seminfo>, "
487 "defined in I<E<lt>sys/sem.hE<gt>> if the B<_GNU_SOURCE> feature test macro "
488 "is defined:"
489 msgstr ""
490
491 #. type: Plain text
492 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
493 #: opensuse-tumbleweed
494 #, no-wrap
495 msgid ""
496 "struct seminfo {\n"
497 " int semmap; /* Number of entries in semaphore\n"
498 " map; unused within kernel */\n"
499 " int semmni; /* Maximum number of semaphore sets */\n"
500 " int semmns; /* Maximum number of semaphores in all\n"
501 " semaphore sets */\n"
502 " int semmnu; /* System-wide maximum number of undo\n"
503 " structures; unused within kernel */\n"
504 " int semmsl; /* Maximum number of semaphores in a\n"
505 " set */\n"
506 " int semopm; /* Maximum number of operations for\n"
507 " semop(2) */\n"
508 " int semume; /* Maximum number of undo entries per\n"
509 " process; unused within kernel */\n"
510 " int semusz; /* Size of struct sem_undo */\n"
511 " int semvmx; /* Maximum semaphore value */\n"
512 " int semaem; /* Max.\\& value that can be recorded for\n"
513 " semaphore adjustment (SEM_UNDO) */\n"
514 "};\n"
515 msgstr ""
516
517 #. type: Plain text
518 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
519 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
520 msgid ""
521 "The I<semmsl>, I<semmns>, I<semopm>, and I<semmni> settings can be changed "
522 "via I</proc/sys/kernel/sem>; see B<proc>(5) for details."
523 msgstr ""
524
525 #. type: TP
526 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
527 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
528 #, no-wrap
529 msgid "B<SEM_INFO> (Linux-specific)"
530 msgstr ""
531
532 #. type: Plain text
533 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
534 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
535 msgid ""
536 "Return a I<seminfo> structure containing the same information as for "
537 "B<IPC_INFO>, except that the following fields are returned with information "
538 "about system resources consumed by semaphores: the I<semusz> field returns "
539 "the number of semaphore sets that currently exist on the system; and the "
540 "I<semaem> field returns the total number of semaphores in all semaphore sets "
541 "on the system."
542 msgstr ""
543
544 #. type: TP
545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
547 #, no-wrap
548 msgid "B<SEM_STAT> (Linux-specific)"
549 msgstr ""
550
551 #. type: Plain text
552 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
553 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
554 msgid ""
555 "Return a I<semid_ds> structure as for B<IPC_STAT>. However, the I<semid> "
556 "argument is not a semaphore identifier, but instead an index into the "
557 "kernel's internal array that maintains information about all semaphore sets "
558 "on the system."
559 msgstr ""
560
561 #. type: TP
562 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
563 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
564 #, no-wrap
565 msgid "B<SEM_STAT_ANY> (Linux-specific, since Linux 4.17)"
566 msgstr ""
567
568 #. type: Plain text
569 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
570 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
571 msgid ""
572 "Return a I<semid_ds> structure as for B<SEM_STAT>. However, "
573 "I<sem_perm.mode> is not checked for read access for I<semid> meaning that "
574 "any user can employ this operation (just as any user may read I</proc/"
575 "sysvipc/sem> to obtain the same information)."
576 msgstr ""
577
578 #. type: TP
579 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
580 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
581 #, no-wrap
582 msgid "B<GETALL>"
583 msgstr "B<GETALL>"
584
585 #. type: Plain text
586 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
587 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
588 #, fuzzy
589 #| msgid ""
590 #| "Return B<semval> for all semaphores of the set into I<arg>B<.array>. The "
591 #| "argument I<semnum> is ignored. The calling process must have read access "
592 #| "privileges on the semaphore set."
593 msgid ""
594 "Return B<semval> (i.e., the current value) for all semaphores of the set "
595 "into I<arg.array>. The argument I<semnum> is ignored. The calling process "
596 "must have read permission on the semaphore set."
597 msgstr ""
598 "Retorna B<semval> para todos os semáforos do conjunto em I<arg>B<.array>. O "
599 "argumento I<semnum> é ignorado. O processo chamador deve ter privilégios "
600 "para acesso de leitura sobre o conjunto de semáforos."
601
602 #. type: TP
603 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
604 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
605 #, no-wrap
606 msgid "B<GETNCNT>"
607 msgstr "B<GETNCNT>"
608
609 #. type: Plain text
610 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
611 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
612 #, fuzzy
613 #| msgid ""
614 #| "The system call returns the value of B<semzcnt> for the I<semnum>-th "
615 #| "semaphore of the set (i.e. the number of processes waiting for B<semval> "
616 #| "of the I<semnum>-th semaphore of the set to become 0). The calling "
617 #| "process must have read access privileges on the semaphore set."
618 msgid ""
619 "Return the B<semncnt> value for the I<semnum>-th semaphore of the set (i.e., "
620 "the number of processes waiting for the semaphore's value to increase). The "
621 "calling process must have read permission on the semaphore set."
622 msgstr ""
623 "A chamada de sistema retorna o valor de B<semzcnt> para o I<semnum>-ésimo "
624 "semáforo do conjunto (isto é, o número de processos esperando para que o "
625 "B<semval> do I<semnum>-ésimo semáforo do conjunto torne-se 0). O processo "
626 "chamador deve ter privilégios para acesso de leitura sobre o conjunto de "
627 "semáforos."
628
629 #. type: TP
630 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
631 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
632 #, no-wrap
633 msgid "B<GETPID>"
634 msgstr "B<GETPID>"
635
636 #. type: Plain text
637 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
638 #: opensuse-leap-16-1 opensuse-tumbleweed
639 #, fuzzy
640 #| msgid ""
641 #| "The system call returns the value of B<sempid> for the I<semnum>-th "
642 #| "semaphore of the set (i.e. the pid of the process that executed the last "
643 #| "B<semop> call for the I<semnum>-th semaphore of the set). The calling "
644 #| "process must have read access privileges on the semaphore set."
645 msgid ""
646 "Return the B<sempid> value for the I<semnum>-th semaphore of the set. This "
647 "is the PID of the process that last performed an operation on that semaphore "
648 "(but see VERSIONS). The calling process must have read permission on the "
649 "semaphore set."
650 msgstr ""
651 "A chamada de sistema retorna o valor de B<sempid> para o I<semnum>-ésimo "
652 "semáforo do conjunto (isto é, o pid do processo que executou a última "
653 "chamada B<semop> para o I<semnum>-ésimo semáforo do conjunto). O processo "
654 "chamador deve ter privilégios para acesso de leitura sobre o conjunto de "
655 "semáforos."
656
657 #. type: TP
658 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
659 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
660 #, no-wrap
661 msgid "B<GETVAL>"
662 msgstr "B<GETVAL>"
663
664 #. type: Plain text
665 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
666 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
667 #, fuzzy
668 #| msgid ""
669 #| "The system call returns the value of B<semval> for the I<semnum>-th "
670 #| "semaphore of the set. The calling process must have read access "
671 #| "privileges on the semaphore set."
672 msgid ""
673 "Return B<semval> (i.e., the semaphore value) for the I<semnum>-th semaphore "
674 "of the set. The calling process must have read permission on the semaphore "
675 "set."
676 msgstr ""
677 "A chamada de sistema retorna o valor de B<semval> para o I<semnum>-ésimo "
678 "semáforo do conjunto. O processo chamador deve ter privilégios para acesso "
679 "de leitura sobre o conjunto de semáforos."
680
681 #. type: TP
682 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
683 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
684 #, no-wrap
685 msgid "B<GETZCNT>"
686 msgstr "B<GETZCNT>"
687
688 #. type: Plain text
689 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
690 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
691 #, fuzzy
692 #| msgid ""
693 #| "The system call returns the value of B<semzcnt> for the I<semnum>-th "
694 #| "semaphore of the set (i.e. the number of processes waiting for B<semval> "
695 #| "of the I<semnum>-th semaphore of the set to become 0). The calling "
696 #| "process must have read access privileges on the semaphore set."
697 msgid ""
698 "Return the B<semzcnt> value for the I<semnum>-th semaphore of the set (i.e., "
699 "the number of processes waiting for the semaphore value to become 0). The "
700 "calling process must have read permission on the semaphore set."
701 msgstr ""
702 "A chamada de sistema retorna o valor de B<semzcnt> para o I<semnum>-ésimo "
703 "semáforo do conjunto (isto é, o número de processos esperando para que o "
704 "B<semval> do I<semnum>-ésimo semáforo do conjunto torne-se 0). O processo "
705 "chamador deve ter privilégios para acesso de leitura sobre o conjunto de "
706 "semáforos."
707
708 #. type: TP
709 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
710 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
711 #, no-wrap
712 msgid "B<SETALL>"
713 msgstr "B<SETALL>"
714
715 #. type: Plain text
716 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
717 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
718 #, fuzzy
719 #| msgid ""
720 #| "Set B<semval> for all semaphores of the set using I<arg>B<.array>I<,> "
721 #| "updating also the B<sem_ctime> member of the B<semid_ds> structure "
722 #| "associated to the set. Undo entries are cleared for altered semaphores "
723 #| "in all processes. Processes sleeping on the wait queue are awakened if "
724 #| "some B<semval> becomes 0 or increases. The argument I<semnum> is "
725 #| "ignored. The calling process must have alter access privileges on the "
726 #| "semaphore set."
727 msgid ""
728 "Set the B<semval> values for all semaphores of the set using I<arg.array>, "
729 "updating also the I<sem_ctime> member of the I<semid_ds> structure "
730 "associated with the set. Undo entries (see B<semop>(2)) are cleared for "
731 "altered semaphores in all processes. If the changes to semaphore values "
732 "would permit blocked B<semop>(2) calls in other processes to proceed, then "
733 "those processes are woken up. The argument I<semnum> is ignored. The "
734 "calling process must have alter (write) permission on the semaphore set."
735 msgstr ""
736 "Define B<semval> para todos os semáforos do conjunto utilizando "
737 "I<arg>B<.array>I<,> atualizando também o membro B<sem_ctime> da estrutura "
738 "B<semid_ds> associada ao conjunto. Entradas de desfazer são apagadas para "
739 "semáforos alterados em todos os processos. Processos dormindo na fila de "
740 "espera são acordados se algum B<semval> se torna 0 ou aumenta de valor. O "
741 "argumento I<semnum> é ignorado. O processo chamador deve ter privilégios "
742 "para acesso de alteração sobre o conjunto de semáforos."
743
744 #. type: TP
745 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
746 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
747 #, no-wrap
748 msgid "B<SETVAL>"
749 msgstr "B<SETVAL>"
750
751 #. type: Plain text
752 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
753 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
754 #, fuzzy
755 #| msgid ""
756 #| "Set the value of B<semval> to I<arg>B<.val> for the I<semnum>-th "
757 #| "semaphore of the set, updating also the B<sem_ctime> member of the "
758 #| "B<semid_ds> structure associated to the set. Undo entry is cleared for "
759 #| "altered semaphore in all processes. Processes sleeping on the wait queue "
760 #| "are awakened if B<semval> becomes 0 or increases. The calling process "
761 #| "must have alter access privileges on the semaphore set."
762 msgid ""
763 "Set the semaphore value (B<semval>) to I<arg.val> for the I<semnum>-th "
764 "semaphore of the set, updating also the I<sem_ctime> member of the "
765 "I<semid_ds> structure associated with the set. Undo entries are cleared for "
766 "altered semaphores in all processes. If the changes to semaphore values "
767 "would permit blocked B<semop>(2) calls in other processes to proceed, then "
768 "those processes are woken up. The calling process must have alter "
769 "permission on the semaphore set."
770 msgstr ""
771 "Define o valor de B<semval> para I<arg>B<.val> para o I<semnum>-ésimo "
772 "semáforo do conjunto, atualizando também o membro B<sem_ctime> da estrutura "
773 "B<semid_ds> associada ao conjunto. A entrada de desfazer é apagada para um "
774 "semáforo alterado em todos os processos. Processos dormindo na fila de "
775 "espera são acordados se algum B<semval> se torna 0 ou aumenta de valor. O "
776 "processo chamador deve ter privilégios para acesso de alteração sobre o "
777 "conjunto de semáforos."
778
779 #. type: SH
780 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
781 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
782 #, no-wrap
783 msgid "RETURN VALUE"
784 msgstr "VALOR DE RETORNO"
785
786 #. type: Plain text
787 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
788 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
789 #, fuzzy
790 #| msgid ""
791 #| "Otherwise, the system call returns a nonnegative value depending on "
792 #| "I<cmd> as follows:"
793 msgid ""
794 "On success, B<semctl>() returns a nonnegative value depending on I<op> as "
795 "follows:"
796 msgstr ""
797 "Em outro caso, a chamada de sistema retorna um valor não negativo dependente "
798 "de I<cmd> como segue:"
799
800 #. type: Plain text
801 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
802 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
803 msgid "the value of B<semncnt>."
804 msgstr "o valor de B<semncnt>."
805
806 #. type: Plain text
807 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
808 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
809 msgid "the value of B<sempid>."
810 msgstr "o valor de B<sempid>."
811
812 #. type: Plain text
813 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
814 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
815 msgid "the value of B<semval>."
816 msgstr "o valor de B<semval>."
817
818 #. type: Plain text
819 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
820 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
821 msgid "the value of B<semzcnt>."
822 msgstr "o valor de B<semzcnt>."
823
824 #. type: TP
825 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
826 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
827 #, no-wrap
828 msgid "B<IPC_INFO>"
829 msgstr "B<IPC_INFO>"
830
831 #. type: Plain text
832 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
833 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
834 msgid ""
835 "the index of the highest used entry in the kernel's internal array recording "
836 "information about all semaphore sets. (This information can be used with "
837 "repeated B<SEM_STAT> or B<SEM_STAT_ANY> operations to obtain information "
838 "about all semaphore sets on the system.)"
839 msgstr ""
840
841 #. type: TP
842 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
843 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
844 #, no-wrap
845 msgid "B<SEM_INFO>"
846 msgstr "B<SEM_INFO>"
847
848 #. type: Plain text
849 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
850 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
851 msgid "as for B<IPC_INFO>."
852 msgstr ""
853
854 #. type: TP
855 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
856 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
857 #, no-wrap
858 msgid "B<SEM_STAT>"
859 msgstr "B<SEM_STAT>"
860
861 #. type: Plain text
862 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
863 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
864 msgid "the identifier of the semaphore set whose index was given in I<semid>."
865 msgstr ""
866
867 #. type: TP
868 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
869 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
870 #, no-wrap
871 msgid "B<SEM_STAT_ANY>"
872 msgstr "B<SEM_STAT_ANY>"
873
874 #. type: Plain text
875 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
876 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
877 msgid "as for B<SEM_STAT>."
878 msgstr ""
879
880 #. type: Plain text
881 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
882 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
883 msgid "All other I<op> values return 0 on success."
884 msgstr ""
885
886 #. type: Plain text
887 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
888 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
889 #, fuzzy
890 msgid ""
891 "On failure, B<semctl>() returns -1 and sets I<errno> to indicate the error."
892 msgstr ""
893 "Em caso de falha, a chamada de sistema devolve B<-1> com B<errno> indicando "
894 "o erro."
895
896 #. type: SH
897 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
898 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
899 #, no-wrap
900 msgid "ERRORS"
901 msgstr "ERROS"
902
903 #. type: TP
904 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
905 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
906 #, no-wrap
907 msgid "B<EACCES>"
908 msgstr "B<EACCES>"
909
910 #. type: Plain text
911 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
912 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
913 msgid ""
914 "The argument I<op> has one of the values B<GETALL>, B<GETPID>, B<GETVAL>, "
915 "B<GETNCNT>, B<GETZCNT>, B<IPC_STAT>, B<SEM_STAT>, B<SEM_STAT_ANY>, "
916 "B<SETALL>, or B<SETVAL> and the calling process does not have the required "
917 "permissions on the semaphore set and does not have the B<CAP_IPC_OWNER> "
918 "capability in the user namespace that governs its IPC namespace."
919 msgstr ""
920
921 #. type: TP
922 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
923 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
924 #, no-wrap
925 msgid "B<EFAULT>"
926 msgstr "B<EFAULT>"
927
928 #. type: Plain text
929 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
930 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
931 msgid "The address pointed to by I<arg.buf> or I<arg.array> isn't accessible."
932 msgstr "O endereço apontado por I<arg.buf> ou I<arg.array> não é acessível."
933
934 #. type: TP
935 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
936 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
937 #, no-wrap
938 msgid "B<EIDRM>"
939 msgstr "B<EIDRM>"
940
941 #. type: Plain text
942 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
943 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
944 msgid "The semaphore set was removed."
945 msgstr "O conjunto de semáforos foi removido."
946
947 #. type: TP
948 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
949 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
950 #, no-wrap
951 msgid "B<EINVAL>"
952 msgstr "B<EINVAL>"
953
954 #. type: Plain text
955 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
956 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
957 msgid ""
958 "Invalid value for I<op> or I<semid>. Or: for a B<SEM_STAT> operation, the "
959 "index value specified in I<semid> referred to an array slot that is "
960 "currently unused."
961 msgstr ""
962
963 #. type: TP
964 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
965 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
966 #, no-wrap
967 msgid "B<EPERM>"
968 msgstr "B<EPERM>"
969
970 #. type: Plain text
971 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
972 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
973 msgid ""
974 "The argument I<op> has the value B<IPC_SET> or B<IPC_RMID> but the effective "
975 "user ID of the calling process is not the creator (as found in "
976 "I<sem_perm.cuid>) or the owner (as found in I<sem_perm.uid>) of the "
977 "semaphore set, and the process does not have the B<CAP_SYS_ADMIN> capability."
978 msgstr ""
979
980 #. type: TP
981 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
982 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
983 #, no-wrap
984 msgid "B<ERANGE>"
985 msgstr "B<ERANGE>"
986
987 #. type: Plain text
988 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
989 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
990 #, fuzzy
991 #| msgid ""
992 #| "The argument I<cmd> has value B<SETALL> or B<SETVAL> and the value to "
993 #| "which B<semval> has to be set (for some semaphore of the set) is less "
994 #| "than 0 or greater than the implementation value B<SEMVMX>."
995 msgid ""
996 "The argument I<op> has the value B<SETALL> or B<SETVAL> and the value to "
997 "which B<semval> is to be set (for some semaphore of the set) is less than 0 "
998 "or greater than the implementation limit B<SEMVMX>."
999 msgstr ""
1000 "O argumento I<cmd> tem valor B<SETALL> ou B<SETVAL> e o valor para o qual "
1001 "B<semval> tem de ser definido (para algum semáforo do conjunto) é menor do "
1002 "que 0 ou maior do que o valor da implementação B<SEMVMX>."
1003
1004 #. type: SH
1005 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1006 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1007 #, no-wrap
1008 msgid "VERSIONS"
1009 msgstr "VERSÕES"
1010
1011 #. POSIX.1-2001, POSIX.1-2008
1012 #. type: Plain text
1013 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1014 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1015 msgid ""
1016 "POSIX.1 specifies the I<sem_nsems> field of the I<semid_ds> structure as "
1017 "having the type I<unsigned\\ short>, and the field is so defined on most "
1018 "other systems. It was also so defined on Linux 2.2 and earlier, but, since "
1019 "Linux 2.4, the field has the type I<unsigned\\ long>."
1020 msgstr ""
1021
1022 #. type: SS
1023 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1024 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1025 #, fuzzy, no-wrap
1026 #| msgid "The converted value."
1027 msgid "The sempid value"
1028 msgstr "O valor convertido."
1029
1030 #. type: Plain text
1031 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1032 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1033 msgid ""
1034 "POSIX.1 defines I<sempid> as the \"process ID of [the] last operation\" on a "
1035 "semaphore, and explicitly notes that this value is set by a successful "
1036 "B<semop>(2) call, with the implication that no other interface affects the "
1037 "I<sempid> value."
1038 msgstr ""
1039
1040 #. At least OpenSolaris (and, one supposes, older Solaris) and Darwin
1041 #. type: Plain text
1042 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1043 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1044 msgid ""
1045 "While some implementations conform to the behavior specified in POSIX.1, "
1046 "others do not. (The fault here probably lies with POSIX.1 inasmuch as it "
1047 "likely failed to capture the full range of existing implementation "
1048 "behaviors.) Various other implementations also update I<sempid> for the "
1049 "other operations that update the value of a semaphore: the B<SETVAL> and "
1050 "B<SETALL> operations, as well as the semaphore adjustments performed on "
1051 "process termination as a consequence of the use of the B<SEM_UNDO> flag (see "
1052 "B<semop>(2))."
1053 msgstr ""
1054
1055 #. commit a5f4db877177d2a3d7ae62a7bac3a5a27e083d7f
1056 #. type: Plain text
1057 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1058 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1059 msgid ""
1060 "Linux also updates I<sempid> for B<SETVAL> operations and semaphore "
1061 "adjustments. However, somewhat inconsistently, up to and including Linux "
1062 "4.5, the kernel did not update I<sempid> for B<SETALL> operations. This was "
1063 "rectified in Linux 4.6."
1064 msgstr ""
1065
1066 #. type: SH
1067 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1068 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1069 #, no-wrap
1070 msgid "STANDARDS"
1071 msgstr "PADRÕES"
1072
1073 #. type: Plain text
1074 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1075 #: opensuse-tumbleweed
1076 msgid "POSIX.1-2024."
1077 msgstr "POSIX.1-2024."
1078
1079 #. type: SH
1080 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1081 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1082 #, no-wrap
1083 msgid "HISTORY"
1084 msgstr "HISTÓRICO"
1085
1086 #. SVr4 documents more error conditions EINVAL and EOVERFLOW.
1087 #. type: Plain text
1088 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1089 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1090 msgid "POSIX.1-2001, SVr4."
1091 msgstr "POSIX.1-2001, SVr4."
1092
1093 #. type: Plain text
1094 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1095 #: opensuse-tumbleweed
1096 #, fuzzy
1097 #| msgid ""
1098 #| "Various fields in a I<struct semid_ds> were shorts under Linux 2.2 and "
1099 #| "have become longs under Linux 2.4. To take advantage of this, a "
1100 #| "recompilation under glibc-2.1.91 or later should suffice. (The kernel "
1101 #| "distinguishes old and new calls by a IPC_64 flag in I<cmd>.)"
1102 msgid ""
1103 "Various fields in a I<struct\\ semid_ds> were typed as I<short> under Linux "
1104 "2.2 and have become I<long> under Linux 2.4. To take advantage of this, a "
1105 "recompilation under glibc-2.1.91 or later should suffice. (The kernel "
1106 "distinguishes old and new calls by an B<IPC_64> flag in I<op>.)"
1107 msgstr ""
1108 "Vários campos em uma I<struct semid_ds> eram shorts sob Linux 2.2 e se "
1109 "tornaram longs sob Linux 2.4. Para tirar vantagem disso, uma recompilação "
1110 "sob glibc-2.1.91 ou mais recente deve ser suficiente. (O kernel distingue "
1111 "antigas e novas chamadas por um sinalizador IPC_64 em I<cmd>.)"
1112
1113 #. POSIX.1-2001, POSIX.1-2008
1114 #. type: Plain text
1115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1117 msgid ""
1118 "In some earlier versions of glibc, the I<semun> union was defined in "
1119 "I<E<lt>sys/sem.hE<gt>>, but POSIX.1 requires that the caller define this "
1120 "union. On versions of glibc where this union is I<not> defined, the macro "
1121 "B<_SEM_SEMUN_UNDEFINED> is defined in I<E<lt>sys/sem.hE<gt>>."
1122 msgstr ""
1123
1124 #. type: SH
1125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1127 #, no-wrap
1128 msgid "NOTES"
1129 msgstr "NOTAS"
1130
1131 #. type: Plain text
1132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1134 #, fuzzy
1135 #| msgid ""
1136 #| "The B<IPC_INFO>, B<SEM_STAT> and B<SEM_INFO> control calls are used by "
1137 #| "the B<ipcs>(8) program to provide information on allocated resources. "
1138 #| "In the future these can be modified as needed or moved to a proc file "
1139 #| "system interface."
1140 msgid ""
1141 "The B<IPC_INFO>, B<SEM_STAT>, and B<SEM_INFO> operations are used by the "
1142 "B<ipcs>(1) program to provide information on allocated resources. In the "
1143 "future these may modified or moved to a I</proc> filesystem interface."
1144 msgstr ""
1145 "As chamadas de controle B<IPC_INFO>, B<SEM_STAT> e B<SEM_INFO> são usadas "
1146 "pelo programa B<ipcs>(8) para fornecer informação sobre recursos alocados. "
1147 "No futuro, elas podem ser modificadas como necessário ou movidas para uma "
1148 "interface de sistema de arquivos proc."
1149
1150 #. type: Plain text
1151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1153 msgid ""
1154 "The following system limit on semaphore sets affects a B<semctl>() call:"
1155 msgstr ""
1156 "O seguinte limite de sistema sobre conjuntos de semáforos afeta uma chamada "
1157 "B<semctl>():"
1158
1159 #. type: TP
1160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1162 #, no-wrap
1163 msgid "B<SEMVMX>"
1164 msgstr "B<SEMVMX>"
1165
1166 #. type: Plain text
1167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1169 msgid "Maximum value for B<semval>: implementation dependent (32767)."
1170 msgstr "Valor máximo para B<semval>: dependente de implementação (32767)."
1171
1172 #. type: Plain text
1173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1175 msgid ""
1176 "For greater portability, it is best to always call B<semctl>() with four "
1177 "arguments."
1178 msgstr ""
1179
1180 #. type: SH
1181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1183 #, no-wrap
1184 msgid "EXAMPLES"
1185 msgstr "EXEMPLOS"
1186
1187 #. type: Plain text
1188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1190 msgid "See B<shmop>(2)."
1191 msgstr ""
1192
1193 #. type: SH
1194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1196 #, no-wrap
1197 msgid "SEE ALSO"
1198 msgstr "VEJA TAMBÉM"
1199
1200 #. type: Plain text
1201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1203 msgid ""
1204 "B<ipc>(2), B<semget>(2), B<semop>(2), B<capabilities>(7), "
1205 "B<sem_overview>(7), B<sysvipc>(7)"
1206 msgstr ""
1207 "B<ipc>(2), B<semget>(2), B<semop>(2), B<capabilities>(7), "
1208 "B<sem_overview>(7), B<sysvipc>(7)"
1209
1210 #. type: TH
1211 #: debian-trixie
1212 #, no-wrap
1213 msgid "2024-05-02"
1214 msgstr "2 maio 2024"
1215
1216 #. type: TH
1217 #: debian-trixie
1218 #, no-wrap
1219 msgid "Linux man-pages 6.9.1"
1220 msgstr "Linux man-pages 6.9.1"
1221
1222 #. type: Plain text
1223 #: debian-trixie
1224 msgid "Standard C library (I<libc>, I<-lc>)"
1225 msgstr "Biblioteca C Padrão (I<libc>, I<-lc>)"
1226
1227 #. type: Plain text
1228 #: debian-trixie fedora-44 fedora-rawhide
1229 #, no-wrap
1230 msgid ""
1231 "struct semid_ds {\n"
1232 " struct ipc_perm sem_perm; /* Ownership and permissions */\n"
1233 " time_t sem_otime; /* Last semop time */\n"
1234 " time_t sem_ctime; /* Creation time/time of last\n"
1235 " modification via semctl() */\n"
1236 " unsigned long sem_nsems; /* No. of semaphores in set */\n"
1237 "};\n"
1238 msgstr ""
1239
1240 #. type: Plain text
1241 #: debian-trixie fedora-44 fedora-rawhide
1242 #, no-wrap
1243 msgid ""
1244 "struct ipc_perm {\n"
1245 " key_t __key; /* Key supplied to semget(2) */\n"
1246 " uid_t B<uid>; /* Effective UID of owner */\n"
1247 " gid_t B<gid>; /* Effective GID of owner */\n"
1248 " uid_t cuid; /* Effective UID of creator */\n"
1249 " gid_t cgid; /* Effective GID of creator */\n"
1250 " unsigned short B<mode>; /* Permissions */\n"
1251 " unsigned short __seq; /* Sequence number */\n"
1252 "};\n"
1253 msgstr ""
1254
1255 #. type: Plain text
1256 #: debian-trixie fedora-44 fedora-rawhide
1257 #, no-wrap
1258 msgid ""
1259 "struct seminfo {\n"
1260 " int semmap; /* Number of entries in semaphore\n"
1261 " map; unused within kernel */\n"
1262 " int semmni; /* Maximum number of semaphore sets */\n"
1263 " int semmns; /* Maximum number of semaphores in all\n"
1264 " semaphore sets */\n"
1265 " int semmnu; /* System-wide maximum number of undo\n"
1266 " structures; unused within kernel */\n"
1267 " int semmsl; /* Maximum number of semaphores in a\n"
1268 " set */\n"
1269 " int semopm; /* Maximum number of operations for\n"
1270 " semop(2) */\n"
1271 " int semume; /* Maximum number of undo entries per\n"
1272 " process; unused within kernel */\n"
1273 " int semusz; /* Size of struct sem_undo */\n"
1274 " int semvmx; /* Maximum semaphore value */\n"
1275 " int semaem; /* Max. value that can be recorded for\n"
1276 " semaphore adjustment (SEM_UNDO) */\n"
1277 "};\n"
1278 msgstr ""
1279
1280 #. type: Plain text
1281 #: debian-trixie
1282 #, fuzzy
1283 #| msgid ""
1284 #| "The system call returns the value of B<sempid> for the I<semnum>-th "
1285 #| "semaphore of the set (i.e. the pid of the process that executed the last "
1286 #| "B<semop> call for the I<semnum>-th semaphore of the set). The calling "
1287 #| "process must have read access privileges on the semaphore set."
1288 msgid ""
1289 "Return the B<sempid> value for the I<semnum>-th semaphore of the set. This "
1290 "is the PID of the process that last performed an operation on that semaphore "
1291 "(but see NOTES). The calling process must have read permission on the "
1292 "semaphore set."
1293 msgstr ""
1294 "A chamada de sistema retorna o valor de B<sempid> para o I<semnum>-ésimo "
1295 "semáforo do conjunto (isto é, o pid do processo que executou a última "
1296 "chamada B<semop> para o I<semnum>-ésimo semáforo do conjunto). O processo "
1297 "chamador deve ter privilégios para acesso de leitura sobre o conjunto de "
1298 "semáforos."
1299
1300 #. type: Plain text
1301 #: debian-trixie fedora-44 fedora-rawhide
1302 msgid "POSIX.1-2008."
1303 msgstr "POSIX.1-2008."
1304
1305 #. type: Plain text
1306 #: debian-trixie fedora-44 fedora-rawhide
1307 #, fuzzy
1308 #| msgid ""
1309 #| "Various fields in a I<struct semid_ds> were shorts under Linux 2.2 and "
1310 #| "have become longs under Linux 2.4. To take advantage of this, a "
1311 #| "recompilation under glibc-2.1.91 or later should suffice. (The kernel "
1312 #| "distinguishes old and new calls by a IPC_64 flag in I<cmd>.)"
1313 msgid ""
1314 "Various fields in a I<struct semid_ds> were typed as I<short> under Linux "
1315 "2.2 and have become I<long> under Linux 2.4. To take advantage of this, a "
1316 "recompilation under glibc-2.1.91 or later should suffice. (The kernel "
1317 "distinguishes old and new calls by an B<IPC_64> flag in I<op>.)"
1318 msgstr ""
1319 "Vários campos em uma I<struct semid_ds> eram shorts sob Linux 2.2 e se "
1320 "tornaram longs sob Linux 2.4. Para tirar vantagem disso, uma recompilação "
1321 "sob glibc-2.1.91 ou mais recente deve ser suficiente. (O kernel distingue "
1322 "antigas e novas chamadas por um sinalizador IPC_64 em I<cmd>.)"
1323
1324 #. type: TH
1325 #: fedora-44 fedora-rawhide
1326 #, no-wrap
1327 msgid "2024-07-23"
1328 msgstr "23 julho 2024"
1329
1330 #. type: TH
1331 #: fedora-44 fedora-rawhide
1332 #, no-wrap
1333 msgid "Linux man-pages 6.13"
1334 msgstr "Linux man-pages 6.13"
1335
1336 #. type: TH
1337 #: mageia-cauldron
1338 #, no-wrap
1339 msgid "Linux man-pages 6.17"
1340 msgstr "Linux man-pages 6.17"
1341
1342 #. type: TH
1343 #: opensuse-leap-16-1 opensuse-tumbleweed
1344 #, no-wrap
1345 msgid "Linux man-pages (unreleased)"
1346 msgstr "Linux man-pages (não lançado)"