Debian Codegraph @

po/ro/man3/pthread_attr_setguardsize.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]>, 2023, 2025.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.20.0\n"
8 "POT-Creation-Date: 2026-06-05 06:38+0200\n"
9 "PO-Revision-Date: 2023-11-03 23:59+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 "pthread_attr_setguardsize"
25 msgstr "pthread_attr_setguardsize"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2025-05-17"
32 msgstr "17 mai 2025"
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 ""
51 "pthread_attr_setguardsize, pthread_attr_getguardsize - set/get guard size "
52 "attribute in thread attributes object"
53 msgstr ""
54 "pthread_attr_setguardsize, pthread_attr_getguardsize - stabilește/obține "
55 "atributul de dimensiune a gărzii în obiectul atributele firului de execuție"
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 "POSIX threads library (I<libpthread>,\\ I<-lpthread>)"
68 msgstr "Biblioteca de fire de execuție POSIX (I<libpthread>, I<-lpthread>)"
69
70 #. type: SH
71 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
72 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
73 #, no-wrap
74 msgid "SYNOPSIS"
75 msgstr "SINOPSIS"
76
77 #. type: Plain text
78 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
79 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
80 #, no-wrap
81 msgid "B<#include E<lt>pthread.hE<gt>>\n"
82 msgstr "B<#include E<lt>pthread.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 #, no-wrap
88 msgid ""
89 "B<int pthread_attr_setguardsize(pthread_attr_t *>I<attr>B<, size_t >I<guardsize>B<);>\n"
90 "B<int pthread_attr_getguardsize(const pthread_attr_t *restrict >I<attr>B<,>\n"
91 "B< size_t *restrict >I<guardsize>B<);>\n"
92 msgstr ""
93 "B<int pthread_attr_setguardsize(pthread_attr_t *>I<attr>B<, size_t >I<guardsize>B<);>\n"
94 "B<int pthread_attr_getguardsize(const pthread_attr_t *restrict >I<attr>B<,>\n"
95 "B< size_t *restrict >I<guardsize>B<);>\n"
96
97 #. type: SH
98 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
99 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
100 #, no-wrap
101 msgid "DESCRIPTION"
102 msgstr "DESCRIERE"
103
104 #. type: Plain text
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 msgid ""
108 "The B<pthread_attr_setguardsize>() function sets the guard size attribute "
109 "of the thread attributes object referred to by I<attr> to the value "
110 "specified in I<guardsize>."
111 msgstr ""
112 "Funcția B<pthread_attr_setguardsize>() stabilește atributul „guard size” "
113 "(dimensiune a gărzii) al obiectului de atribute ale firelor la care face "
114 "referire I<attr> la valoarea specificată în I<guardsize>."
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 msgid ""
120 "If I<guardsize> is greater than 0, then for each new thread created using "
121 "I<attr> the system allocates an additional region of at least I<guardsize> "
122 "bytes at the end of the thread's stack to act as the guard area for the "
123 "stack (but see BUGS)."
124 msgstr ""
125 "Dacă I<guardsize> este mai mare decât 0, atunci pentru fiecare fir nou creat "
126 "folosind I<attr>, sistemul alocă o regiune suplimentară de cel puțin "
127 "I<guardsize> octeți la sfârșitul stivei firului pentru a acționa ca zonă de "
128 "gardă pentru stivă (a se vedea însă secțiunea ERORI)."
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 "If I<guardsize> is 0, then new threads created with I<attr> will not have a "
135 "guard area."
136 msgstr ""
137 "Dacă I<guardsize> este 0, atunci firele noi create cu I<attr> nu vor avea o "
138 "zonă de gardă."
139
140 #. type: Plain text
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 msgid "The default guard size is the same as the system page size."
144 msgstr ""
145 "Dimensiunea implicită a gărzii este aceeași cu dimensiunea paginii "
146 "sistemului."
147
148 #. type: Plain text
149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
151 msgid ""
152 "If the stack address attribute has been set in I<attr> (using "
153 "B<pthread_attr_setstack>(3) or B<pthread_attr_setstackaddr>(3)), meaning "
154 "that the caller is allocating the thread's stack, then the guard size "
155 "attribute is ignored (i.e., no guard area is created by the system): it is "
156 "the application's responsibility to handle stack overflow (perhaps by using "
157 "B<mprotect>(2) to manually define a guard area at the end of the stack that "
158 "it has allocated)."
159 msgstr ""
160 "Dacă atributul adresei stivei a fost stabilit în I<attr> (utilizând "
161 "B<pthread_attr_setstack>(3) sau B<pthread_attr_setstackaddr>(3)), ceea ce "
162 "înseamnă că apelantul alocă stiva firului, atunci atributul dimensiunii "
163 "gărzii este ignorat (de exemplu, B<pthread_attr_setstackaddr>(3)), sistemul "
164 "nu creează nicio zonă de gardă): este responsabilitatea aplicației să "
165 "gestioneze depășirea stivei (poate prin utilizarea B<mprotect>(2) pentru a "
166 "defini manual o zonă de gardă la capătul stivei pe care a alocat-o)."
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 B<pthread_attr_getguardsize>() function returns the guard size "
173 "attribute of the thread attributes object referred to by I<attr> in the "
174 "buffer pointed to by I<guardsize>."
175 msgstr ""
176 "Funcția B<pthread_attr_getguardsize>() returnează atributul \"guard size\" "
177 "al obiectului atribute ale firului de execuție la care se face referire prin "
178 "I<attr> în memoria tampon indicată de I<guardsize>.."
179
180 #. type: SH
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 #, no-wrap
184 msgid "RETURN VALUE"
185 msgstr "VALOAREA RETURNATĂ"
186
187 #. type: Plain text
188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
190 msgid ""
191 "On success, these functions return 0; on error, they return a nonzero error "
192 "number."
193 msgstr ""
194 "În caz de succes, aceste funcții returnează 0; în caz de eroare, ele "
195 "returnează un număr de eroare diferit de zero."
196
197 #. type: SH
198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
200 #, no-wrap
201 msgid "ERRORS"
202 msgstr "ERORI-IEȘIRE"
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 "POSIX.1 documents an B<EINVAL> error if I<attr> or I<guardsize> is invalid. "
209 "On Linux these functions always succeed (but portable and future-proof "
210 "applications should nevertheless handle a possible error return)."
211 msgstr ""
212 "POSIX.1 documentează o eroare B<EINVAL> în cazul în care I<attr> sau "
213 "I<guardsize> nu este validă. În Linux, aceste funcții reușesc întotdeauna "
214 "(dar aplicațiile portabile și pregătite pentru viitor ar trebui totuși să se "
215 "ocupe de o posibilă returnare de eroare)."
216
217 #. type: SH
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 #, no-wrap
221 msgid "ATTRIBUTES"
222 msgstr "ATRIBUTE"
223
224 #. type: Plain text
225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
227 msgid ""
228 "For an explanation of the terms used in this section, see B<attributes>(7)."
229 msgstr ""
230 "Pentru o explicație a termenilor folosiți în această secțiune, a se vedea "
231 "B<attributes>(7)."
232
233 #. type: tbl table
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 #, no-wrap
237 msgid "Interface"
238 msgstr "Interfață"
239
240 #. type: tbl table
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 #, no-wrap
244 msgid "Attribute"
245 msgstr "Atribut"
246
247 #. type: tbl table
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 #, no-wrap
251 msgid "Value"
252 msgstr "Valoare"
253
254 #. type: tbl table
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 #, no-wrap
258 msgid ".na\n"
259 msgstr ".na\n"
260
261 #. type: tbl table
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 #, no-wrap
265 msgid ".nh\n"
266 msgstr ".nh\n"
267
268 #. type: tbl table
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid ""
273 "B<pthread_attr_setguardsize>(),\n"
274 "B<pthread_attr_getguardsize>()"
275 msgstr ""
276 "B<pthread_attr_setguardsize>(),\n"
277 "B<pthread_attr_getguardsize>()"
278
279 #. type: tbl table
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 #, no-wrap
283 msgid "Thread safety"
284 msgstr "Siguranța firelor"
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 "MT-Safe"
291 msgstr "MT-Safe"
292
293 #. type: SH
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 #, no-wrap
297 msgid "STANDARDS"
298 msgstr "STANDARDE"
299
300 #. type: Plain text
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 msgid "POSIX.1-2008."
304 msgstr "POSIX.1-2008."
305
306 #. type: SH
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 #, no-wrap
310 msgid "HISTORY"
311 msgstr "ISTORIC"
312
313 #. type: Plain text
314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
316 msgid "glibc 2.1. POSIX.1-2001."
317 msgstr "glibc 2.1. POSIX.1-2001."
318
319 #. type: SH
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 #, no-wrap
323 msgid "NOTES"
324 msgstr "NOTE"
325
326 #. type: Plain text
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 msgid ""
330 "A guard area consists of virtual memory pages that are protected to prevent "
331 "read and write access. If a thread overflows its stack into the guard area, "
332 "then, on most hard architectures, it receives a B<SIGSEGV> signal, thus "
333 "notifying it of the overflow. Guard areas start on page boundaries, and the "
334 "guard size is internally rounded up to the system page size when creating a "
335 "thread. (Nevertheless, B<pthread_attr_getguardsize>() returns the guard "
336 "size that was set by B<pthread_attr_setguardsize>().)"
337 msgstr ""
338 "O zonă de gardă constă în pagini de memorie virtuală care sunt protejate "
339 "pentru a împiedica accesul la citire și scriere. În cazul în care un fir de "
340 "execuție își depășește stiva în zona de gardă, atunci, pe majoritatea "
341 "arhitecturilor, primește un semnal B<SIGSEGV>, fiind astfel notificat de "
342 "depășire. Zonele de gardă încep la limitele paginilor, iar dimensiunea "
343 "zonei de gardă este rotunjită în mod intern la dimensiunea paginii "
344 "sistemului la crearea unui fir; (cu toate acestea, "
345 "B<pthread_attr_getguardsize>() returnează dimensiunea de gardă care a fost "
346 "setată de B<pthread_attr_setguardsize>().)."
347
348 #. type: Plain text
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 msgid ""
352 "Setting a guard size of 0 may be useful to save memory in an application "
353 "that creates many threads and knows that stack overflow can never occur."
354 msgstr ""
355 "Stabilirea unei dimensiuni de gardă de 0 poate fi utilă pentru a economisi "
356 "memorie într-o aplicație care creează multe fire de execuție și știe că nu "
357 "se poate produce niciodată o depășire a stivei."
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 "Choosing a guard size larger than the default size may be necessary for "
364 "detecting stack overflows if a thread allocates large data structures on the "
365 "stack."
366 msgstr ""
367 "Alegerea unei dimensiuni de gardă mai mari decât dimensiunea implicită poate "
368 "fi necesară pentru detectarea depășirilor de stivă în cazul în care un fir "
369 "alocă structuri de date mari pe stivă."
370
371 #. type: SH
372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
374 #, no-wrap
375 msgid "BUGS"
376 msgstr "ERORI"
377
378 #. type: Plain text
379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
381 msgid ""
382 "As at glibc 2.8, the NPTL threading implementation includes the guard area "
383 "within the stack size allocation, rather than allocating extra space at the "
384 "end of the stack, as POSIX.1 requires. (This can result in an B<EINVAL> "
385 "error from B<pthread_create>(3) if the guard size value is too large, "
386 "leaving no space for the actual stack.)"
387 msgstr ""
388 "Ca și în glibc 2.8, implementarea NPTL threading include zona de gardă în "
389 "cadrul alocării dimensiunii stivei, în loc să aloce spațiu suplimentar la "
390 "sfârșitul stivei, așa cum prevede POSIX.1; (acest lucru poate avea ca "
391 "rezultat o eroare B<EINVAL> de la B<pthread_create>(3) dacă valoarea "
392 "dimensiunii de gardă este prea mare, nefiind lăsat spațiu pentru stiva "
393 "propriu-zisă)."
394
395 #
396 #
397 #. glibc includes the guardsize within the allocated stack size,
398 #. which looks pretty clearly to be in violation of POSIX.
399 #. Filed bug, 22 Oct 2008:
400 #. https://www.sourceware.org/bugzilla/show_bug.cgi?id=6973
401 #. Older reports:
402 #. https//bugzilla.redhat.com/show_bug.cgi?id=435337
403 #. Reportedly, LinuxThreads did the right thing, allocating
404 #. extra space at the end of the stack:
405 #. http://sourceware.org/ml/libc-alpha/2008-05/msg00086.html
406 #. type: Plain text
407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
409 msgid ""
410 "The obsolete LinuxThreads implementation did the right thing, allocating "
411 "extra space at the end of the stack for the guard area."
412 msgstr ""
413 "Implementarea învechită a LinuxThreads a făcut ceea ce trebuia, alocând "
414 "spațiu suplimentar la sfârșitul stivei pentru zona de gardă."
415
416 #. type: SH
417 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
418 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
419 #, no-wrap
420 msgid "EXAMPLES"
421 msgstr "EXEMPLE"
422
423 #. type: Plain text
424 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
425 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
426 msgid "See B<pthread_getattr_np>(3)."
427 msgstr "A se vedea B<pthread_getattr_np>(3)."
428
429 #. type: SH
430 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
431 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
432 #, no-wrap
433 msgid "SEE ALSO"
434 msgstr "CONSULTAȚI ȘI"
435
436 #. type: Plain text
437 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
438 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
439 msgid ""
440 "B<mmap>(2), B<mprotect>(2), B<pthread_attr_init>(3), "
441 "B<pthread_attr_setstack>(3), B<pthread_attr_setstacksize>(3), "
442 "B<pthread_create>(3), B<pthreads>(7)"
443 msgstr ""
444 "B<mmap>(2), B<mprotect>(2), B<pthread_attr_init>(3), "
445 "B<pthread_attr_setstack>(3), B<pthread_attr_setstacksize>(3), "
446 "B<pthread_create>(3), B<pthreads>(7)"
447
448 #. type: TH
449 #: debian-trixie
450 #, no-wrap
451 msgid "2024-05-02"
452 msgstr "2 mai 2024"
453
454 #. type: TH
455 #: debian-trixie
456 #, no-wrap
457 msgid "Linux man-pages 6.9.1"
458 msgstr "Pagini de manual de Linux 6.9.1"
459
460 #. type: Plain text
461 #: debian-trixie
462 msgid "POSIX threads library (I<libpthread>, I<-lpthread>)"
463 msgstr "Biblioteca de fire de execuție POSIX (I<libpthread>, I<-lpthread>)"
464
465 #. type: TH
466 #: fedora-44 fedora-rawhide
467 #, no-wrap
468 msgid "2024-07-23"
469 msgstr "23 iulie 2024"
470
471 #. type: TH
472 #: fedora-44 fedora-rawhide
473 #, no-wrap
474 msgid "Linux man-pages 6.13"
475 msgstr "Pagini de manual de Linux 6.13"
476
477 #. type: TH
478 #: mageia-cauldron
479 #, no-wrap
480 msgid "Linux man-pages 6.17"
481 msgstr "Pagini de manual de Linux 6.17"
482
483 #. type: TH
484 #: opensuse-leap-16-1 opensuse-tumbleweed
485 #, no-wrap
486 msgid "Linux man-pages (unreleased)"
487 msgstr "Pagini de manual Linux (nepublicate)"