Debian Codegraph @

po/pt_BR/man2/semop.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 "semop"
26 msgstr "semop"
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 "semop - semaphore operations"
54 msgid "semop, semtimedop - System V semaphore operations"
55 msgstr "semop - operações 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 ""
89 #| "B<int semtimedop(int >I<semid>B<, struct sembuf *>I<sops>B<, size_t >I<nsops>B<,>\n"
90 #| "B< const struct timespec *>I<timeout>B<);>\n"
91 msgid ""
92 "B<int semop(int >I<semid>B<, struct sembuf *>I<sops>B<, size_t >I<nsops>B<);>\n"
93 "B<int semtimedop(int >I<semid>B<, struct sembuf *>I<sops>B<, size_t >I<nsops>B<,>\n"
94 "B< const struct timespec *_Nullable >I<timeout>B<);>\n"
95 msgstr ""
96 "B<int semtimedop(int >I<semid>B<, struct sembuf *>I<sops>B<, size_t >I<nsops>B<,>\n"
97 "B< const struct timespec *>I<timeout>B<);>\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 msgid ""
103 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
104 msgstr ""
105 "Requisitos de macro de teste de recursos para o glibc (consulte "
106 "B<feature_test_macros>(7)):"
107
108 #. type: Plain text
109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
111 #, fuzzy
112 #| msgid "semtimedop()"
113 msgid "B<semtimedop>():"
114 msgstr "semtimedop()"
115
116 #. type: Plain text
117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
119 #, no-wrap
120 msgid " _GNU_SOURCE\n"
121 msgstr " _GNU_SOURCE\n"
122
123 #. type: SH
124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
126 #, no-wrap
127 msgid "DESCRIPTION"
128 msgstr "DESCRIÇÃO"
129
130 #. type: Plain text
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
133 msgid ""
134 "Each semaphore in a System\\ V semaphore set has the following associated "
135 "values:"
136 msgstr ""
137
138 #. type: Plain text
139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
141 #, no-wrap
142 msgid ""
143 "unsigned short semval; /* semaphore value */\n"
144 "unsigned short semzcnt; /* # waiting for zero */\n"
145 "unsigned short semncnt; /* # waiting for increase */\n"
146 "pid_t sempid; /* PID of process that last\n"
147 " modified the semaphore value */\n"
148 msgstr ""
149
150 #. type: Plain text
151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
153 #, fuzzy
154 #| msgid ""
155 #| "The function performs operations on selected members of the semaphore set "
156 #| "indicated by I<semid>. Each of the I<nsops> elements in the array "
157 #| "pointed to by I<sops> specify an operation to be performed on a semaphore "
158 #| "by a B<struct sembuf> including the following members:"
159 msgid ""
160 "B<semop>() performs operations on selected semaphores in the set indicated "
161 "by I<semid>. Each of the I<nsops> elements in the array pointed to by "
162 "I<sops> is a structure that specifies an operation to be performed on a "
163 "single semaphore. The elements of this structure are of type I<struct "
164 "sembuf>, containing the following members:"
165 msgstr ""
166 "A função realiza operações no membros selecionados do conjunto de semáforos "
167 "indicado por I<semid>. Cada um dos I<nsops> elementos no vetor apontado por "
168 "I<sops> especifica uma operação a ser realizada sobre um semáforo por uma "
169 "B<struct sembuf> incluindo os seguintes membros:"
170
171 #. type: Plain text
172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
174 #, no-wrap
175 msgid ""
176 "unsigned short sem_num; /* semaphore number */\n"
177 "short sem_op; /* semaphore operation */\n"
178 "short sem_flg; /* operation flags */\n"
179 msgstr ""
180
181 #. type: Plain text
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 #, fuzzy
185 #| msgid ""
186 #| "Flags recognized in B<sem_flg> are B<IPC_NOWAIT> and B<SEM_UNDO>. If an "
187 #| "operation asserts B<SEM_UNDO>, it will be undone when the process exits."
188 msgid ""
189 "Flags recognized in I<sem_flg> are B<IPC_NOWAIT> and B<SEM_UNDO>. If an "
190 "operation specifies B<SEM_UNDO>, it will be automatically undone when the "
191 "process terminates."
192 msgstr ""
193 "Sinalizadores reconhecidos em B<sem_flg> são B<IPC_NOWAIT> e B<SEM_UNDO>. Se "
194 "uma operação contém B<SEM_UNDO>, ela será desfeita quando o processo "
195 "encerrar."
196
197 #. type: Plain text
198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
200 msgid ""
201 "The set of operations contained in I<sops> is performed in I<array order>, "
202 "and I<atomically>, that is, the operations are performed either as a "
203 "complete unit, or not at all. The behavior of the system call if not all "
204 "operations can be performed immediately depends on the presence of the "
205 "B<IPC_NOWAIT> flag in the individual I<sem_flg> fields, as noted below."
206 msgstr ""
207
208 #. type: Plain text
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 msgid ""
212 "Each operation is performed on the I<sem_num>-th semaphore of the semaphore "
213 "set, where the first semaphore of the set is numbered 0. There are three "
214 "types of operation, distinguished by the value of I<sem_op>."
215 msgstr ""
216
217 #. type: Plain text
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 #, fuzzy
221 #| msgid ""
222 #| "If B<sem_op> is a positive integer, the operation adds this value to "
223 #| "B<semval>. Furthermore, if B<SEM_UNDO> is asserted for this operation, "
224 #| "the system updates the process undo count for this semaphore. The "
225 #| "operation always goes through, so no process sleeping can happen. The "
226 #| "calling process must have alter permissions on the semaphore set."
227 msgid ""
228 "If I<sem_op> is a positive integer, the operation adds this value to the "
229 "semaphore value (I<semval>). Furthermore, if B<SEM_UNDO> is specified for "
230 "this operation, the system subtracts the value I<sem_op> from the semaphore "
231 "adjustment (I<semadj>) value for this semaphore. This operation can always "
232 "proceed\\[em]it never forces a thread to wait. The calling process must "
233 "have alter permission on the semaphore set."
234 msgstr ""
235 "Se B<sem_op> for um inteiro positivo, a operação soma esse valor a "
236 "B<semval>. Além disso, se B<SEM_UNDO> está declarado para esta operação, o "
237 "sistema atualiza a contagem de desfazer do processo para este semáforo. A "
238 "operação sempre vai em frente, portanto não pode ocorrer bloqueio do "
239 "processo. O processo chamador deve possuir permissões para alteração sobre o "
240 "conjunto de semáforos."
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 #, fuzzy
246 #| msgid ""
247 #| "If B<sem_op> is zero, the process must have read access permissions on "
248 #| "the semaphore set. If B<semval> is zero, the operation goes through. "
249 #| "Otherwise, if B<IPC_NOWAIT> is asserted in B<sem_flg>, the system call "
250 #| "fails (undoing all previous actions performed) with B<errno> set to "
251 #| "B<EAGAIN>. Otherwise B<semzcnt> is incremented by one and the process "
252 #| "sleeps until one of the following occurs:"
253 msgid ""
254 "If I<sem_op> is zero, the process must have read permission on the semaphore "
255 "set. This is a \"wait-for-zero\" operation: if I<semval> is zero, the "
256 "operation can immediately proceed. Otherwise, if B<IPC_NOWAIT> is specified "
257 "in I<sem_flg>, B<semop>() fails with I<errno> set to B<EAGAIN> (and none of "
258 "the operations in I<sops> is performed). Otherwise, I<semzcnt> (the count "
259 "of threads waiting until this semaphore's value becomes zero) is "
260 "incremented by one and the thread sleeps until one of the following occurs:"
261 msgstr ""
262 "Se B<sem_op> for zero, o processo deve possuir permissões de acesso para "
263 "leitura sobre o conjunto de semáforos. Se B<semval> for zero, a operação "
264 "segue adiante. Caso contrário, se B<IPC_NOWAIT> estiver contido em "
265 "B<sem_flg>, a chamada de sistema falha (desfazendo todas as ações "
266 "previamente realizadas) com B<errno> definido para B<EAGAIN>. Caso "
267 "contrário, B<semzcnt> é incrementado de um e o processo dorme até que um dos "
268 "seguintes ocorra:"
269
270 #. type: IP
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 #, no-wrap
274 msgid "\\[bu]"
275 msgstr "\\[bu]"
276
277 #. type: Plain text
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 msgid ""
281 "I<semval> becomes 0, at which time the value of I<semzcnt> is decremented."
282 msgstr ""
283 "I<semval> torna-se 0, momento no qual o valor de I<semzcnt> é decrementado."
284
285 #. type: Plain text
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 msgid ""
289 "The semaphore set is removed: B<semop>() fails, with I<errno> set to "
290 "B<EIDRM>."
291 msgstr ""
292 "O conjunto de semáforos é removido: B<semop>() falha com I<errno> definido "
293 "para B<EIDRM>."
294
295 #. type: Plain text
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 #, fuzzy
299 #| msgid ""
300 #| "The calling process receives a signal that has to be caught: the value of "
301 #| "B<semzcnt> is decremented and the system call fails with B<errno> set to "
302 #| "B<EINTR>."
303 msgid ""
304 "The calling thread catches a signal: the value of I<semzcnt> is decremented "
305 "and B<semop>() fails, with I<errno> set to B<EINTR>."
306 msgstr ""
307 "O processo chamador recebe um sinal que tem de ser tratado: o valor de "
308 "B<semzcnt> é decrementado e a chamada de sistema falha com B<errno> definido "
309 "para B<EINTR>."
310
311 #. type: Plain text
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 #, fuzzy
315 #| msgid ""
316 #| "If B<sem_op> is less than zero, the process must have alter permissions "
317 #| "on the semaphore set. If B<semval> is greater than or equal to the "
318 #| "absolute value of B<sem_op>, the absolute value of B<sem_op> is "
319 #| "subtracted by B<semval>. Furthermore, if B<SEM_UNDO> is asserted for "
320 #| "this operation, the system updates the process undo count for this "
321 #| "semaphore. Then the operation goes through. Otherwise, if B<IPC_NOWAIT> "
322 #| "is asserted in B<sem_flg>, the system call fails (undoing all previous "
323 #| "actions performed) with B<errno> set to B<EAGAIN>. Otherwise B<semncnt> "
324 #| "is incremented by one and the process sleeps until one of the following "
325 #| "occurs:"
326 msgid ""
327 "If I<sem_op> is less than zero, the process must have alter permission on "
328 "the semaphore set. If I<semval> is greater than or equal to the absolute "
329 "value of I<sem_op>, the operation can proceed immediately: the absolute "
330 "value of I<sem_op> is subtracted from I<semval>, and, if B<SEM_UNDO> is "
331 "specified for this operation, the system adds the absolute value of "
332 "I<sem_op> to the semaphore adjustment (I<semadj>) value for this "
333 "semaphore. If the absolute value of I<sem_op> is greater than I<semval>, "
334 "and B<IPC_NOWAIT> is specified in I<sem_flg>, B<semop>() fails, with "
335 "I<errno> set to B<EAGAIN> (and none of the operations in I<sops> is "
336 "performed). Otherwise, I<semncnt> (the counter of threads waiting for this "
337 "semaphore's value to increase) is incremented by one and the thread sleeps "
338 "until one of the following occurs:"
339 msgstr ""
340 "Se B<sem_op> for menor que zero, o processo deve possuir permissões para "
341 "alteração sobre o conjunto de semáforos. Se B<semval> for maior ou igual ao "
342 "valor absoluto de B<sem_op>, o valor absoluto de B<sem_op> é subtraído em "
343 "B<semval>. Além disso, se B<SEM_UNDO> estiver declarado para esta operação, "
344 "o sistema atualiza a contagem de desfazer do processo para este semáforo. "
345 "Então a operação segue. Caso contrário, se B<IPC_NOWAIT> está contido em "
346 "B<sem_flg>, a chamada de sistema falha (desfazendo todas as ações "
347 "previamente realizadas) com B<errno> definido para B<EAGAIN>. Caso "
348 "contrário, B<semncnt> é incrementado de um e o processo dorme até que um dos "
349 "seguintes ocorra:"
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 msgid ""
355 "I<semval> becomes greater than or equal to the absolute value of I<sem_op>: "
356 "the operation now proceeds, as described above."
357 msgstr ""
358
359 #. type: Plain text
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 msgid ""
363 "The semaphore set is removed from the system: B<semop>() fails, with "
364 "I<errno> set to B<EIDRM>."
365 msgstr ""
366 "O conjunto de semáforos é removido do sistema: B<semop>() falha com I<errno> "
367 "definido para B<EIDRM>."
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 #, fuzzy
373 #| msgid ""
374 #| "The calling process receives a signal that has to be caught: the value of "
375 #| "B<semncnt> is decremented and the system call fails with B<errno> set to "
376 #| "B<EINTR>."
377 msgid ""
378 "The calling thread catches a signal: the value of I<semncnt> is decremented "
379 "and B<semop>() fails, with I<errno> set to B<EINTR>."
380 msgstr ""
381 "O processo chamador recebe um sinal que tem de ser tratado: o valor de "
382 "B<semncnt> é decrementado e a chamada de sistema falha com B<errno> definido "
383 "para B<EINTR>."
384
385 #. and
386 #. .I sem_ctime
387 #. type: Plain text
388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
390 #, fuzzy
391 #| msgid ""
392 #| "In case of success, the B<sempid> member of the structure B<sem> for each "
393 #| "semaphore specified in the array pointed to by I<sops> is set to the "
394 #| "process-ID of the calling process. Furthermore both B<sem_otime> and "
395 #| "B<sem_ctime> are set to the current time."
396 msgid ""
397 "On successful completion, the I<sempid> value for each semaphore specified "
398 "in the array pointed to by I<sops> is set to the caller's process ID. In "
399 "addition, the I<sem_otime> is set to the current time."
400 msgstr ""
401 "Em caso de sucesso, o membro B<sempid> da estrutura B<sem> para cada "
402 "semáforo especificado no vetor apontado por I<sops> é definido para o "
403 "identificador de processo do processo chamador. Além disso, ambos "
404 "B<sem_otime> e B<sem_ctime> são definidos para a hora corrente."
405
406 #. type: SS
407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
409 #, no-wrap
410 msgid "semtimedop()"
411 msgstr "semtimedop()"
412
413 #. type: Plain text
414 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
415 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
416 msgid ""
417 "B<semtimedop>() behaves identically to B<semop>() except that in those "
418 "cases where the calling thread would sleep, the duration of that sleep is "
419 "limited by the amount of elapsed time specified by the I<timespec> structure "
420 "whose address is passed in the I<timeout> argument. (This sleep interval "
421 "will be rounded up to the system clock granularity, and kernel scheduling "
422 "delays mean that the interval may overrun by a small amount.) If the "
423 "specified time limit has been reached, B<semtimedop>() fails with I<errno> "
424 "set to B<EAGAIN> (and none of the operations in I<sops> is performed). If "
425 "the I<timeout> argument is NULL, then B<semtimedop>() behaves exactly like "
426 "B<semop>()."
427 msgstr ""
428
429 #. type: Plain text
430 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
431 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
432 msgid ""
433 "Note that if B<semtimedop>() is interrupted by a signal, causing the call "
434 "to fail with the error B<EINTR>, the contents of I<timeout> are left "
435 "unchanged."
436 msgstr ""
437
438 #. type: SH
439 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
440 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
441 #, no-wrap
442 msgid "RETURN VALUE"
443 msgstr "VALOR DE RETORNO"
444
445 #. type: Plain text
446 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
447 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
448 #, fuzzy
449 #| msgid ""
450 #| "If successful the system call returns B<0>, otherwise it returns B<-1> "
451 #| "with B<errno> indicating the error."
452 msgid ""
453 "On success, B<semop>() and B<semtimedop>() return 0. On failure, they "
454 "return -1, and set I<errno> to indicate the error."
455 msgstr ""
456 "Em caso de sucesso, devolve B<0>, caso contrário, B<-1> é devolvido e "
457 "B<errno> é selecionando adequadamente."
458
459 #. type: SH
460 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
461 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
462 #, no-wrap
463 msgid "ERRORS"
464 msgstr "ERROS"
465
466 #. type: TP
467 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
468 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
469 #, no-wrap
470 msgid "B<E2BIG>"
471 msgstr "B<E2BIG>"
472
473 #. type: Plain text
474 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
475 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
476 msgid ""
477 "The argument I<nsops> is greater than B<SEMOPM>, the maximum number of "
478 "operations allowed per system call."
479 msgstr ""
480 "O argumento I<nsops> é maior que B<SEMOPM>, o número máximo de operações "
481 "permitidas por chamada de sistema."
482
483 #. type: TP
484 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
485 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
486 #, no-wrap
487 msgid "B<EACCES>"
488 msgstr "B<EACCES>"
489
490 #. type: Plain text
491 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
492 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
493 msgid ""
494 "The calling process does not have the permissions required to perform the "
495 "specified semaphore operations, and does not have the B<CAP_IPC_OWNER> "
496 "capability in the user namespace that governs its IPC namespace."
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<EAGAIN>"
504 msgstr "B<EAGAIN>"
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 "An operation could not proceed immediately and either B<IPC_NOWAIT> was "
511 "specified in I<sem_flg> or the time limit specified in I<timeout> expired."
512 msgstr ""
513
514 #. type: TP
515 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
516 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
517 #, no-wrap
518 msgid "B<EFAULT>"
519 msgstr "B<EFAULT>"
520
521 #. type: Plain text
522 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
523 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
524 #, fuzzy
525 #| msgid "The address pointed to by I<sops> isn't accessible."
526 msgid ""
527 "An address specified in either the I<sops> or the I<timeout> argument isn't "
528 "accessible."
529 msgstr "O endereço apontado por I<sops> não é acessível."
530
531 #. type: TP
532 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
533 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
534 #, no-wrap
535 msgid "B<EFBIG>"
536 msgstr "B<EFBIG>"
537
538 #. type: Plain text
539 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
540 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
541 msgid ""
542 "For some operation the value of I<sem_num> is less than 0 or greater than or "
543 "equal to the number of semaphores in the set."
544 msgstr ""
545 "Para alguma operação, o valor de I<sem_num> é menor que 0 ou maior que ou "
546 "igual ao número de semáforos no conjunto."
547
548 #. type: TP
549 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
550 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
551 #, no-wrap
552 msgid "B<EIDRM>"
553 msgstr "B<EIDRM>"
554
555 #. type: Plain text
556 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
557 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
558 msgid "The semaphore set was removed."
559 msgstr "O conjunto de semáforos foi removido."
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<EINTR>"
566 msgstr "B<EINTR>"
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 "While blocked in this system call, the thread caught a signal; see "
573 "B<signal>(7)."
574 msgstr ""
575
576 #. type: TP
577 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
578 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
579 #, no-wrap
580 msgid "B<EINVAL>"
581 msgstr "B<EINVAL>"
582
583 #. type: Plain text
584 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
585 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
586 msgid ""
587 "The semaphore set doesn't exist, or I<semid> is less than zero, or I<nsops> "
588 "has a nonpositive value."
589 msgstr ""
590 "O conjunto de semáforos não existe, ou I<semid> é menor que zero, ou "
591 "I<nsops> tem um valor não positivo."
592
593 #. type: TP
594 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
595 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
596 #, no-wrap
597 msgid "B<ENOMEM>"
598 msgstr "B<ENOMEM>"
599
600 #. type: Plain text
601 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
602 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
603 #, fuzzy
604 #| msgid ""
605 #| "The B<sem_flg> of some operation asserted B<SEM_UNDO> and the system has "
606 #| "not enough memory to allocate the undo structure."
607 msgid ""
608 "The I<sem_flg> of some operation specified B<SEM_UNDO> and the system does "
609 "not have enough memory to allocate the undo structure."
610 msgstr ""
611 "A B<sem_flg> de alguma operação declarou B<SEM_UNDO> e o sistema não possui "
612 "memória suficiente para alocar a estrutura de desfazer."
613
614 #. type: TP
615 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
616 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
617 #, no-wrap
618 msgid "B<ERANGE>"
619 msgstr "B<ERANGE>"
620
621 #. type: Plain text
622 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
623 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
624 msgid ""
625 "For some operation I<sem_op+semval> is greater than B<SEMVMX>, the "
626 "implementation dependent maximum value for I<semval>."
627 msgstr ""
628 "Para alguma operação, I<semop+semval> é maior que B<SEMVMX>, o valor máximo "
629 "dependente de implementação para I<semval>."
630
631 #. type: SH
632 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
633 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
634 #, no-wrap
635 msgid "STANDARDS"
636 msgstr "PADRÕES"
637
638 #. type: Plain text
639 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
640 #: opensuse-tumbleweed
641 msgid "POSIX.1-2024."
642 msgstr "POSIX.1-2024."
643
644 #. type: SH
645 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
646 #: opensuse-tumbleweed
647 #, no-wrap
648 msgid "HISTORY"
649 msgstr "HISTÓRICO"
650
651 #. type: TP
652 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
653 #: opensuse-tumbleweed
654 #, fuzzy, no-wrap
655 #| msgid "B<semop>(2)"
656 msgid "B<semop>()"
657 msgstr "B<semop>(2)"
658
659 #. type: Plain text
660 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
661 #: opensuse-tumbleweed
662 msgid "SVr4, POSIX.1-2001."
663 msgstr "SVr4, POSIX.1-2001."
664
665 #. type: TP
666 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
667 #: opensuse-tumbleweed
668 #, fuzzy, no-wrap
669 #| msgid "semtimedop()"
670 msgid "B<semtimedop>()"
671 msgstr "semtimedop()"
672
673 #. SVr4 documents additional error conditions EINVAL, EFBIG, ENOSPC.
674 #. type: Plain text
675 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
676 #: opensuse-tumbleweed
677 msgid "SVr4, Linux 2.5.52 (backported into Linux 2.4.22), glibc 2.3.3."
678 msgstr ""
679
680 #. type: SH
681 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
682 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
683 #, no-wrap
684 msgid "NOTES"
685 msgstr "NOTAS"
686
687 #. type: Plain text
688 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
689 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
690 #, fuzzy
691 #| msgid ""
692 #| "The B<sem_undo> structures of a process aren't inherited by its child on "
693 #| "execution of a B<fork>(2) system call. They are instead inherited by "
694 #| "the substituting process resulting by the execution of the B<execve>(2) "
695 #| "system call."
696 msgid ""
697 "The I<sem_undo> structures of a process aren't inherited by the child "
698 "produced by B<fork>(2), but they are inherited across an B<execve>(2) "
699 "system call."
700 msgstr ""
701 "As estruturas B<sem_undo> de um processo não são herdadas por seus filhos na "
702 "execução de uma chamada de sistema B<fork>(2)>. Por outro lado, elas são "
703 "herdadas pelo processo substituidor resultante da execução da chamada de "
704 "sistema B<execve>(2)."
705
706 #. type: Plain text
707 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
708 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
709 msgid ""
710 "B<semop>() is never automatically restarted after being interrupted by a "
711 "signal handler, regardless of the setting of the B<SA_RESTART> flag when "
712 "establishing a signal handler."
713 msgstr ""
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 msgid ""
719 "A semaphore adjustment (I<semadj>) value is a per-process, per-semaphore "
720 "integer that is the negated sum of all operations performed on a semaphore "
721 "specifying the B<SEM_UNDO> flag. Each process has a list of I<semadj> "
722 "values\\[em]one value for each semaphore on which it has operated using "
723 "B<SEM_UNDO>. When a process terminates, each of its per-semaphore I<semadj> "
724 "values is added to the corresponding semaphore, thus undoing the effect of "
725 "that process's operations on the semaphore (but see BUGS below). When a "
726 "semaphore's value is directly set using the B<SETVAL> or B<SETALL> request "
727 "to B<semctl>(2), the corresponding I<semadj> values in all processes are "
728 "cleared. The B<clone>(2) B<CLONE_SYSVSEM> flag allows more than one "
729 "process to share a I<semadj> list; see B<clone>(2) for details."
730 msgstr ""
731
732 #. type: Plain text
733 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
734 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
735 msgid ""
736 "The I<semval>, I<sempid>, I<semzcnt>, and I<semnct> values for a semaphore "
737 "can all be retrieved using appropriate B<semctl>(2) calls."
738 msgstr ""
739
740 #. type: SS
741 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
742 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
743 #, no-wrap
744 msgid "Semaphore limits"
745 msgstr ""
746
747 #. type: Plain text
748 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
749 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
750 #, fuzzy
751 #| msgid ""
752 #| "The followings are limits on semaphore set resources affecting a B<semop> "
753 #| "call:"
754 msgid ""
755 "The following limits on semaphore set resources affect the B<semop>() call:"
756 msgstr ""
757 "Os seguintes são os limites sobre semáforos que afetam uma chamada B<semop>:"
758
759 #. type: TP
760 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
761 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
762 #, no-wrap
763 msgid "B<SEMOPM>"
764 msgstr "B<SEMOPM>"
765
766 #. commit e843e7d2c88b7db107a86bd2c7145dc715c058f4
767 #. This /proc file is not available in Linux 2.2 and earlier -- MTK
768 #. See comment in Linux 3.19 source file include/uapi/linux/sem.h
769 #. type: Plain text
770 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
771 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
772 msgid ""
773 "Maximum number of operations allowed for one B<semop>() call. Before Linux "
774 "3.19, the default value for this limit was 32. Since Linux 3.19, the "
775 "default value is 500. On Linux, this limit can be read and modified via the "
776 "third field of I</proc/sys/kernel/sem>. I<Note>: this limit should not be "
777 "raised above 1000, because of the risk of that B<semop>() fails due to "
778 "kernel memory fragmentation when allocating memory to copy the I<sops> array."
779 msgstr ""
780
781 #. type: TP
782 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
783 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
784 #, no-wrap
785 msgid "B<SEMVMX>"
786 msgstr "B<SEMVMX>"
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 ""
792 "Maximum allowable value for I<semval>: implementation dependent (32767)."
793 msgstr ""
794 "Valor máximo permitido para I<semval>: dependente de implementação (32767)."
795
796 #. type: Plain text
797 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
798 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
799 msgid ""
800 "The implementation has no intrinsic limits for the adjust on exit maximum "
801 "value (B<SEMAEM>), the system wide maximum number of undo structures "
802 "(B<SEMMNU>) and the per-process maximum number of undo entries system "
803 "parameters."
804 msgstr ""
805 "A implementação não possui limites intrínsecos para o ajuste sobre o valor "
806 "máximo de saída (B<SEMAEM>), o número máximo de estruturas de desfazer no "
807 "âmbito do sistema (B<SEMMNU>) e o número máximo por processo de parâmetros "
808 "de sistema para entradas de desfazer."
809
810 #. type: SH
811 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
812 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
813 #, no-wrap
814 msgid "BUGS"
815 msgstr "BUGS"
816
817 #. type: Plain text
818 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
819 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
820 msgid ""
821 "When a process terminates, its set of associated I<semadj> structures is "
822 "used to undo the effect of all of the semaphore operations it performed with "
823 "the B<SEM_UNDO> flag. This raises a difficulty: if one (or more) of these "
824 "semaphore adjustments would result in an attempt to decrease a semaphore's "
825 "value below zero, what should an implementation do? One possible approach "
826 "would be to block until all the semaphore adjustments could be performed. "
827 "This is however undesirable since it could force process termination to "
828 "block for arbitrarily long periods. Another possibility is that such "
829 "semaphore adjustments could be ignored altogether (somewhat analogously to "
830 "failing when B<IPC_NOWAIT> is specified for a semaphore operation). Linux "
831 "adopts a third approach: decreasing the semaphore value as far as possible "
832 "(i.e., to zero) and allowing process termination to proceed immediately."
833 msgstr ""
834
835 #. The bug report:
836 #. http://marc.theaimsgroup.com/?l=linux-kernel&m=110260821123863&w=2
837 #. the fix:
838 #. http://marc.theaimsgroup.com/?l=linux-kernel&m=110261701025794&w=2
839 #. type: Plain text
840 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
841 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
842 msgid ""
843 "In Linux 2.6.x, x E<lt>= 10, there is a bug that in some circumstances "
844 "prevents a thread that is waiting for a semaphore value to become zero from "
845 "being woken up when the value does actually become zero. This bug is fixed "
846 "in Linux 2.6.11."
847 msgstr ""
848
849 #. type: SH
850 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
851 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
852 #, no-wrap
853 msgid "EXAMPLES"
854 msgstr "EXEMPLOS"
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 msgid ""
860 "The following code segment uses B<semop>() to atomically wait for the value "
861 "of semaphore 0 to become zero, and then increment the semaphore value by one."
862 msgstr ""
863
864 #. type: Plain text
865 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
866 #: opensuse-tumbleweed
867 #, no-wrap
868 msgid ""
869 "struct sembuf sops[2];\n"
870 "int semid;\n"
871 "\\&\n"
872 "/* Code to set \\f[I]semid\\fR omitted */\n"
873 "\\&\n"
874 "sops[0].sem_num = 0; /* Operate on semaphore 0 */\n"
875 "sops[0].sem_op = 0; /* Wait for value to equal 0 */\n"
876 "sops[0].sem_flg = 0;\n"
877 "\\&\n"
878 "sops[1].sem_num = 0; /* Operate on semaphore 0 */\n"
879 "sops[1].sem_op = 1; /* Increment value by one */\n"
880 "sops[1].sem_flg = 0;\n"
881 "\\&\n"
882 "if (semop(semid, sops, 2) == -1) {\n"
883 " perror(\"semop\");\n"
884 " exit(EXIT_FAILURE);\n"
885 "}\n"
886 msgstr ""
887
888 #. type: Plain text
889 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
890 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
891 msgid ""
892 "A further example of the use of B<semop>() can be found in B<shmop>(2)."
893 msgstr ""
894
895 #. type: SH
896 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
897 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
898 #, no-wrap
899 msgid "SEE ALSO"
900 msgstr "VEJA TAMBÉM"
901
902 #. type: Plain text
903 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
904 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
905 msgid ""
906 "B<clone>(2), B<semctl>(2), B<semget>(2), B<sigaction>(2), "
907 "B<capabilities>(7), B<sem_overview>(7), B<sysvipc>(7), B<time>(7)"
908 msgstr ""
909 "B<clone>(2), B<semctl>(2), B<semget>(2), B<sigaction>(2), "
910 "B<capabilities>(7), B<sem_overview>(7), B<sysvipc>(7), B<time>(7)"
911
912 #. type: TH
913 #: debian-trixie
914 #, no-wrap
915 msgid "2024-05-02"
916 msgstr "2 maio 2024"
917
918 #. type: TH
919 #: debian-trixie
920 #, no-wrap
921 msgid "Linux man-pages 6.9.1"
922 msgstr "Linux man-pages 6.9.1"
923
924 #. type: Plain text
925 #: debian-trixie
926 msgid "Standard C library (I<libc>, I<-lc>)"
927 msgstr "Biblioteca C Padrão (I<libc>, I<-lc>)"
928
929 #. type: Plain text
930 #: debian-trixie fedora-44 fedora-rawhide
931 msgid "POSIX.1-2008."
932 msgstr "POSIX.1-2008."
933
934 #. type: SH
935 #: debian-trixie fedora-44 fedora-rawhide
936 #, no-wrap
937 msgid "VERSIONS"
938 msgstr "VERSÕES"
939
940 #. SVr4 documents additional error conditions EINVAL, EFBIG, ENOSPC.
941 #. type: Plain text
942 #: debian-trixie fedora-44 fedora-rawhide
943 msgid ""
944 "Linux 2.5.52 (backported into Linux 2.4.22), glibc 2.3.3. POSIX.1-2001, "
945 "SVr4."
946 msgstr ""
947
948 #. type: Plain text
949 #: debian-trixie fedora-44 fedora-rawhide
950 #, no-wrap
951 msgid ""
952 "struct sembuf sops[2];\n"
953 "int semid;\n"
954 "\\&\n"
955 "/* Code to set I<semid> omitted */\n"
956 "\\&\n"
957 "sops[0].sem_num = 0; /* Operate on semaphore 0 */\n"
958 "sops[0].sem_op = 0; /* Wait for value to equal 0 */\n"
959 "sops[0].sem_flg = 0;\n"
960 "\\&\n"
961 "sops[1].sem_num = 0; /* Operate on semaphore 0 */\n"
962 "sops[1].sem_op = 1; /* Increment value by one */\n"
963 "sops[1].sem_flg = 0;\n"
964 "\\&\n"
965 "if (semop(semid, sops, 2) == -1) {\n"
966 " perror(\"semop\");\n"
967 " exit(EXIT_FAILURE);\n"
968 "}\n"
969 msgstr ""
970
971 #. type: TH
972 #: fedora-44 fedora-rawhide
973 #, no-wrap
974 msgid "2024-07-23"
975 msgstr "23 julho 2024"
976
977 #. type: TH
978 #: fedora-44 fedora-rawhide
979 #, no-wrap
980 msgid "Linux man-pages 6.13"
981 msgstr "Linux man-pages 6.13"
982
983 #. type: TH
984 #: mageia-cauldron
985 #, no-wrap
986 msgid "Linux man-pages 6.17"
987 msgstr "Linux man-pages 6.17"
988
989 #. type: TH
990 #: opensuse-leap-16-1 opensuse-tumbleweed
991 #, no-wrap
992 msgid "Linux man-pages (unreleased)"
993 msgstr "Linux man-pages (não lançado)"