| 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:18+0200\n" |
| 9 |
"PO-Revision-Date: 2025-11-05 09:13+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.6\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 "atexit" |
| 25 |
msgstr "atexit" |
| 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 "atexit - register a function to be called at normal process termination" |
| 51 |
msgstr "" |
| 52 |
"atexit - înregistrează o funcție care să fie apelată la terminarea normală a " |
| 53 |
"procesului" |
| 54 |
|
| 55 |
#. type: SH |
| 56 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 57 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 58 |
#, no-wrap |
| 59 |
msgid "LIBRARY" |
| 60 |
msgstr "BIBLIOTECA" |
| 61 |
|
| 62 |
#. type: Plain text |
| 63 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 64 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 65 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 66 |
msgstr "Biblioteca C standard (I<libc>, I<-lc>)" |
| 67 |
|
| 68 |
#. type: SH |
| 69 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 70 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 71 |
#, no-wrap |
| 72 |
msgid "SYNOPSIS" |
| 73 |
msgstr "SINOPSIS" |
| 74 |
|
| 75 |
#. type: Plain text |
| 76 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 77 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 78 |
#, no-wrap |
| 79 |
msgid "B<#include E<lt>stdlib.hE<gt>>\n" |
| 80 |
msgstr "B<#include E<lt>stdlib.hE<gt>>\n" |
| 81 |
|
| 82 |
#. type: Plain text |
| 83 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 84 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 85 |
#, no-wrap |
| 86 |
msgid "B<int atexit(typeof(void (void)) *>I<function>B<);>\n" |
| 87 |
msgstr "B<int atexit(typeof(void (void)) *>I<function>B<);>\n" |
| 88 |
|
| 89 |
#. type: SH |
| 90 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 91 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 92 |
#, no-wrap |
| 93 |
msgid "DESCRIPTION" |
| 94 |
msgstr "DESCRIERE" |
| 95 |
|
| 96 |
#. type: Plain text |
| 97 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 98 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 99 |
msgid "" |
| 100 |
"The B<atexit>() function registers the given I<function> to be called at " |
| 101 |
"normal process termination, either via B<exit>(3) or via return from the " |
| 102 |
"program's I<main>(). Functions so registered are called in the reverse " |
| 103 |
"order of their registration; no arguments are passed." |
| 104 |
msgstr "" |
| 105 |
"Funcția B<atexit>() înregistrează I<funcția> dată pentru a fi apelată la " |
| 106 |
"terminarea normală a procesului, fie prin B<exit>(3), fie prin întoarcerea " |
| 107 |
"de la I<main>() a programului. Funcțiile astfel înregistrate sunt apelate " |
| 108 |
"în ordinea inversă a înregistrării lor; nu se transmit argumente." |
| 109 |
|
| 110 |
#. type: Plain text |
| 111 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 112 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 113 |
msgid "" |
| 114 |
"The same function may be registered multiple times: it is called once for " |
| 115 |
"each registration." |
| 116 |
msgstr "" |
| 117 |
"Aceeași funcție poate fi înregistrată de mai multe ori: aceasta este apelată " |
| 118 |
"o singură dată pentru fiecare înregistrare." |
| 119 |
|
| 120 |
#. POSIX.1-2001, POSIX.1-2008 |
| 121 |
#. type: Plain text |
| 122 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 123 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 124 |
msgid "" |
| 125 |
"POSIX.1 requires that an implementation allow at least B<ATEXIT_MAX> (32) " |
| 126 |
"such functions to be registered. The actual limit supported by an " |
| 127 |
"implementation can be obtained using B<sysconf>(3)." |
| 128 |
msgstr "" |
| 129 |
"POSIX.1 impune ca o implementare să permită înregistrarea a cel puțin " |
| 130 |
"B<ATEXIT_MAX> (32) astfel de funcții. Limita reală acceptată de o " |
| 131 |
"implementare poate fi obținută cu ajutorul B<sysconf>(3)." |
| 132 |
|
| 133 |
#. type: Plain text |
| 134 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 135 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 136 |
msgid "" |
| 137 |
"When a child process is created via B<fork>(2), it inherits copies of its " |
| 138 |
"parent's registrations. Upon a successful call to one of the B<exec>(3) " |
| 139 |
"functions, all registrations are removed." |
| 140 |
msgstr "" |
| 141 |
"Atunci când un proces-copil este creat prin B<fork>(2), acesta moștenește " |
| 142 |
"procesele-copil ale înregistrărilor părintelui său. La un apel reușit la una " |
| 143 |
"dintre funcțiile B<exec>(3), toate înregistrările sunt eliminate." |
| 144 |
|
| 145 |
#. type: SH |
| 146 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 147 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 148 |
#, no-wrap |
| 149 |
msgid "RETURN VALUE" |
| 150 |
msgstr "VALOAREA RETURNATĂ" |
| 151 |
|
| 152 |
#. type: Plain text |
| 153 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 154 |
#: opensuse-tumbleweed |
| 155 |
msgid "" |
| 156 |
"The B<atexit>() function returns the value 0 if successful; otherwise, it " |
| 157 |
"returns a nonzero value." |
| 158 |
msgstr "" |
| 159 |
"Funcția B<atexit>() returnează valoarea 0 în caz de succes; în caz contrar, " |
| 160 |
"returnează o valoare diferită de zero." |
| 161 |
|
| 162 |
#. type: SH |
| 163 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 164 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 165 |
#, no-wrap |
| 166 |
msgid "ATTRIBUTES" |
| 167 |
msgstr "ATRIBUTE" |
| 168 |
|
| 169 |
#. type: Plain text |
| 170 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 171 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 172 |
msgid "" |
| 173 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 174 |
msgstr "" |
| 175 |
"Pentru o explicație a termenilor folosiți în această secțiune, a se vedea " |
| 176 |
"B<attributes>(7)." |
| 177 |
|
| 178 |
#. type: tbl table |
| 179 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 180 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 181 |
#, no-wrap |
| 182 |
msgid "Interface" |
| 183 |
msgstr "Interfață" |
| 184 |
|
| 185 |
#. type: tbl table |
| 186 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 187 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 188 |
#, no-wrap |
| 189 |
msgid "Attribute" |
| 190 |
msgstr "Atribut" |
| 191 |
|
| 192 |
#. type: tbl table |
| 193 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 194 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 195 |
#, no-wrap |
| 196 |
msgid "Value" |
| 197 |
msgstr "Valoare" |
| 198 |
|
| 199 |
#. type: tbl table |
| 200 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 201 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 202 |
#, no-wrap |
| 203 |
msgid ".na\n" |
| 204 |
msgstr ".na\n" |
| 205 |
|
| 206 |
#. type: tbl table |
| 207 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 208 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 209 |
#, no-wrap |
| 210 |
msgid ".nh\n" |
| 211 |
msgstr ".nh\n" |
| 212 |
|
| 213 |
#. type: tbl table |
| 214 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 215 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 216 |
#, no-wrap |
| 217 |
msgid "B<atexit>()" |
| 218 |
msgstr "B<atexit>()" |
| 219 |
|
| 220 |
#. type: tbl table |
| 221 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 222 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 223 |
#, no-wrap |
| 224 |
msgid "Thread safety" |
| 225 |
msgstr "Siguranța firelor" |
| 226 |
|
| 227 |
#. type: tbl table |
| 228 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 229 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 230 |
#, no-wrap |
| 231 |
msgid "MT-Safe" |
| 232 |
msgstr "MT-Safe" |
| 233 |
|
| 234 |
#. type: SH |
| 235 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 236 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 237 |
#, no-wrap |
| 238 |
msgid "VERSIONS" |
| 239 |
msgstr "VERSIUNI" |
| 240 |
|
| 241 |
#. POSIX.1-2001, POSIX.1-2008 |
| 242 |
#. This can happen on OpenBSD 4.2 for example, and is documented |
| 243 |
#. as occurring on FreeBSD as well. |
| 244 |
#. glibc does "the Right Thing" -- invocation of the remaining |
| 245 |
#. exit handlers carries on as normal. |
| 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 |
"POSIX.1 says that the result of calling B<exit>(3) more than once (i.e., " |
| 251 |
"calling B<exit>(3) within a function registered using B<atexit>()) is " |
| 252 |
"undefined. On some systems (but not Linux), this can result in an infinite " |
| 253 |
"recursion; portable programs should not invoke B<exit>(3) inside a function " |
| 254 |
"registered using B<atexit>()." |
| 255 |
msgstr "" |
| 256 |
"POSIX.1 precizează că rezultatul apelării B<exit>(3) de mai multe ori (adică " |
| 257 |
"apelarea B<exit>(3) în cadrul unei funcții înregistrate cu B<atexit>()) este " |
| 258 |
"nedefinit. Pe unele sisteme (dar nu și pe Linux), acest lucru poate duce la " |
| 259 |
"o recursivitate infinită; programele portabile nu ar trebui să invoce " |
| 260 |
"B<exit>(3) în interiorul unei funcții înregistrate cu B<atexit>()." |
| 261 |
|
| 262 |
#. type: SH |
| 263 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 264 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 265 |
#, no-wrap |
| 266 |
msgid "STANDARDS" |
| 267 |
msgstr "STANDARDE" |
| 268 |
|
| 269 |
#. type: Plain text |
| 270 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 271 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 272 |
msgid "C11, POSIX.1-2008." |
| 273 |
msgstr "C11, POSIX.1-2008." |
| 274 |
|
| 275 |
#. type: SH |
| 276 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 277 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 278 |
#, no-wrap |
| 279 |
msgid "HISTORY" |
| 280 |
msgstr "ISTORIC" |
| 281 |
|
| 282 |
#. type: Plain text |
| 283 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 284 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 285 |
msgid "POSIX.1-2001, C89, C99, SVr4, 4.3BSD." |
| 286 |
msgstr "POSIX.1-2001, C89, C99, SVr4, 4.3BSD." |
| 287 |
|
| 288 |
#. type: SH |
| 289 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 290 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 291 |
#, no-wrap |
| 292 |
msgid "NOTES" |
| 293 |
msgstr "NOTE" |
| 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 |
msgid "" |
| 299 |
"Functions registered using B<atexit>() (and B<on_exit>(3)) are not called " |
| 300 |
"if a process terminates abnormally because of the delivery of a signal." |
| 301 |
msgstr "" |
| 302 |
"Funcțiile înregistrate folosind B<atexit>() (și B<on_exit>(3)) nu sunt " |
| 303 |
"apelate dacă un proces se termină în mod anormal din cauza transmiterii unui " |
| 304 |
"semnal." |
| 305 |
|
| 306 |
#. type: Plain text |
| 307 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 308 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 309 |
msgid "" |
| 310 |
"If one of the registered functions calls B<_exit>(2), then any remaining " |
| 311 |
"functions are not invoked, and the other process termination steps performed " |
| 312 |
"by B<exit>(3) are not performed." |
| 313 |
msgstr "" |
| 314 |
"În cazul în care una dintre funcțiile înregistrate apelează B<_exit>(2), " |
| 315 |
"atunci toate funcțiile rămase nu sunt invocate, iar celelalte etape de " |
| 316 |
"încheiere a procesului efectuate de B<exit>(3) nu sunt efectuate." |
| 317 |
|
| 318 |
#. type: Plain text |
| 319 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 320 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 321 |
msgid "" |
| 322 |
"The B<atexit>() and B<on_exit>(3) functions register functions on the same " |
| 323 |
"list: at normal process termination, the registered functions are invoked in " |
| 324 |
"reverse order of their registration by these two functions." |
| 325 |
msgstr "" |
| 326 |
"Funcțiile B<atexit>() și B<on_exit>(3) înregistrează funcții în aceeași " |
| 327 |
"listă: la terminarea normală a procesului, funcțiile înregistrate sunt " |
| 328 |
"invocate în ordinea inversă a înregistrării lor de către aceste două funcții." |
| 329 |
|
| 330 |
#. In glibc, things seem to be handled okay |
| 331 |
#. type: Plain text |
| 332 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 333 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 334 |
msgid "" |
| 335 |
"According to POSIX.1, the result is undefined if B<longjmp>(3) is used to " |
| 336 |
"terminate execution of one of the functions registered using B<atexit>()." |
| 337 |
msgstr "" |
| 338 |
"În conformitate cu POSIX.1, rezultatul este nedefinit dacă B<longjmp>(3) " |
| 339 |
"este utilizată pentru a încheia execuția uneia dintre funcțiile înregistrate " |
| 340 |
"cu B<atexit>()." |
| 341 |
|
| 342 |
#. type: SS |
| 343 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 344 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 345 |
#, no-wrap |
| 346 |
msgid "Linux notes" |
| 347 |
msgstr "Note Linux" |
| 348 |
|
| 349 |
#. type: Plain text |
| 350 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 351 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 352 |
msgid "" |
| 353 |
"Since glibc 2.2.3, B<atexit>() (and B<on_exit>(3)) can be used within a " |
| 354 |
"shared library to establish functions that are called when the shared " |
| 355 |
"library is unloaded." |
| 356 |
msgstr "" |
| 357 |
"Începând cu glibc 2.2.3, B<atexit>() (și B<on_exit>(3)) poate fi utilizată " |
| 358 |
"în cadrul unei biblioteci partajate pentru a stabili funcții care sunt " |
| 359 |
"apelate atunci când biblioteca partajată este descărcată)." |
| 360 |
|
| 361 |
#. type: SH |
| 362 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 363 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 364 |
#, no-wrap |
| 365 |
msgid "EXAMPLES" |
| 366 |
msgstr "EXEMPLE" |
| 367 |
|
| 368 |
#. type: Plain text |
| 369 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 370 |
#: opensuse-tumbleweed |
| 371 |
#, no-wrap |
| 372 |
msgid "" |
| 373 |
"#include E<lt>stdio.hE<gt>\n" |
| 374 |
"#include E<lt>stdlib.hE<gt>\n" |
| 375 |
"#include E<lt>unistd.hE<gt>\n" |
| 376 |
"\\&\n" |
| 377 |
"static void\n" |
| 378 |
"bye(void)\n" |
| 379 |
"{\n" |
| 380 |
" printf(\"That was all, folks\\[rs]n\");\n" |
| 381 |
"}\n" |
| 382 |
"\\&\n" |
| 383 |
"int\n" |
| 384 |
"main(void)\n" |
| 385 |
"{\n" |
| 386 |
" long a;\n" |
| 387 |
" int i;\n" |
| 388 |
"\\&\n" |
| 389 |
" a = sysconf(_SC_ATEXIT_MAX);\n" |
| 390 |
" printf(\"ATEXIT_MAX = %ld\\[rs]n\", a);\n" |
| 391 |
"\\&\n" |
| 392 |
" i = atexit(bye);\n" |
| 393 |
" if (i != 0) {\n" |
| 394 |
" fprintf(stderr, \"cannot set exit function\\[rs]n\");\n" |
| 395 |
" exit(EXIT_FAILURE);\n" |
| 396 |
" }\n" |
| 397 |
"\\&\n" |
| 398 |
" exit(EXIT_SUCCESS);\n" |
| 399 |
"}\n" |
| 400 |
msgstr "" |
| 401 |
"#include E<lt>stdio.hE<gt>\n" |
| 402 |
"#include E<lt>stdlib.hE<gt>\n" |
| 403 |
"#include E<lt>unistd.hE<gt>\n" |
| 404 |
"\\&\n" |
| 405 |
"static void\n" |
| 406 |
"bye(void)\n" |
| 407 |
"{\n" |
| 408 |
" printf(\"Asta a fost tot, prieteni\\[rs]n\");\n" |
| 409 |
"}\n" |
| 410 |
"\\&\n" |
| 411 |
"int\n" |
| 412 |
"main(void)\n" |
| 413 |
"{\n" |
| 414 |
" long a;\n" |
| 415 |
" int i;\n" |
| 416 |
"\\&\n" |
| 417 |
" a = sysconf(_SC_ATEXIT_MAX);\n" |
| 418 |
" printf(\"ATEXIT_MAX = %ld\\[rs]n\", a);\n" |
| 419 |
"\\&\n" |
| 420 |
" i = atexit(bye);\n" |
| 421 |
" if (i != 0) {\n" |
| 422 |
" fprintf(stderr, \"nu se poate defini funcția de ieșire\\[rs]n\");\n" |
| 423 |
" exit(EXIT_FAILURE);\n" |
| 424 |
" }\n" |
| 425 |
"\\&\n" |
| 426 |
" exit(EXIT_SUCCESS);\n" |
| 427 |
"}\n" |
| 428 |
|
| 429 |
#. SRC END |
| 430 |
#. type: SH |
| 431 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 432 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 433 |
#, no-wrap |
| 434 |
msgid "SEE ALSO" |
| 435 |
msgstr "CONSULTAȚI ȘI" |
| 436 |
|
| 437 |
#. type: Plain text |
| 438 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 439 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 440 |
msgid "B<_exit>(2), B<dlopen>(3), B<exit>(3), B<on_exit>(3)" |
| 441 |
msgstr "B<_exit>(2), B<dlopen>(3), B<exit>(3), B<on_exit>(3)" |
| 442 |
|
| 443 |
#. type: TH |
| 444 |
#: debian-trixie |
| 445 |
#, no-wrap |
| 446 |
msgid "2024-06-15" |
| 447 |
msgstr "15 iunie 2024" |
| 448 |
|
| 449 |
#. type: TH |
| 450 |
#: debian-trixie |
| 451 |
#, no-wrap |
| 452 |
msgid "Linux man-pages 6.9.1" |
| 453 |
msgstr "Pagini de manual de Linux 6.9.1" |
| 454 |
|
| 455 |
#. type: Plain text |
| 456 |
#: debian-trixie |
| 457 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 458 |
msgstr "Biblioteca C standard (I<libc>, I<-lc>)" |
| 459 |
|
| 460 |
#. type: Plain text |
| 461 |
#: debian-trixie |
| 462 |
#, no-wrap |
| 463 |
msgid "B<int atexit(void (*>I<function>B<)(void));>\n" |
| 464 |
msgstr "B<int atexit(void (*>I<function>B<)(void));>\n" |
| 465 |
|
| 466 |
#. type: Plain text |
| 467 |
#: debian-trixie fedora-44 fedora-rawhide |
| 468 |
msgid "" |
| 469 |
"The B<atexit>() function returns the value 0 if successful; otherwise it " |
| 470 |
"returns a nonzero value." |
| 471 |
msgstr "" |
| 472 |
"Funcția B<atexit>() returnează valoarea 0 în caz de succes; în caz contrar, " |
| 473 |
"returnează o valoare diferită de zero." |
| 474 |
|
| 475 |
#. type: Plain text |
| 476 |
#: debian-trixie fedora-44 fedora-rawhide |
| 477 |
#, no-wrap |
| 478 |
msgid "" |
| 479 |
"#include E<lt>stdio.hE<gt>\n" |
| 480 |
"#include E<lt>stdlib.hE<gt>\n" |
| 481 |
"#include E<lt>unistd.hE<gt>\n" |
| 482 |
"\\&\n" |
| 483 |
"void\n" |
| 484 |
"bye(void)\n" |
| 485 |
"{\n" |
| 486 |
" printf(\"That was all, folks\\[rs]n\");\n" |
| 487 |
"}\n" |
| 488 |
"\\&\n" |
| 489 |
"int\n" |
| 490 |
"main(void)\n" |
| 491 |
"{\n" |
| 492 |
" long a;\n" |
| 493 |
" int i;\n" |
| 494 |
"\\&\n" |
| 495 |
" a = sysconf(_SC_ATEXIT_MAX);\n" |
| 496 |
" printf(\"ATEXIT_MAX = %ld\\[rs]n\", a);\n" |
| 497 |
"\\&\n" |
| 498 |
" i = atexit(bye);\n" |
| 499 |
" if (i != 0) {\n" |
| 500 |
" fprintf(stderr, \"cannot set exit function\\[rs]n\");\n" |
| 501 |
" exit(EXIT_FAILURE);\n" |
| 502 |
" }\n" |
| 503 |
"\\&\n" |
| 504 |
" exit(EXIT_SUCCESS);\n" |
| 505 |
"}\n" |
| 506 |
msgstr "" |
| 507 |
"#include E<lt>stdio.hE<gt>\n" |
| 508 |
"#include E<lt>stdlib.hE<gt>\n" |
| 509 |
"#include E<lt>unistd.hE<gt>\n" |
| 510 |
"\\&\n" |
| 511 |
"void\n" |
| 512 |
"bye(void)\n" |
| 513 |
"{\n" |
| 514 |
" printf(\"Asta a fost tot, prieteni\\[rs]n\");\n" |
| 515 |
"}\n" |
| 516 |
"\\&\n" |
| 517 |
"int\n" |
| 518 |
"main(void)\n" |
| 519 |
"{\n" |
| 520 |
" long a;\n" |
| 521 |
" int i;\n" |
| 522 |
"\\&\n" |
| 523 |
" a = sysconf(_SC_ATEXIT_MAX);\n" |
| 524 |
" printf(\"ATEXIT_MAX = %ld\\en\", a);\n" |
| 525 |
"\\&\n" |
| 526 |
" i = atexit(bye);\n" |
| 527 |
" if (i != 0) {\n" |
| 528 |
" fprintf(stderr, \"nu se poate defini funcția de ieșire\\[rs]n\");\n" |
| 529 |
" exit(EXIT_FAILURE);\n" |
| 530 |
" }\n" |
| 531 |
"\\&\n" |
| 532 |
" exit(EXIT_SUCCESS);\n" |
| 533 |
"}\n" |
| 534 |
|
| 535 |
#. type: TH |
| 536 |
#: fedora-44 fedora-rawhide |
| 537 |
#, no-wrap |
| 538 |
msgid "2024-12-13" |
| 539 |
msgstr "13 decembrie 2024" |
| 540 |
|
| 541 |
#. type: TH |
| 542 |
#: fedora-44 fedora-rawhide |
| 543 |
#, no-wrap |
| 544 |
msgid "Linux man-pages 6.13" |
| 545 |
msgstr "Pagini de manual de Linux 6.13" |
| 546 |
|
| 547 |
#. type: TH |
| 548 |
#: mageia-cauldron |
| 549 |
#, no-wrap |
| 550 |
msgid "Linux man-pages 6.17" |
| 551 |
msgstr "Pagini de manual de Linux 6.17" |
| 552 |
|
| 553 |
#. type: TH |
| 554 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 555 |
#, no-wrap |
| 556 |
msgid "Linux man-pages (unreleased)" |
| 557 |
msgstr "Pagini de manual Linux (nepublicate)" |