Debian Codegraph @

po/ro/man3/mtrace.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:32+0200\n"
9 "PO-Revision-Date: 2023-12-13 09:58+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 "mtrace"
25 msgstr "mtrace"
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 "mtrace, muntrace - malloc tracing"
51 msgstr "mtrace, muntrace - urmărire malloc"
52
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 #, no-wrap
57 msgid "LIBRARY"
58 msgstr "BIBLIOTECA"
59
60 #. type: Plain text
61 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
62 #: opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "Standard C library (I<libc>,\\ I<-lc>)"
64 msgstr "Biblioteca C standard (I<libc>, I<-lc>)"
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "SYNOPSIS"
71 msgstr "SINOPSIS"
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "B<#include E<lt>mcheck.hE<gt>>\n"
78 msgstr "B<#include E<lt>mcheck.hE<gt>>\n"
79
80 #. type: Plain text
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid ""
85 "B<void mtrace(void);>\n"
86 "B<void muntrace(void);>\n"
87 msgstr ""
88 "B<void mtrace(void);>\n"
89 "B<void muntrace(void);>\n"
90
91 #. type: SH
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 #, no-wrap
95 msgid "DESCRIPTION"
96 msgstr "DESCRIERE"
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 msgid ""
102 "The B<mtrace>() function installs hook functions for the memory-allocation "
103 "functions (B<malloc>(3), B<realloc>(3) B<memalign>(3), B<free>(3)). These "
104 "hook functions record tracing information about memory allocation and "
105 "deallocation. The tracing information can be used to discover memory leaks "
106 "and attempts to free nonallocated memory in a program."
107 msgstr ""
108 "Funcția B<mtrace>() instalează funcții cârlig pentru funcțiile de alocare a "
109 "memoriei (B<malloc>(3), B<realloc>(3) B<memalign>(3), B<free>(3)). Aceste "
110 "funcții cârlig înregistrează informații de urmărire despre alocarea și "
111 "eliberarea memoriei. Informațiile de urmărire pot fi utilizate pentru a "
112 "descoperi scurgerile de memorie și încercările de a elibera memoria "
113 "nealocată într-un program."
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 B<muntrace>() function disables the hook functions installed by "
120 "B<mtrace>(), so that tracing information is no longer recorded for the "
121 "memory-allocation functions. If no hook functions were successfully "
122 "installed by B<mtrace>(), B<muntrace>() does nothing."
123 msgstr ""
124 "Funcția B<muntrace>() dezactivează funcțiile cârlig instalate de "
125 "B<mtrace>(), astfel încât informațiile de urmărire nu mai sunt înregistrate "
126 "pentru funcțiile de alocare a memoriei. În cazul în care nicio funcție de "
127 "cârlig nu a fost instalată cu succes de B<mtrace>(), B<muntrace>() nu face "
128 "nimic."
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 "When B<mtrace>() is called, it checks the value of the environment variable "
135 "B<MALLOC_TRACE>, which should contain the pathname of a file in which the "
136 "tracing information is to be recorded. If the pathname is successfully "
137 "opened, it is truncated to zero length."
138 msgstr ""
139 "Atunci când este apelată B<mtrace>(), aceasta verifică valoarea variabilei "
140 "de mediu B<MALLOC_TRACE>, care ar trebui să conțină numele rutei unui fișier "
141 "în care urmează să fie înregistrate informațiile de urmărire. În cazul în "
142 "care numele rutei este deschis cu succes, acesta este trunchiat la lungimea "
143 "zero."
144
145 #. type: Plain text
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 msgid ""
149 "If B<MALLOC_TRACE> is not set, or the pathname it specifies is invalid or "
150 "not writable, then no hook functions are installed, and B<mtrace>() has no "
151 "effect. In set-user-ID and set-group-ID programs, B<MALLOC_TRACE> is "
152 "ignored, and B<mtrace>() has no effect."
153 msgstr ""
154 "Dacă B<MALLOC_TRACE> nu este configurat sau dacă numele de rută pe care îl "
155 "specifică nu este valid sau nu poate fi scris, atunci nu sunt instalate "
156 "funcții de cârlig, iar B<mtrace>() nu are niciun efect. În programele set-"
157 "user-ID și set-group-ID, B<MALLOC_TRACE> este ignorat, iar B<mtrace>() nu "
158 "are niciun efect."
159
160 #. type: SH
161 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
162 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
163 #, no-wrap
164 msgid "ATTRIBUTES"
165 msgstr "ATRIBUTE"
166
167 #. type: Plain text
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 msgid ""
171 "For an explanation of the terms used in this section, see B<attributes>(7)."
172 msgstr ""
173 "Pentru o explicație a termenilor folosiți în această secțiune, a se vedea "
174 "B<attributes>(7)."
175
176 #. type: tbl table
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 #, no-wrap
180 msgid "Interface"
181 msgstr "Interfață"
182
183 #. type: tbl table
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
186 #, no-wrap
187 msgid "Attribute"
188 msgstr "Atribut"
189
190 #. type: tbl table
191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
193 #, no-wrap
194 msgid "Value"
195 msgstr "Valoare"
196
197 #. type: tbl table
198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
200 #, no-wrap
201 msgid ".na\n"
202 msgstr ".na\n"
203
204 #. type: tbl table
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 #, no-wrap
208 msgid ".nh\n"
209 msgstr ".nh\n"
210
211 #. type: tbl table
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 #, no-wrap
215 msgid ""
216 "B<mtrace>(),\n"
217 "B<muntrace>()"
218 msgstr ""
219 "B<mtrace>(),\n"
220 "B<muntrace>()"
221
222 #. type: tbl table
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 #, no-wrap
226 msgid "Thread safety"
227 msgstr "Siguranța firelor"
228
229 #. type: tbl table
230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
232 #, no-wrap
233 msgid "MT-Unsafe"
234 msgstr "MT-Unsafe"
235
236 #. FIXME: The marking is different from that in the glibc manual,
237 #. markings in glibc manual are more detailed:
238 #. mtrace: MT-Unsafe env race:mtrace const:malloc_hooks init
239 #. muntrace: MT-Unsafe race:mtrace const:malloc_hooks locale
240 #. But there is something wrong in glibc manual, for example:
241 #. glibc manual says muntrace should have marking locale because it calls
242 #. fprintf(), but muntrace does not execute area which cause locale problem.
243 #. type: SH
244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
246 #, no-wrap
247 msgid "STANDARDS"
248 msgstr "STANDARDE"
249
250 #. type: Plain text
251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
253 msgid "GNU."
254 msgstr "GNU."
255
256 #. type: SH
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 #, no-wrap
260 msgid "NOTES"
261 msgstr "NOTE"
262
263 #. type: Plain text
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 msgid ""
267 "In normal usage, B<mtrace>() is called once at the start of execution of a "
268 "program, and B<muntrace>() is never called."
269 msgstr ""
270 "În mod normal, B<mtrace>() este apelată o dată la începutul execuției unui "
271 "program, iar B<muntrace>() nu este apelată niciodată."
272
273 #. type: Plain text
274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
276 msgid ""
277 "The tracing output produced after a call to B<mtrace>() is textual, but not "
278 "designed to be human readable. The GNU C library provides a Perl script, "
279 "B<mtrace>(1), that interprets the trace log and produces human-readable "
280 "output. For best results, the traced program should be compiled with "
281 "debugging enabled, so that line-number information is recorded in the "
282 "executable."
283 msgstr ""
284 "Rezultatul de urmărire produs în urma unui apel la B<mtrace>() este textual, "
285 "dar nu este conceput pentru a fi citit de oameni. Biblioteca GNU C oferă un "
286 "script Perl, B<mtrace>(1), care interpretează jurnalul de urmărire și "
287 "produce o ieșire care poate fi citită de oameni. Pentru cele mai bune "
288 "rezultate, programul urmărit trebuie compilat cu depanarea activată, astfel "
289 "încât informațiile privind numerele de linie să fie înregistrate în "
290 "executabil."
291
292 #. type: Plain text
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 msgid ""
296 "The tracing performed by B<mtrace>() incurs a performance penalty (if "
297 "B<MALLOC_TRACE> points to a valid, writable pathname)."
298 msgstr ""
299 "Urmărirea efectuată de B<mtrace>() implică o penalizare de performanță (dacă "
300 "B<MALLOC_TRACE> indică un nume de rută valid și inscriptibil)."
301
302 #. type: SH
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 #, no-wrap
306 msgid "BUGS"
307 msgstr "ERORI"
308
309 #. type: Plain text
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 msgid ""
313 "The line-number information produced by B<mtrace>(1) is not always precise: "
314 "the line number references may refer to the previous or following "
315 "(nonblank) line of the source code."
316 msgstr ""
317 "Informația privind numărul de linie produsă de B<mtrace>(1) nu este "
318 "întotdeauna precisă: referințele la numărul de linie se pot referi la linia "
319 "anterioară sau următoare (fără spații libere) din codul sursă."
320
321 #. type: SH
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 #, no-wrap
325 msgid "EXAMPLES"
326 msgstr "EXEMPLE"
327
328 #. type: Plain text
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 msgid ""
332 "The shell session below demonstrates the use of the B<mtrace>() function "
333 "and the B<mtrace>(1) command in a program that has memory leaks at two "
334 "different locations. The demonstration uses the following program:"
335 msgstr ""
336 "Sesiunea shell de mai jos demonstrează utilizarea funcției B<mtrace>() și a "
337 "comenzii B<mtrace>(1) într-un program care are pierderi de memorie în două "
338 "locații diferite. Demonstrația utilizează următorul program:"
339
340 #. SRC BEGIN (t_mtrace.c)
341 #. type: Plain text
342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
344 msgid "$ B<cat t_mtrace.c>"
345 msgstr "$ B<cat t_mtrace.c>"
346
347 #. type: Plain text
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 #, no-wrap
351 msgid ""
352 "#include E<lt>mcheck.hE<gt>\n"
353 "#include E<lt>stdio.hE<gt>\n"
354 "#include E<lt>stdlib.hE<gt>\n"
355 "\\&\n"
356 "int\n"
357 "main(void)\n"
358 "{\n"
359 " mtrace();\n"
360 "\\&\n"
361 " for (unsigned int j = 0; j E<lt> 2; j++)\n"
362 " malloc(100); /* Never freed--a memory leak */\n"
363 "\\&\n"
364 " calloc(16, 16); /* Never freed--a memory leak */\n"
365 " exit(EXIT_SUCCESS);\n"
366 "}\n"
367 msgstr ""
368 "#include E<lt>mcheck.hE<gt>\n"
369 "#include E<lt>stdio.hE<gt>\n"
370 "#include E<lt>stdlib.hE<gt>\n"
371 "\\&\n"
372 "int\n"
373 "main(void)\n"
374 "{\n"
375 " mtrace();\n"
376 "\\&\n"
377 " for (unsigned int j = 0; j E<lt> 2; j++)\n"
378 " malloc(100); /* Nu a fost eliberată niciodată - o scurgere de memorie */\n"
379 "\\&\n"
380 " calloc(16, 16); /* Nu a fost eliberată niciodată - o scurgere de memorie */\n"
381 " exit(EXIT_SUCCESS);\n"
382 "}\n"
383
384 #. type: Plain text
385 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
386 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
387 msgid ""
388 "When we run the program as follows, we see that B<mtrace>() diagnosed "
389 "memory leaks at two different locations in the program:"
390 msgstr ""
391 "Când rulăm programul după cum urmează, observăm că B<mtrace>() a "
392 "diagnosticat pierderi de memorie în două locații diferite din program:"
393
394 #. type: Plain text
395 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
396 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
397 #, no-wrap
398 msgid ""
399 "$ B<cc -g t_mtrace.c -o t_mtrace>\n"
400 "$ B<export MALLOC_TRACE=/tmp/t>\n"
401 "$ B<./t_mtrace>\n"
402 "$ B<mtrace ./t_mtrace $MALLOC_TRACE>\n"
403 "Memory not freed:\n"
404 "-----------------\n"
405 " Address Size Caller\n"
406 "0x084c9378 0x64 at /home/cecilia/t_mtrace.c:12\n"
407 "0x084c93e0 0x64 at /home/cecilia/t_mtrace.c:12\n"
408 "0x084c9448 0x100 at /home/cecilia/t_mtrace.c:16\n"
409 msgstr ""
410 "$ B<cc -g t_mtrace.c -o t_mtrace>\n"
411 "$ B<export MALLOC_TRACE=/tmp/t>\n"
412 "$ B<./t_mtrace>\n"
413 "$ B<mtrace ./t_mtrace $MALLOC_TRACE>\n"
414 "Memorie neeliberată:\n"
415 "-----------------\n"
416 " Adresa Dimens Apelant\n"
417 "0x084c9378 0x64 la /home/cecilia/t_mtrace.c:12\n"
418 "0x084c93e0 0x64 la /home/cecilia/t_mtrace.c:12\n"
419 "0x084c9448 0x100 la /home/cecilia/t_mtrace.c:16\n"
420
421 #. type: Plain text
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 msgid ""
425 "The first two messages about unfreed memory correspond to the two "
426 "B<malloc>(3) calls inside the I<for> loop. The final message corresponds "
427 "to the call to B<calloc>(3) (which in turn calls B<malloc>(3))."
428 msgstr ""
429 "Primele două mesaje despre memoria neliberată corespund celor două apeluri "
430 "B<malloc>(3) din interiorul buclei I<for>. Ultimul mesaj corespunde "
431 "apelului la B<calloc>(3) (care, la rândul său, apelează B<malloc>(3))."
432
433 #. type: SH
434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
436 #, no-wrap
437 msgid "SEE ALSO"
438 msgstr "CONSULTAȚI ȘI"
439
440 #. type: Plain text
441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
443 msgid "B<mtrace>(1), B<malloc>(3), B<malloc_hook>(3), B<mcheck>(3)"
444 msgstr "B<mtrace>(1), B<malloc>(3), B<malloc_hook>(3), B<mcheck>(3)"
445
446 #. type: TH
447 #: debian-trixie
448 #, no-wrap
449 msgid "2024-05-02"
450 msgstr "2 mai 2024"
451
452 #. type: TH
453 #: debian-trixie
454 #, no-wrap
455 msgid "Linux man-pages 6.9.1"
456 msgstr "Pagini de manual de Linux 6.9.1"
457
458 #. type: Plain text
459 #: debian-trixie
460 msgid "Standard C library (I<libc>, I<-lc>)"
461 msgstr "Biblioteca C standard (I<libc>, I<-lc>)"
462
463 #. type: TH
464 #: fedora-44 fedora-rawhide
465 #, no-wrap
466 msgid "2024-07-23"
467 msgstr "23 iulie 2024"
468
469 #. type: TH
470 #: fedora-44 fedora-rawhide
471 #, no-wrap
472 msgid "Linux man-pages 6.13"
473 msgstr "Pagini de manual de Linux 6.13"
474
475 #. type: TH
476 #: mageia-cauldron
477 #, no-wrap
478 msgid "Linux man-pages 6.17"
479 msgstr "Pagini de manual de Linux 6.17"
480
481 #. type: TH
482 #: opensuse-leap-16-1 opensuse-tumbleweed
483 #, no-wrap
484 msgid "Linux man-pages (unreleased)"
485 msgstr "Pagini de manual Linux (nepublicate)"