| 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:30+0200\n" |
| 9 |
"PO-Revision-Date: 2025-02-02 12:04+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.5\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 "__malloc_hook" |
| 25 |
msgstr "__malloc_hook" |
| 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 "" |
| 51 |
"__malloc_hook, __malloc_initialize_hook, __memalign_hook, __free_hook, " |
| 52 |
"__realloc_hook, __after_morecore_hook - malloc debugging variables " |
| 53 |
"(DEPRECATED)" |
| 54 |
msgstr "" |
| 55 |
"__malloc_hook, __malloc_initialize_hook, __memalign_hook, __free_hook, " |
| 56 |
"__realloc_hook, __after_morecore_hook - variabile de depanare malloc " |
| 57 |
"(DEPRECIATE)" |
| 58 |
|
| 59 |
#. type: SH |
| 60 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 61 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 62 |
#, no-wrap |
| 63 |
msgid "LIBRARY" |
| 64 |
msgstr "BIBLIOTECA" |
| 65 |
|
| 66 |
#. type: Plain text |
| 67 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 68 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 69 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 70 |
msgstr "Biblioteca C standard (I<libc>, I<-lc>)" |
| 71 |
|
| 72 |
#. type: SH |
| 73 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 74 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 75 |
#, no-wrap |
| 76 |
msgid "SYNOPSIS" |
| 77 |
msgstr "SINOPSIS" |
| 78 |
|
| 79 |
#. type: Plain text |
| 80 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 81 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 82 |
#, no-wrap |
| 83 |
msgid "B<#include E<lt>malloc.hE<gt>>\n" |
| 84 |
msgstr "B<#include E<lt>malloc.hE<gt>>\n" |
| 85 |
|
| 86 |
#. type: Plain text |
| 87 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 88 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 89 |
#, no-wrap |
| 90 |
msgid "" |
| 91 |
"B<typeof(void *(size_t >I<size>B<, const void *>I<caller>B<))>\n" |
| 92 |
"B<*volatile __malloc_hook;>\n" |
| 93 |
msgstr "" |
| 94 |
"B<typeof(void *(size_t >I<size>B<, const void *>I<caller>B<))>\n" |
| 95 |
"B<*volatile __malloc_hook;>\n" |
| 96 |
|
| 97 |
#. type: Plain text |
| 98 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 99 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 100 |
#, no-wrap |
| 101 |
msgid "" |
| 102 |
"B<typeof(void *(void *>I<p>B<, size_t >I<size>B<, const void *>I<caller>B<))>\n" |
| 103 |
"B<*volatile __realloc_hook;>\n" |
| 104 |
msgstr "" |
| 105 |
"B<typeof(void *(void *>I<p>B<, size_t >I<size>B<, const void *>I<caller>B<))>\n" |
| 106 |
"B<*volatile __realloc_hook;>\n" |
| 107 |
|
| 108 |
#. type: Plain text |
| 109 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 110 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 111 |
#, no-wrap |
| 112 |
msgid "" |
| 113 |
"B<typeof(void *(size_t >I<align>B<, size_t >I<size>B<, const void *>I<caller>B<))>\n" |
| 114 |
"B<*volatile __memalign_hook;>\n" |
| 115 |
msgstr "" |
| 116 |
"B<typeof(void *(size_t >I<align>B<, size_t >I<size>B<, const void *>I<caller>B<))>\n" |
| 117 |
"B<*volatile __memalign_hook;>\n" |
| 118 |
|
| 119 |
#. type: Plain text |
| 120 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 121 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 122 |
#, no-wrap |
| 123 |
msgid "" |
| 124 |
"B<typeof(void *(void *>I<p>B<, const void *>I<caller>B<))>\n" |
| 125 |
"B<*volatile __free_hook;>\n" |
| 126 |
msgstr "" |
| 127 |
"B<typeof(void *(void *>I<p>B<, const void *>I<caller>B<))>\n" |
| 128 |
"B<*volatile __free_hook;>\n" |
| 129 |
|
| 130 |
#. type: Plain text |
| 131 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 132 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 133 |
#, no-wrap |
| 134 |
msgid "" |
| 135 |
"B<typeof(void (void)) *__malloc_initialize_hook;>\n" |
| 136 |
"B<typeof(void (void)) *volatile __after_mrecore_hook;>\n" |
| 137 |
msgstr "" |
| 138 |
"B<typeof(void (void)) *__malloc_initialize_hook;>\n" |
| 139 |
"B<typeof(void (void)) *volatile __after_mrecore_hook;>\n" |
| 140 |
|
| 141 |
#. type: SH |
| 142 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 143 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 144 |
#, no-wrap |
| 145 |
msgid "DESCRIPTION" |
| 146 |
msgstr "DESCRIERE" |
| 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 |
"The GNU C library lets you modify the behavior of B<malloc>(3), " |
| 153 |
"B<realloc>(3), and B<free>(3) by specifying appropriate hook functions. " |
| 154 |
"You can use these hooks to help you debug programs that use dynamic memory " |
| 155 |
"allocation, for example." |
| 156 |
msgstr "" |
| 157 |
"Biblioteca GNU C vă permite să modificați comportamentul lui B<malloc>(3), " |
| 158 |
"B<realloc>(3) și B<free>(3) prin specificarea unor funcții cârlig " |
| 159 |
"corespunzătoare. Puteți utiliza aceste cârlige pentru a vă ajuta la " |
| 160 |
"depanarea programelor care utilizează alocarea dinamică a memoriei, de " |
| 161 |
"exemplu." |
| 162 |
|
| 163 |
#. type: Plain text |
| 164 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 165 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 166 |
msgid "" |
| 167 |
"The variable B<__malloc_initialize_hook> points at a function that is called " |
| 168 |
"once when the malloc implementation is initialized. This is a weak " |
| 169 |
"variable, so it can be overridden in the application with a definition like " |
| 170 |
"the following:" |
| 171 |
msgstr "" |
| 172 |
"Variabila B<__malloc_initialize_hook> indică o funcție care este apelată o " |
| 173 |
"singură dată atunci când este inițializată implementarea malloc. Aceasta " |
| 174 |
"este o variabilă slabă, astfel încât poate fi suprascrisă în aplicație cu o " |
| 175 |
"definiție ca cea de mai jos:" |
| 176 |
|
| 177 |
#. type: Plain text |
| 178 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 179 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 180 |
#, no-wrap |
| 181 |
msgid "typeof(void (void)) *__malloc_initialize_hook = my_init_hook;\n" |
| 182 |
msgstr "typeof(void (void)) *__malloc_initialize_hook = my_init_hook;\n" |
| 183 |
|
| 184 |
#. type: Plain text |
| 185 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 186 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 187 |
msgid "" |
| 188 |
"Now the function I<my_init_hook>() can do the initialization of all hooks." |
| 189 |
msgstr "" |
| 190 |
"Acum, funcția I<my_init_hook>() poate face inițializarea tuturor cârligelor." |
| 191 |
|
| 192 |
#. type: Plain text |
| 193 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 194 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 195 |
msgid "" |
| 196 |
"The four functions pointed to by B<__malloc_hook>, B<__realloc_hook>, " |
| 197 |
"B<__memalign_hook>, B<__free_hook> have a prototype like the functions " |
| 198 |
"B<malloc>(3), B<realloc>(3), B<memalign>(3), B<free>(3), respectively, " |
| 199 |
"except that they have a final argument I<caller> that gives the address of " |
| 200 |
"the caller of B<malloc>(3), etc." |
| 201 |
msgstr "" |
| 202 |
"Cele patru funcții indicate de B<__malloc_hook>, B<__realloc_hook>, " |
| 203 |
"B<__memalign_hook>, B<__free_hook> au un prototip asemănător funcțiilor " |
| 204 |
"B<malloc>(3), B<realloc>(3), B<memalign>(3), B<free>(3), respectiv " |
| 205 |
"B<memalign>(3), cu excepția faptului că acestea au un argument final " |
| 206 |
"I<caller> care oferă adresa apelantului lui B<malloc>(3), etc." |
| 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 |
"The variable B<__after_morecore_hook> points at a function that is called " |
| 213 |
"each time after B<sbrk>(2) was asked for more memory." |
| 214 |
msgstr "" |
| 215 |
"Variabila B<__after_morecore_hook> indică o funcție care este apelată de " |
| 216 |
"fiecare dată după ce lui B<sbrk>(2) i s-a cerut mai multă memorie." |
| 217 |
|
| 218 |
#. type: SH |
| 219 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 220 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 221 |
#, no-wrap |
| 222 |
msgid "STANDARDS" |
| 223 |
msgstr "STANDARDE" |
| 224 |
|
| 225 |
#. type: Plain text |
| 226 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 227 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 228 |
msgid "GNU." |
| 229 |
msgstr "GNU." |
| 230 |
|
| 231 |
#. type: SH |
| 232 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 233 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 234 |
#, no-wrap |
| 235 |
msgid "NOTES" |
| 236 |
msgstr "NOTE" |
| 237 |
|
| 238 |
#. https://bugzilla.redhat.com/show_bug.cgi?id=450187 |
| 239 |
#. http://sourceware.org/bugzilla/show_bug.cgi?id=9957 |
| 240 |
#. type: Plain text |
| 241 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 242 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 243 |
msgid "" |
| 244 |
"The use of these hook functions is not safe in multithreaded programs, and " |
| 245 |
"they are now deprecated. From glibc 2.24 onwards, the " |
| 246 |
"B<__malloc_initialize_hook> variable has been removed from the API, and from " |
| 247 |
"glibc 2.34 onwards, all the hook variables have been removed from the API. " |
| 248 |
"Programmers should instead preempt calls to the relevant functions by " |
| 249 |
"defining and exporting B<malloc>(), B<free>(), B<realloc>(), and B<calloc>()." |
| 250 |
msgstr "" |
| 251 |
"Utilizarea acestor funcții cârlig nu este sigură în programele cu mai multe " |
| 252 |
"fire, iar acum acestea sunt depreciate. Începând cu glibc 2.24, variabila " |
| 253 |
"B<__malloc_initialize_hook> a fost eliminată din API, iar începând cu glibc " |
| 254 |
"2.34, toate variabilele cârlig au fost eliminate din API. În schimb, " |
| 255 |
"programatorii ar trebui să preîntâmpine apelurile către funcțiile relevante " |
| 256 |
"prin definirea și exportul B<malloc>(), B<free>(), B<realloc>() și " |
| 257 |
"B<calloc>()." |
| 258 |
|
| 259 |
#. type: SH |
| 260 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 261 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 262 |
#, no-wrap |
| 263 |
msgid "EXAMPLES" |
| 264 |
msgstr "EXEMPLE" |
| 265 |
|
| 266 |
#. type: Plain text |
| 267 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 268 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 269 |
msgid "Here is a short example of how to use these variables." |
| 270 |
msgstr "Iată un scurt exemplu de utilizare a acestor variabile." |
| 271 |
|
| 272 |
#. type: Plain text |
| 273 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 274 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 275 |
#, no-wrap |
| 276 |
msgid "" |
| 277 |
"#include E<lt>stdio.hE<gt>\n" |
| 278 |
"#include E<lt>malloc.hE<gt>\n" |
| 279 |
"\\&\n" |
| 280 |
"/* Prototypes for our hooks */\n" |
| 281 |
"static void my_init_hook(void);\n" |
| 282 |
"static void *my_malloc_hook(size_t, const void *);\n" |
| 283 |
"\\&\n" |
| 284 |
"/* Variables to save original hooks */\n" |
| 285 |
"static typeof(void *(size_t, const void *)) *old_malloc_hook;\n" |
| 286 |
"\\&\n" |
| 287 |
"/* Override initializing hook from the C library */\n" |
| 288 |
"typeof(void (void)) *__malloc_initialize_hook = my_init_hook;\n" |
| 289 |
"\\&\n" |
| 290 |
"static void\n" |
| 291 |
"my_init_hook(void)\n" |
| 292 |
"{\n" |
| 293 |
" old_malloc_hook = __malloc_hook;\n" |
| 294 |
" __malloc_hook = my_malloc_hook;\n" |
| 295 |
"}\n" |
| 296 |
"\\&\n" |
| 297 |
"static void *\n" |
| 298 |
"my_malloc_hook(size_t size, const void *caller)\n" |
| 299 |
"{\n" |
| 300 |
" void *result;\n" |
| 301 |
"\\&\n" |
| 302 |
" /* Restore all old hooks */\n" |
| 303 |
" __malloc_hook = old_malloc_hook;\n" |
| 304 |
"\\&\n" |
| 305 |
" /* Call recursively */\n" |
| 306 |
" result = malloc(size);\n" |
| 307 |
"\\&\n" |
| 308 |
" /* Save underlying hooks */\n" |
| 309 |
" old_malloc_hook = __malloc_hook;\n" |
| 310 |
"\\&\n" |
| 311 |
" /* printf() might call malloc(), so protect it too */\n" |
| 312 |
" printf(\"malloc(%zu) called from %p returns %p\\[rs]n\",\n" |
| 313 |
" size, caller, result);\n" |
| 314 |
"\\&\n" |
| 315 |
" /* Restore our own hooks */\n" |
| 316 |
" __malloc_hook = my_malloc_hook;\n" |
| 317 |
"\\&\n" |
| 318 |
" return result;\n" |
| 319 |
"}\n" |
| 320 |
msgstr "" |
| 321 |
"#include E<lt>stdio.hE<gt>\n" |
| 322 |
"#include E<lt>malloc.hE<gt>\n" |
| 323 |
"\\&\n" |
| 324 |
"/* Prototipurile pentru cârligele noastre */\n" |
| 325 |
"static void my_init_hook(void);\n" |
| 326 |
"static void *my_malloc_hook(size_t, const void *);\n" |
| 327 |
"\\&\n" |
| 328 |
"/* Variabile pentru a salva cârligele originale */\n" |
| 329 |
"static typeof(void *(size_t, const void *)) *old_malloc_hook;\n" |
| 330 |
"\\&\n" |
| 331 |
"/* Suprascrie cârligul de inițializare din biblioteca C */\n" |
| 332 |
"typeof(void (void)) *__malloc_initialize_hook = my_init_hook;\n" |
| 333 |
"\\&\n" |
| 334 |
"static void\n" |
| 335 |
"my_init_hook(void)\n" |
| 336 |
"{\n" |
| 337 |
" old_malloc_hook = __malloc_hook;\n" |
| 338 |
" __malloc_hook = my_malloc_hook;\n" |
| 339 |
"}\n" |
| 340 |
"\\&\n" |
| 341 |
"static void *\n" |
| 342 |
"my_malloc_hook(size_t size, const void *caller)\n" |
| 343 |
"{\n" |
| 344 |
" void *result;\n" |
| 345 |
"\\&\n" |
| 346 |
" /* Restabilește toate cârligele vechi */\n" |
| 347 |
" __malloc_hook = old_malloc_hook;\n" |
| 348 |
"\\&\n" |
| 349 |
" /* Apel recursiv */\n" |
| 350 |
" result = malloc(size);\n" |
| 351 |
"\\&\n" |
| 352 |
" /* Salvează cârligele de bază */\n" |
| 353 |
" old_malloc_hook = __malloc_hook;\n" |
| 354 |
"\\&\n" |
| 355 |
" /* printf() might call malloc(), so protect it too */\n" |
| 356 |
" printf(\"malloc(%zu) apelat de la %p returnează %p\\[rs]n\",\n" |
| 357 |
" size, caller, result);\n" |
| 358 |
"\\&\n" |
| 359 |
" /* Restabilește propriile noastre cârlige */\n" |
| 360 |
" __malloc_hook = my_malloc_hook;\n" |
| 361 |
"\\&\n" |
| 362 |
" return result;\n" |
| 363 |
"}\n" |
| 364 |
|
| 365 |
#. type: SH |
| 366 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 367 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 368 |
#, no-wrap |
| 369 |
msgid "SEE ALSO" |
| 370 |
msgstr "CONSULTAȚI ȘI" |
| 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 "B<mallinfo>(3), B<malloc>(3), B<mcheck>(3), B<mtrace>(3)" |
| 376 |
msgstr "B<mallinfo>(3), B<malloc>(3), B<mcheck>(3), B<mtrace>(3)" |
| 377 |
|
| 378 |
#. type: TH |
| 379 |
#: debian-trixie |
| 380 |
#, no-wrap |
| 381 |
msgid "2024-06-15" |
| 382 |
msgstr "15 iunie 2024" |
| 383 |
|
| 384 |
#. type: TH |
| 385 |
#: debian-trixie |
| 386 |
#, no-wrap |
| 387 |
msgid "Linux man-pages 6.9.1" |
| 388 |
msgstr "Pagini de manual de Linux 6.9.1" |
| 389 |
|
| 390 |
#. type: Plain text |
| 391 |
#: debian-trixie |
| 392 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 393 |
msgstr "Biblioteca C standard (I<libc>, I<-lc>)" |
| 394 |
|
| 395 |
#. type: Plain text |
| 396 |
#: debian-trixie |
| 397 |
#, no-wrap |
| 398 |
msgid "B<void *(*volatile __malloc_hook)(size_t >I<size>B<, const void *>I<caller>B<);>\n" |
| 399 |
msgstr "B<void *(*volatile __malloc_hook)(size_t >I<size>B<, const void *>I<caller>B<);>\n" |
| 400 |
|
| 401 |
#. type: Plain text |
| 402 |
#: debian-trixie |
| 403 |
#, no-wrap |
| 404 |
msgid "" |
| 405 |
"B<void *(*volatile __realloc_hook)(void *>I<ptr>B<, size_t >I<size>B<,>\n" |
| 406 |
"B< const void *>I<caller>B<);>\n" |
| 407 |
msgstr "" |
| 408 |
"B<void *(*volatile __realloc_hook)(void *>I<ptr>B<, size_t >I<size>B<,>\n" |
| 409 |
"B< const void *>I<caller>B<);>\n" |
| 410 |
|
| 411 |
#. type: Plain text |
| 412 |
#: debian-trixie |
| 413 |
#, no-wrap |
| 414 |
msgid "" |
| 415 |
"B<void *(*volatile __memalign_hook)(size_t >I<alignment>B<, size_t >I<size>B<,>\n" |
| 416 |
"B< const void *>I<caller>B<);>\n" |
| 417 |
msgstr "" |
| 418 |
"B<void *(*volatile __memalign_hook)(size_t >I<alignment>B<, size_t >I<size>B<,>\n" |
| 419 |
"B< const void *>I<caller>B<);>\n" |
| 420 |
|
| 421 |
#. type: Plain text |
| 422 |
#: debian-trixie |
| 423 |
#, no-wrap |
| 424 |
msgid "B<void (*volatile __free_hook)(void *>I<ptr>B<, const void *>I<caller>B<);>\n" |
| 425 |
msgstr "B<void (*volatile __free_hook)(void *>I<ptr>B<, const void *>I<caller>B<);>\n" |
| 426 |
|
| 427 |
#. type: Plain text |
| 428 |
#: debian-trixie |
| 429 |
#, no-wrap |
| 430 |
msgid "B<void (*__malloc_initialize_hook)(void);>\n" |
| 431 |
msgstr "B<void (*__malloc_initialize_hook)(void);>\n" |
| 432 |
|
| 433 |
#. type: Plain text |
| 434 |
#: debian-trixie |
| 435 |
#, no-wrap |
| 436 |
msgid "B<void (*volatile __after_morecore_hook)(void);>\n" |
| 437 |
msgstr "B<void (*volatile __after_morecore_hook)(void);>\n" |
| 438 |
|
| 439 |
#. type: Plain text |
| 440 |
#: debian-trixie |
| 441 |
#, no-wrap |
| 442 |
msgid "void (*__malloc_initialize_hook)(void) = my_init_hook;\n" |
| 443 |
msgstr "void (*__malloc_initialize_hook)(void) = my_init_hook;\n" |
| 444 |
|
| 445 |
#. type: Plain text |
| 446 |
#: debian-trixie |
| 447 |
#, no-wrap |
| 448 |
msgid "" |
| 449 |
"#include E<lt>stdio.hE<gt>\n" |
| 450 |
"#include E<lt>malloc.hE<gt>\n" |
| 451 |
"\\&\n" |
| 452 |
"/* Prototypes for our hooks */\n" |
| 453 |
"static void my_init_hook(void);\n" |
| 454 |
"static void *my_malloc_hook(size_t, const void *);\n" |
| 455 |
"\\&\n" |
| 456 |
"/* Variables to save original hooks */\n" |
| 457 |
"static void *(*old_malloc_hook)(size_t, const void *);\n" |
| 458 |
"\\&\n" |
| 459 |
"/* Override initializing hook from the C library */\n" |
| 460 |
"void (*__malloc_initialize_hook)(void) = my_init_hook;\n" |
| 461 |
"\\&\n" |
| 462 |
"static void\n" |
| 463 |
"my_init_hook(void)\n" |
| 464 |
"{\n" |
| 465 |
" old_malloc_hook = __malloc_hook;\n" |
| 466 |
" __malloc_hook = my_malloc_hook;\n" |
| 467 |
"}\n" |
| 468 |
"\\&\n" |
| 469 |
"static void *\n" |
| 470 |
"my_malloc_hook(size_t size, const void *caller)\n" |
| 471 |
"{\n" |
| 472 |
" void *result;\n" |
| 473 |
"\\&\n" |
| 474 |
" /* Restore all old hooks */\n" |
| 475 |
" __malloc_hook = old_malloc_hook;\n" |
| 476 |
"\\&\n" |
| 477 |
" /* Call recursively */\n" |
| 478 |
" result = malloc(size);\n" |
| 479 |
"\\&\n" |
| 480 |
" /* Save underlying hooks */\n" |
| 481 |
" old_malloc_hook = __malloc_hook;\n" |
| 482 |
"\\&\n" |
| 483 |
" /* printf() might call malloc(), so protect it too */\n" |
| 484 |
" printf(\"malloc(%zu) called from %p returns %p\\[rs]n\",\n" |
| 485 |
" size, caller, result);\n" |
| 486 |
"\\&\n" |
| 487 |
" /* Restore our own hooks */\n" |
| 488 |
" __malloc_hook = my_malloc_hook;\n" |
| 489 |
"\\&\n" |
| 490 |
" return result;\n" |
| 491 |
"}\n" |
| 492 |
msgstr "" |
| 493 |
"#include E<lt>stdio.hE<gt>\n" |
| 494 |
"#include E<lt>malloc.hE<gt>\n" |
| 495 |
"\\&\n" |
| 496 |
"/* Prototipurile pentru cârligele noastre */\n" |
| 497 |
"static void my_init_hook(void);\n" |
| 498 |
"static void *my_malloc_hook(size_t, const void *);\n" |
| 499 |
"\\&\n" |
| 500 |
"/* Variabile pentru a salva cârligele originale */\n" |
| 501 |
"static void *(*old_malloc_hook)(size_t, const void *);\n" |
| 502 |
"\\&\n" |
| 503 |
"/* Suprascrie cârligul de inițializare din biblioteca C */\n" |
| 504 |
"void (*__malloc_initialize_hook)(void) = my_init_hook;\n" |
| 505 |
"\\&\n" |
| 506 |
"static void\n" |
| 507 |
"my_init_hook(void)\n" |
| 508 |
"{\n" |
| 509 |
" old_malloc_hook = __malloc_hook;\n" |
| 510 |
" __malloc_hook = my_malloc_hook;\n" |
| 511 |
"}\n" |
| 512 |
"\\&\n" |
| 513 |
"static void *\n" |
| 514 |
"my_malloc_hook(size_t size, const void *caller)\n" |
| 515 |
"{\n" |
| 516 |
" void *result;\n" |
| 517 |
"\\&\n" |
| 518 |
" /* Restabilește toate cârligele vechi */\n" |
| 519 |
" __malloc_hook = old_malloc_hook;\n" |
| 520 |
"\\&\n" |
| 521 |
" /* Apel recursiv */\n" |
| 522 |
" result = malloc(size);\n" |
| 523 |
"\\&\n" |
| 524 |
" /* Salvează cârligele de bază */\n" |
| 525 |
" old_malloc_hook = __malloc_hook;\n" |
| 526 |
"\\&\n" |
| 527 |
" /* printf() might call malloc(), so protect it too */\n" |
| 528 |
" printf(\"malloc(%zu) apelat din %p returnează %p\\[rs]n\",\n" |
| 529 |
" size, caller, result);\n" |
| 530 |
"\\&\n" |
| 531 |
" /* Restabilește propriile noastre cârlige*/\n" |
| 532 |
" __malloc_hook = my_malloc_hook;\n" |
| 533 |
"\\&\n" |
| 534 |
" return result;\n" |
| 535 |
"}\n" |
| 536 |
|
| 537 |
#. type: TH |
| 538 |
#: fedora-44 fedora-rawhide |
| 539 |
#, no-wrap |
| 540 |
msgid "2025-01-05" |
| 541 |
msgstr "5 ianuarie 2025" |
| 542 |
|
| 543 |
#. type: TH |
| 544 |
#: fedora-44 fedora-rawhide |
| 545 |
#, no-wrap |
| 546 |
msgid "Linux man-pages 6.13" |
| 547 |
msgstr "Pagini de manual de Linux 6.13" |
| 548 |
|
| 549 |
#. type: TH |
| 550 |
#: mageia-cauldron |
| 551 |
#, no-wrap |
| 552 |
msgid "Linux man-pages 6.17" |
| 553 |
msgstr "Pagini de manual de Linux 6.17" |
| 554 |
|
| 555 |
#. type: TH |
| 556 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 557 |
#, no-wrap |
| 558 |
msgid "Linux man-pages (unreleased)" |
| 559 |
msgstr "Pagini de manual Linux (nepublicate)" |