Debian Codegraph @

po/ro/man3/getcontext.3.po

raw
1 # Romanian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Remus-Gabriel Chelu <[email protected]>, 2024, 2025.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.21.0\n"
8 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
9 "PO-Revision-Date: 2024-03-10 11:56+0100\n"
10 "Last-Translator: Remus-Gabriel Chelu <[email protected]>\n"
11 "Language-Team: Romanian <[email protected]>\n"
12 "Language: ro\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < "
17 "20)) ? 1 : 2;\n"
18 "X-Generator: Poedit 3.2.2\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, no-wrap
24 msgid "getcontext"
25 msgstr "getcontext"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2026-02-08"
32 msgstr "8 februarie 2026"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, no-wrap
37 msgid "Linux man-pages 6.18"
38 msgstr "Pagini de manual de Linux 6.18"
39
40 #. type: SH
41 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
42 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
43 #, no-wrap
44 msgid "NAME"
45 msgstr "NUME"
46
47 #. type: Plain text
48 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
49 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
50 msgid "getcontext, setcontext - get or set the user context"
51 msgstr ""
52 "getcontext, setcontext - obține sau stabilește contextul utilizatorului"
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "LIBRARY"
59 msgstr "BIBLIOTECA"
60
61 #. type: Plain text
62 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
63 #: opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "Standard C library (I<libc>,\\ I<-lc>)"
65 msgstr "Biblioteca C standard (I<libc>, I<-lc>)"
66
67 #. type: SH
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 #, no-wrap
71 msgid "SYNOPSIS"
72 msgstr "SINOPSIS"
73
74 #. type: Plain text
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 #, no-wrap
78 msgid "B<#include E<lt>ucontext.hE<gt>>\n"
79 msgstr "B<#include E<lt>ucontext.hE<gt>>\n"
80
81 #. type: Plain text
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 #, no-wrap
85 msgid ""
86 "B<int getcontext(ucontext_t *>I<ucp>B<);>\n"
87 "B<int setcontext(const ucontext_t *>I<ucp>B<);>\n"
88 msgstr ""
89 "B<int getcontext(ucontext_t *>I<ucp>B<);>\n"
90 "B<int setcontext(const ucontext_t *>I<ucp>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 "DESCRIERE"
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 "In a System V-like environment, one has the two types I<mcontext_t> and "
104 "I<ucontext_t> defined in I<E<lt>ucontext.hE<gt>> and the four functions "
105 "B<getcontext>(), B<setcontext>(), B<makecontext>(3), and B<swapcontext>(3) "
106 "that allow user-level context switching between multiple threads of control "
107 "within a process."
108 msgstr ""
109 "Într-un mediu de tip System V, există cele două tipuri I<mcontext_t> și "
110 "I<ucontext_t> definite în I<E<lt>ucontext.hE<gt>> și cele patru funcții "
111 "B<getcontext>(), B<setcontext>(), B<makecontext>(3) și B<swapcontext>(3) "
112 "care permit comutarea contextului la nivel de utilizator între mai multe "
113 "fire de control în cadrul unui proces."
114
115 #. type: Plain text
116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
118 msgid ""
119 "The I<mcontext_t> type is machine-dependent and opaque. The I<ucontext_t> "
120 "type is a structure that has at least the following fields:"
121 msgstr ""
122 "Tipul I<mcontext_t> depinde de mașină și este opac. Tipul I<ucontext_t> este "
123 "o structură care are cel puțin următoarele câmpuri:"
124
125 #. type: Plain text
126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
128 #, no-wrap
129 msgid ""
130 "typedef struct ucontext_t {\n"
131 " struct ucontext_t *uc_link;\n"
132 " sigset_t uc_sigmask;\n"
133 " stack_t uc_stack;\n"
134 " mcontext_t uc_mcontext;\n"
135 " ...\n"
136 "} ucontext_t;\n"
137 msgstr ""
138 "typedef struct ucontext_t {\n"
139 " struct ucontext_t *uc_link;\n"
140 " sigset_t uc_sigmask;\n"
141 " stack_t uc_stack;\n"
142 " mcontext_t uc_mcontext;\n"
143 " ...\n"
144 "} ucontext_t;\n"
145
146 #. type: Plain text
147 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
148 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
149 msgid ""
150 "with I<sigset_t> and I<stack_t> defined in I<E<lt>signal.hE<gt>>. Here "
151 "I<uc_link> points to the context that will be resumed when the current "
152 "context terminates (in case the current context was created using "
153 "B<makecontext>(3)), I<uc_sigmask> is the set of signals blocked in this "
154 "context (see B<sigprocmask>(2)), I<uc_stack> is the stack used by this "
155 "context (see B<sigaltstack>(2)), and I<uc_mcontext> is the machine-specific "
156 "representation of the saved context, that includes the calling thread's "
157 "machine registers."
158 msgstr ""
159 "cu I<sigset_t> și I<stack_t> definite în I<E<lt>signal.hE<gt>>. Aici "
160 "I<uc_link> indică contextul care va fi reluat atunci când contextul curent "
161 "se termină (în cazul în care contextul curent a fost creat folosind "
162 "B<makecontext>(3)), I<uc_sigmask> este setul de semnale blocate în acest "
163 "context (a se vedea B<sigprocmask>(2)), I<uc_stack> este stiva utilizată de "
164 "acest context (a se vedea B<sigaltstack>(2)), iar I<uc_mcontext> este "
165 "reprezentarea specifică mașinii a contextului salvat, care include "
166 "registrele mașinii firului apelant."
167
168 #. type: Plain text
169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
171 msgid ""
172 "The function B<getcontext>() initializes the structure pointed to by I<ucp> "
173 "to the currently active context."
174 msgstr ""
175 "Funcția B<getcontext>() inițializează structura indicată de I<ucp> în "
176 "contextul activ curent."
177
178 #. type: Plain text
179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
181 msgid ""
182 "The function B<setcontext>() restores the user context pointed to by "
183 "I<ucp>. A successful call does not return. The context should have been "
184 "obtained by a call of B<getcontext>(), or B<makecontext>(3), or received as "
185 "the third argument to a signal handler (see the discussion of the "
186 "B<SA_SIGINFO> flag in B<sigaction>(2))."
187 msgstr ""
188 "Funcția B<setcontext>() restabilește contextul utilizatorului indicat de "
189 "I<ucp>. Un apel reușit nu returnează. Contextul ar fi trebuit să fie obținut "
190 "printr-un apel la B<getcontext>() sau B<makecontext>(3), sau primit ca al "
191 "treilea argument al unui gestionar de semnal (a se vedea discuția despre "
192 "fanionul B<SA_SIGINFO> din B<sigaction>(2))."
193
194 #. type: Plain text
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 msgid ""
198 "If the context was obtained by a call of B<getcontext>(), program execution "
199 "continues as if this call just returned."
200 msgstr ""
201 "Dacă contextul a fost obținut printr-un apel la B<getcontext>(), execuția "
202 "programului continuă ca și cum acest apel tocmai a fost returnat."
203
204 #. type: Plain text
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 msgid ""
208 "If the context was obtained by a call of B<makecontext>(3), program "
209 "execution continues by a call to the function I<func> specified as the "
210 "second argument of that call to B<makecontext>(3). When the function "
211 "I<func> returns, we continue with the I<uc_link> member of the structure "
212 "I<ucp> specified as the first argument of that call to B<makecontext>(3). "
213 "When this member is NULL, the thread exits."
214 msgstr ""
215 "În cazul în care contextul a fost obținut printr-un apel la "
216 "B<makecontext>(3), execuția programului continuă printr-un apel la funcția "
217 "I<func> specificată ca al doilea argument al apelului la B<makecontext>(3). "
218 "La întoarcerea funcției I<func>, continuăm cu membrul I<uc_link> al "
219 "structurii I<ucp> specificat ca prim argument al acelui apel la "
220 "B<makecontext>(3). Atunci când acest membru este NULL, firul de execuție "
221 "iese."
222
223 #. type: Plain text
224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
226 msgid ""
227 "If the context was obtained by a call to a signal handler, then old standard "
228 "text says that \"program execution continues with the program instruction "
229 "following the instruction interrupted by the signal\". However, this "
230 "sentence was removed in SUSv2, and the present verdict is \"the result is "
231 "unspecified\"."
232 msgstr ""
233 "Dacă contextul a fost obținut printr-un apel la un gestionar de semnal, "
234 "atunci vechiul text standard spune că „execuția programului continuă cu "
235 "instrucțiunea de program care urmează instrucțiunii întrerupte de semnal”. "
236 "Cu toate acestea, această propoziție a fost eliminată în SUSv2, iar "
237 "verdictul actual este „rezultatul este nespecificat”."
238
239 #. type: SH
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 #, no-wrap
243 msgid "RETURN VALUE"
244 msgstr "VALOAREA RETURNATĂ"
245
246 #. type: Plain text
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 msgid ""
250 "When successful, B<getcontext>() returns 0 and B<setcontext>() does not "
251 "return. On error, both return -1 and set I<errno> to indicate the error."
252 msgstr ""
253 "În caz de succes, B<getcontext>() returnează 0, iar B<setcontext>() nu "
254 "returnează. În caz de eroare, ambele returnează -1 și setează I<errno> "
255 "pentru a indica eroarea."
256
257 #. type: SH
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 #, no-wrap
261 msgid "ERRORS"
262 msgstr "ERORI-IEȘIRE"
263
264 #. type: Plain text
265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
267 msgid "None defined."
268 msgstr "Nu sunt definite."
269
270 #. type: SH
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 #, no-wrap
274 msgid "ATTRIBUTES"
275 msgstr "ATRIBUTE"
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 "For an explanation of the terms used in this section, see B<attributes>(7)."
282 msgstr ""
283 "Pentru o explicație a termenilor folosiți în această secțiune, a se vedea "
284 "B<attributes>(7)."
285
286 #. type: tbl table
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 #, no-wrap
290 msgid "Interface"
291 msgstr "Interfață"
292
293 #. type: tbl table
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 #, no-wrap
297 msgid "Attribute"
298 msgstr "Atribut"
299
300 #. type: tbl table
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 #, no-wrap
304 msgid "Value"
305 msgstr "Valoare"
306
307 #. type: tbl table
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 #, no-wrap
311 msgid ".na\n"
312 msgstr ".na\n"
313
314 #. type: tbl table
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 #, no-wrap
318 msgid ".nh\n"
319 msgstr ".nh\n"
320
321 #. type: tbl table
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 #, no-wrap
325 msgid ""
326 "B<getcontext>(),\n"
327 "B<setcontext>()"
328 msgstr ""
329 "B<getcontext>(),\n"
330 "B<setcontext>()"
331
332 #. type: tbl table
333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
335 #, no-wrap
336 msgid "Thread safety"
337 msgstr "Siguranța firelor"
338
339 #. type: tbl table
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 #, no-wrap
343 msgid "MT-Safe race:ucp"
344 msgstr "MT-Safe race:ucp"
345
346 #. type: SH
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 #, no-wrap
350 msgid "STANDARDS"
351 msgstr "STANDARDE"
352
353 #. type: Plain text
354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
356 msgid "None."
357 msgstr "Niciunul."
358
359 #. type: SH
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 #, no-wrap
363 msgid "HISTORY"
364 msgstr "ISTORIC"
365
366 #. type: Plain text
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 msgid "SUSv2, POSIX.1-2001."
370 msgstr "SUSv2, POSIX.1-2001."
371
372 #. type: Plain text
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 msgid ""
376 "POSIX.1-2008 removes these functions, citing portability issues, and "
377 "recommending that applications be rewritten to use POSIX threads instead."
378 msgstr ""
379 "POSIX.1-2008 elimină aceste funcții, invocând probleme de portabilitate și "
380 "recomandând ca aplicațiile să fie rescrise pentru a utiliza în schimb fire "
381 "POSIX."
382
383 #. type: SH
384 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
385 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
386 #, no-wrap
387 msgid "NOTES"
388 msgstr "NOTE"
389
390 #. type: Plain text
391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
393 msgid ""
394 "The earliest incarnation of this mechanism was the B<setjmp>(3)/ "
395 "B<longjmp>(3) mechanism. Since that does not define the handling of the "
396 "signal context, the next stage was the B<sigsetjmp>(3)/ B<siglongjmp>(3) "
397 "pair. The present mechanism gives much more control. On the other hand, "
398 "there is no easy way to detect whether a return from B<getcontext>() is "
399 "from the first call, or via a B<setcontext>() call. The user has to invent "
400 "their own bookkeeping device, and a register variable won't do since "
401 "registers are restored."
402 msgstr ""
403 "Cea mai veche întruchipare a acestui mecanism a fost mecanismul "
404 "B<setjmp>(3)/ B<longjmp>(3). Deoarece acesta nu definește gestionarea "
405 "contextului semnalului, următoarea etapă a fost perechea B<sigsetjmp>(3)/ "
406 "B<siglongjmp>(3). Mecanismul actual oferă mult mai mult control. Pe de altă "
407 "parte, nu există o modalitate ușoară de a detecta dacă o returnare de la "
408 "B<getcontext>() provine din primul apel sau prin intermediul unui apel "
409 "B<setcontext>(). Utilizatorul trebuie să inventeze propriul dispozitiv de "
410 "evidență contabilă, iar o variabilă de registru nu este suficientă, deoarece "
411 "registrele sunt restaurate."
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 "When a signal occurs, the current user context is saved and a new context is "
418 "created by the kernel for the signal handler. Do not leave the handler "
419 "using B<longjmp>(3): it is undefined what would happen with contexts. Use "
420 "B<siglongjmp>(3) or B<setcontext>() instead."
421 msgstr ""
422 "Atunci când apare un semnal, contextul curent al utilizatorului este salvat "
423 "și un nou context este creat de către nucleu pentru gestionarul de semnal. "
424 "Nu părăsiți gestionarul folosind B<longjmp>(3): nu este definit ce se "
425 "întâmplă cu contextele. Utilizați în schimb B<siglongjmp>(3) sau "
426 "B<setcontext>()."
427
428 #. type: SH
429 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
430 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
431 #, no-wrap
432 msgid "SEE ALSO"
433 msgstr "CONSULTAȚI ȘI"
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 "B<sigaction>(2), B<sigaltstack>(2), B<sigprocmask>(2), B<longjmp>(3), "
440 "B<makecontext>(3), B<sigsetjmp>(3), B<signal>(7)"
441 msgstr ""
442 "B<sigaction>(2), B<sigaltstack>(2), B<sigprocmask>(2), B<longjmp>(3), "
443 "B<makecontext>(3), B<sigsetjmp>(3), B<signal>(7)"
444
445 #. type: TH
446 #: debian-trixie
447 #, no-wrap
448 msgid "2024-05-02"
449 msgstr "2 mai 2024"
450
451 #. type: TH
452 #: debian-trixie
453 #, no-wrap
454 msgid "Linux man-pages 6.9.1"
455 msgstr "Pagini de manual de Linux 6.9.1"
456
457 #. type: Plain text
458 #: debian-trixie
459 msgid "Standard C library (I<libc>, I<-lc>)"
460 msgstr "Biblioteca C standard (I<libc>, I<-lc>)"
461
462 #. type: TH
463 #: fedora-44 fedora-rawhide
464 #, no-wrap
465 msgid "2024-07-23"
466 msgstr "23 iulie 2024"
467
468 #. type: TH
469 #: fedora-44 fedora-rawhide
470 #, no-wrap
471 msgid "Linux man-pages 6.13"
472 msgstr "Pagini de manual de Linux 6.13"
473
474 #. type: TH
475 #: mageia-cauldron
476 #, no-wrap
477 msgid "Linux man-pages 6.17"
478 msgstr "Pagini de manual de Linux 6.17"
479
480 #. type: TH
481 #: opensuse-leap-16-1 opensuse-tumbleweed
482 #, no-wrap
483 msgid "Linux man-pages (unreleased)"
484 msgstr "Pagini de manual Linux (nepublicate)"