| 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:23+0200\n" |
| 9 |
"PO-Revision-Date: 2025-11-05 10:17+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 "duplocale" |
| 25 |
msgstr "duplocale" |
| 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 "duplocale - duplicate a locale object" |
| 51 |
msgstr "duplocale - duplică un obiect de configurație regională" |
| 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>locale.hE<gt>>\n" |
| 78 |
msgstr "B<#include E<lt>locale.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 "B<locale_t duplocale(locale_t >I<locobj>B<);>\n" |
| 85 |
msgstr "B<locale_t duplocale(locale_t >I<locobj>B<);>\n" |
| 86 |
|
| 87 |
#. type: Plain text |
| 88 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 89 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 90 |
msgid "" |
| 91 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 92 |
msgstr "" |
| 93 |
"Cerințe pentru macrocomenzi de testare a caracteristicilor pentru glibc " |
| 94 |
"(consultați B<feature_test_macros>(7)):" |
| 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 "B<duplocale>():" |
| 100 |
msgstr "B<duplocale>():" |
| 101 |
|
| 102 |
#. type: Plain text |
| 103 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 104 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 105 |
#, no-wrap |
| 106 |
msgid "" |
| 107 |
" Since glibc 2.10:\n" |
| 108 |
" _XOPEN_SOURCE E<gt>= 700\n" |
| 109 |
" Before glibc 2.10:\n" |
| 110 |
" _GNU_SOURCE\n" |
| 111 |
msgstr "" |
| 112 |
" Începând cu glibc 2.10\n" |
| 113 |
" _XOPEN_SOURCE E<gt>= 700\n" |
| 114 |
" Înainte de glibc 2.10:\n" |
| 115 |
" _GNU_SOURCE\n" |
| 116 |
|
| 117 |
#. type: SH |
| 118 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 119 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 120 |
#, no-wrap |
| 121 |
msgid "DESCRIPTION" |
| 122 |
msgstr "DESCRIERE" |
| 123 |
|
| 124 |
#. type: Plain text |
| 125 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 126 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 127 |
msgid "" |
| 128 |
"The B<duplocale>() function creates a duplicate of the locale object " |
| 129 |
"referred to by I<locobj>." |
| 130 |
msgstr "" |
| 131 |
"Funcția B<duplocale>() creează un duplicat al obiectului parametrului " |
| 132 |
"regional la care se face referire prin I<locobj>." |
| 133 |
|
| 134 |
#. type: Plain text |
| 135 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 136 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 137 |
msgid "" |
| 138 |
"If I<locobj> is B<LC_GLOBAL_LOCALE>, B<duplocale>() creates a locale object " |
| 139 |
"containing a copy of the global locale determined by B<setlocale>(3)." |
| 140 |
msgstr "" |
| 141 |
"Dacă I<locobj> este B<LC_GLOBAL_LOCALE>, B<duplocale>() creează un obiect de " |
| 142 |
"configurație regională care conține o copie a parametrului regional global " |
| 143 |
"determinat de B<setlocale>(3)." |
| 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-trixie debian-unstable fedora-44 fedora-rawhide |
| 154 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 155 |
msgid "" |
| 156 |
"On success, B<duplocale>() returns a handle for the new locale object. On " |
| 157 |
"error, it returns I<(locale_t)\\ 0>, and sets I<errno> to indicate the error." |
| 158 |
msgstr "" |
| 159 |
"În caz de succes, B<duplocale>() returnează un gestionar pentru noul obiect " |
| 160 |
"de configurație regională. În caz de eroare, returnează I<(locale_t)\\ 0> și " |
| 161 |
"configurează I<errno> pentru a indica eroarea." |
| 162 |
|
| 163 |
#. type: SH |
| 164 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 165 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 166 |
#, no-wrap |
| 167 |
msgid "ERRORS" |
| 168 |
msgstr "ERORI-IEȘIRE" |
| 169 |
|
| 170 |
#. type: TP |
| 171 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 172 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 173 |
#, no-wrap |
| 174 |
msgid "B<ENOMEM>" |
| 175 |
msgstr "B<ENOMEM>" |
| 176 |
|
| 177 |
#. type: Plain text |
| 178 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 179 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 180 |
msgid "Insufficient memory to create the duplicate locale object." |
| 181 |
msgstr "" |
| 182 |
"Memorie insuficientă pentru a crea obiectul de configurație regională " |
| 183 |
"duplicat." |
| 184 |
|
| 185 |
#. type: SH |
| 186 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 187 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 188 |
#, no-wrap |
| 189 |
msgid "STANDARDS" |
| 190 |
msgstr "STANDARDE" |
| 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 "POSIX.1-2008." |
| 196 |
msgstr "POSIX.1-2008." |
| 197 |
|
| 198 |
#. type: SH |
| 199 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 200 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 201 |
#, no-wrap |
| 202 |
msgid "HISTORY" |
| 203 |
msgstr "ISTORIC" |
| 204 |
|
| 205 |
#. type: Plain text |
| 206 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 207 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 208 |
msgid "glibc 2.3." |
| 209 |
msgstr "glibc 2.3." |
| 210 |
|
| 211 |
#. type: SH |
| 212 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 213 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 214 |
#, no-wrap |
| 215 |
msgid "NOTES" |
| 216 |
msgstr "NOTE" |
| 217 |
|
| 218 |
#. type: Plain text |
| 219 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 220 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 221 |
msgid "Duplicating a locale can serve the following purposes:" |
| 222 |
msgstr "" |
| 223 |
"Duplicarea unei configurații regionale poate servi următoarelor scopuri:" |
| 224 |
|
| 225 |
#. type: IP |
| 226 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 227 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 228 |
#, no-wrap |
| 229 |
msgid "\\[bu]" |
| 230 |
msgstr "\\[bu]" |
| 231 |
|
| 232 |
#. type: Plain text |
| 233 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 234 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 235 |
msgid "" |
| 236 |
"To create a copy of a locale object in which one of more categories are to " |
| 237 |
"be modified (using B<newlocale>(3))." |
| 238 |
msgstr "" |
| 239 |
"Pentru a crea o copie a unui obiect configurație regională în care una sau " |
| 240 |
"mai multe categorii urmează să fie modificate (utilizând B<newlocale>(3))." |
| 241 |
|
| 242 |
#. type: Plain text |
| 243 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 244 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 245 |
msgid "" |
| 246 |
"To obtain a handle for the current locale which can used in other functions " |
| 247 |
"that employ a locale handle, such as B<toupper_l>(3). This is done by " |
| 248 |
"applying B<duplocale>() to the value returned by the following call:" |
| 249 |
msgstr "" |
| 250 |
"Pentru a obține un gestionar pentru configurația regională curentă, care " |
| 251 |
"poate fi utilizat în alte funcții care utilizează un gestionar de " |
| 252 |
"configurație regională, cum ar fi B<toupper_l>(3). Acest lucru se face prin " |
| 253 |
"aplicarea B<duplocale>() la valoarea returnată de următorul apel:" |
| 254 |
|
| 255 |
#. type: Plain text |
| 256 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 257 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 258 |
#, no-wrap |
| 259 |
msgid "loc = uselocale((locale_t) 0);\n" |
| 260 |
msgstr "loc = uselocale((locale_t) 0);\n" |
| 261 |
|
| 262 |
#. type: Plain text |
| 263 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 264 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 265 |
msgid "" |
| 266 |
"This technique is necessary, because the above B<uselocale>(3) call may " |
| 267 |
"return the value B<LC_GLOBAL_LOCALE>, which results in undefined behavior if " |
| 268 |
"passed to functions such as B<toupper_l>(3). Calling B<duplocale>() can be " |
| 269 |
"used to ensure that the B<LC_GLOBAL_LOCALE> value is converted into a usable " |
| 270 |
"locale object. See EXAMPLES, below." |
| 271 |
msgstr "" |
| 272 |
"Această tehnică este necesară, deoarece apelul B<uselocale>(3) de mai sus " |
| 273 |
"poate returna valoarea B<LC_GLOBAL_LOCALE>, ceea ce duce la un comportament " |
| 274 |
"nedefinit dacă este transmis unor funcții precum B<toupper_l>(3). Apelul " |
| 275 |
"B<duplocale>() poate fi utilizat pentru a se asigura că valoarea " |
| 276 |
"B<LC_GLOBAL_LOCALE> este convertită într-un obiect de configurație regională " |
| 277 |
"utilizabil. A se vedea secțiunea EXEMPLE, de mai jos." |
| 278 |
|
| 279 |
#. type: Plain text |
| 280 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 281 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 282 |
msgid "" |
| 283 |
"Each locale object created by B<duplocale>() should be deallocated using " |
| 284 |
"B<freelocale>(3)." |
| 285 |
msgstr "" |
| 286 |
"Fiecare obiect de configurație regională creat de B<duplocale>() trebuie să " |
| 287 |
"fie eliberat cu ajutorul B<freelocale>(3)." |
| 288 |
|
| 289 |
#. type: SH |
| 290 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 291 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 292 |
#, no-wrap |
| 293 |
msgid "EXAMPLES" |
| 294 |
msgstr "EXEMPLE" |
| 295 |
|
| 296 |
#. type: Plain text |
| 297 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 298 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 299 |
msgid "" |
| 300 |
"The program below uses B<uselocale>(3) and B<duplocale>() to obtain a " |
| 301 |
"handle for the current locale which is then passed to B<toupper_l>(3). The " |
| 302 |
"program takes one command-line argument, a string of characters that is " |
| 303 |
"converted to uppercase and displayed on standard output. An example of its " |
| 304 |
"use is the following:" |
| 305 |
msgstr "" |
| 306 |
"Programul de mai jos utilizează B<uselocale>(3) și B<duplocale>() pentru a " |
| 307 |
"obține un gestionar pentru parametrul regional curent, care este apoi " |
| 308 |
"transmis la B<toupper_l>(3). Programul primește un argument de linie de " |
| 309 |
"comandă, un șir de caractere care este convertit în majuscule și afișat la " |
| 310 |
"ieșirea standard. Un exemplu de utilizare a acestui program este următorul:" |
| 311 |
|
| 312 |
#. type: Plain text |
| 313 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 314 |
#: opensuse-tumbleweed |
| 315 |
#, no-wrap |
| 316 |
msgid "" |
| 317 |
"$B< ./a.out abc>;\n" |
| 318 |
"ABC\n" |
| 319 |
msgstr "" |
| 320 |
"$B< ./a.out abc>;\n" |
| 321 |
"ABC\n" |
| 322 |
|
| 323 |
#. type: SS |
| 324 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 325 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 326 |
#, no-wrap |
| 327 |
msgid "Program source" |
| 328 |
msgstr "Sursa programului" |
| 329 |
|
| 330 |
#. type: Plain text |
| 331 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 332 |
#: opensuse-tumbleweed |
| 333 |
#, no-wrap |
| 334 |
msgid "" |
| 335 |
"#define _XOPEN_SOURCE 700\n" |
| 336 |
"#include E<lt>ctype.hE<gt>\n" |
| 337 |
"#include E<lt>err.hE<gt>\n" |
| 338 |
"#include E<lt>locale.hE<gt>\n" |
| 339 |
"#include E<lt>stdio.hE<gt>\n" |
| 340 |
"#include E<lt>stdlib.hE<gt>\n" |
| 341 |
"\\&\n" |
| 342 |
"int\n" |
| 343 |
"main(int argc, char *argv[])\n" |
| 344 |
"{\n" |
| 345 |
" locale_t loc, nloc;\n" |
| 346 |
"\\&\n" |
| 347 |
" if (argc != 2) {\n" |
| 348 |
" fprintf(stderr, \"Usage: %s string\\[rs]n\", argv[0]);\n" |
| 349 |
" exit(EXIT_FAILURE);\n" |
| 350 |
" }\n" |
| 351 |
"\\&\n" |
| 352 |
" /* This sequence is necessary, because uselocale() might return\n" |
| 353 |
" the value LC_GLOBAL_LOCALE, which can\\[aq]t be passed as an\n" |
| 354 |
" argument to toupper_l(). */\n" |
| 355 |
"\\&\n" |
| 356 |
" loc = uselocale((locale_t) 0);\n" |
| 357 |
" if (loc == (locale_t) 0)\n" |
| 358 |
" err(EXIT_FAILURE, \"uselocale\");\n" |
| 359 |
"\\&\n" |
| 360 |
" nloc = duplocale(loc);\n" |
| 361 |
" if (nloc == (locale_t) 0)\n" |
| 362 |
" err(EXIT_FAILURE, \"duplocale\");\n" |
| 363 |
"\\&\n" |
| 364 |
" for (char *p = argv[1]; *p; p++)\n" |
| 365 |
" putchar(toupper_l(*p, nloc));\n" |
| 366 |
"\\&\n" |
| 367 |
" printf(\"\\[rs]n\");\n" |
| 368 |
"\\&\n" |
| 369 |
" freelocale(nloc);\n" |
| 370 |
"\\&\n" |
| 371 |
" exit(EXIT_SUCCESS);\n" |
| 372 |
"}\n" |
| 373 |
msgstr "" |
| 374 |
"#define _XOPEN_SOURCE 700\n" |
| 375 |
"#include E<lt>ctype.hE<gt>\n" |
| 376 |
"\n" |
| 377 |
"#include E<lt>err.hE<gt>\n" |
| 378 |
"#include E<lt>locale.hE<gt>\n" |
| 379 |
"#include E<lt>stdio.hE<gt>\n" |
| 380 |
"#include E<lt>stdlib.hE<gt>\n" |
| 381 |
"\\&\n" |
| 382 |
"int\n" |
| 383 |
"main(int argc, char *argv[])\n" |
| 384 |
"{\n" |
| 385 |
" locale_t loc, nloc;\n" |
| 386 |
"\\&\n" |
| 387 |
" if (argc != 2) {\n" |
| 388 |
" fprintf(stderr, \"Utilizare: %s șir\\[rs]n\", argv[0]);\n" |
| 389 |
" exit(EXIT_FAILURE);\n" |
| 390 |
" }\n" |
| 391 |
"\\&\n" |
| 392 |
" /* Această secvență este necesară, deoarece uselocale() ar putea\n" |
| 393 |
" returna valoarea LC_GLOBAL_LOCALE, care nu poate fi transmisă\n" |
| 394 |
" ca argument pentru toupper_l(). */*/\n" |
| 395 |
"\\&\n" |
| 396 |
" loc = uselocale((locale_t) 0);\n" |
| 397 |
" if (loc == (locale_t) 0)\n" |
| 398 |
" err(EXIT_FAILURE, \"uselocale\");\n" |
| 399 |
"\\&\n" |
| 400 |
" nloc = duplocale(loc);\n" |
| 401 |
" if (nloc == (locale_t) 0)\n" |
| 402 |
" err(EXIT_FAILURE, \"duplocale\");\n" |
| 403 |
"\\&\n" |
| 404 |
" for (char *p = argv[1]; *p; p++)\n" |
| 405 |
" putchar(toupper_l(*p, nloc));\n" |
| 406 |
"\\&\n" |
| 407 |
" printf(\"\\[rs]n\");\n" |
| 408 |
"\\&\n" |
| 409 |
" freelocale(nloc);\n" |
| 410 |
"\\&\n" |
| 411 |
" exit(EXIT_SUCCESS);\n" |
| 412 |
"}\n" |
| 413 |
|
| 414 |
#. SRC END |
| 415 |
#. type: SH |
| 416 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 417 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 418 |
#, no-wrap |
| 419 |
msgid "SEE ALSO" |
| 420 |
msgstr "CONSULTAȚI ȘI" |
| 421 |
|
| 422 |
#. type: Plain text |
| 423 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 424 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 425 |
msgid "" |
| 426 |
"B<freelocale>(3), B<newlocale>(3), B<setlocale>(3), B<uselocale>(3), " |
| 427 |
"B<locale>(5), B<locale>(7)" |
| 428 |
msgstr "" |
| 429 |
"B<freelocale>(3), B<newlocale>(3), B<setlocale>(3), B<uselocale>(3), " |
| 430 |
"B<locale>(5), B<locale>(7)" |
| 431 |
|
| 432 |
#. type: TH |
| 433 |
#: debian-trixie |
| 434 |
#, no-wrap |
| 435 |
msgid "2024-06-15" |
| 436 |
msgstr "15 iunie 2024" |
| 437 |
|
| 438 |
#. type: TH |
| 439 |
#: debian-trixie |
| 440 |
#, no-wrap |
| 441 |
msgid "Linux man-pages 6.9.1" |
| 442 |
msgstr "Pagini de manual de Linux 6.9.1" |
| 443 |
|
| 444 |
#. type: Plain text |
| 445 |
#: debian-trixie |
| 446 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 447 |
msgstr "Biblioteca C standard (I<libc>, I<-lc>)" |
| 448 |
|
| 449 |
#. type: Plain text |
| 450 |
#: debian-trixie fedora-44 fedora-rawhide |
| 451 |
#, no-wrap |
| 452 |
msgid "" |
| 453 |
"$ B<./a.out abc>\n" |
| 454 |
"ABC\n" |
| 455 |
msgstr "" |
| 456 |
"$ B<./a.out abc>\n" |
| 457 |
"ABC\n" |
| 458 |
|
| 459 |
#. type: Plain text |
| 460 |
#: debian-trixie fedora-44 fedora-rawhide |
| 461 |
#, no-wrap |
| 462 |
msgid "" |
| 463 |
"#define _XOPEN_SOURCE 700\n" |
| 464 |
"#include E<lt>ctype.hE<gt>\n" |
| 465 |
"#include E<lt>locale.hE<gt>\n" |
| 466 |
"#include E<lt>stdio.hE<gt>\n" |
| 467 |
"#include E<lt>stdlib.hE<gt>\n" |
| 468 |
"\\&\n" |
| 469 |
"#define errExit(msg) do { perror(msg); exit(EXIT_FAILURE); \\[rs]\n" |
| 470 |
" } while (0)\n" |
| 471 |
"\\&\n" |
| 472 |
"int\n" |
| 473 |
"main(int argc, char *argv[])\n" |
| 474 |
"{\n" |
| 475 |
" locale_t loc, nloc;\n" |
| 476 |
"\\&\n" |
| 477 |
" if (argc != 2) {\n" |
| 478 |
" fprintf(stderr, \"Usage: %s string\\[rs]n\", argv[0]);\n" |
| 479 |
" exit(EXIT_FAILURE);\n" |
| 480 |
" }\n" |
| 481 |
"\\&\n" |
| 482 |
" /* This sequence is necessary, because uselocale() might return\n" |
| 483 |
" the value LC_GLOBAL_LOCALE, which can\\[aq]t be passed as an\n" |
| 484 |
" argument to toupper_l(). */\n" |
| 485 |
"\\&\n" |
| 486 |
" loc = uselocale((locale_t) 0);\n" |
| 487 |
" if (loc == (locale_t) 0)\n" |
| 488 |
" errExit(\"uselocale\");\n" |
| 489 |
"\\&\n" |
| 490 |
" nloc = duplocale(loc);\n" |
| 491 |
" if (nloc == (locale_t) 0)\n" |
| 492 |
" errExit(\"duplocale\");\n" |
| 493 |
"\\&\n" |
| 494 |
" for (char *p = argv[1]; *p; p++)\n" |
| 495 |
" putchar(toupper_l(*p, nloc));\n" |
| 496 |
"\\&\n" |
| 497 |
" printf(\"\\[rs]n\");\n" |
| 498 |
"\\&\n" |
| 499 |
" freelocale(nloc);\n" |
| 500 |
"\\&\n" |
| 501 |
" exit(EXIT_SUCCESS);\n" |
| 502 |
"}\n" |
| 503 |
msgstr "" |
| 504 |
"#define _XOPEN_SOURCE 700\n" |
| 505 |
"#include E<lt>ctype.hE<gt>\n" |
| 506 |
"#include E<lt>locale.hE<gt>\n" |
| 507 |
"#include E<lt>stdio.hE<gt>\n" |
| 508 |
"#include E<lt>stdlib.hE<gt>\n" |
| 509 |
"\\&\n" |
| 510 |
"#define errExit(msg) do { perror(msg); exit(EXIT_FAILURE); \\[rs]\n" |
| 511 |
" } while (0)\n" |
| 512 |
"\\&\n" |
| 513 |
"int\n" |
| 514 |
"main(int argc, char *argv[])\n" |
| 515 |
"{\n" |
| 516 |
" locale_t loc, nloc;\n" |
| 517 |
"\\&\n" |
| 518 |
" if (argc != 2) {\n" |
| 519 |
" fprintf(stderr, \"Utilizare: %s șir\\[rs]n\", argv[0]);\n" |
| 520 |
" exit(EXIT_FAILURE);\n" |
| 521 |
" }\n" |
| 522 |
"\\&\n" |
| 523 |
" /* Această secvență este necesară, deoarece uselocale() ar putea\n" |
| 524 |
" returna valoarea LC_GLOBAL_LOCALE, care nu poate fi transmisă\n" |
| 525 |
" ca argument pentru toupper_l(). */*/\n" |
| 526 |
"\\&\n" |
| 527 |
" loc = uselocale((locale_t) 0);\n" |
| 528 |
" if (loc == (locale_t) 0)\n" |
| 529 |
" errExit(\"uselocale\");\n" |
| 530 |
"\\&\n" |
| 531 |
" nloc = duplocale(loc);\n" |
| 532 |
" if (nloc == (locale_t) 0)\n" |
| 533 |
" errExit(\"duplocale\");\n" |
| 534 |
"\\&\n" |
| 535 |
" for (char *p = argv[1]; *p; p++)\n" |
| 536 |
" putchar(toupper_l(*p, nloc));\n" |
| 537 |
"\\&\n" |
| 538 |
" printf(\"\\[rs]n\");\n" |
| 539 |
"\\&\n" |
| 540 |
" freelocale(nloc);\n" |
| 541 |
"\\&\n" |
| 542 |
" exit(EXIT_SUCCESS);\n" |
| 543 |
"}\n" |
| 544 |
|
| 545 |
#. type: TH |
| 546 |
#: fedora-44 fedora-rawhide |
| 547 |
#, no-wrap |
| 548 |
msgid "2024-07-23" |
| 549 |
msgstr "23 iulie 2024" |
| 550 |
|
| 551 |
#. type: TH |
| 552 |
#: fedora-44 fedora-rawhide |
| 553 |
#, no-wrap |
| 554 |
msgid "Linux man-pages 6.13" |
| 555 |
msgstr "Pagini de manual de Linux 6.13" |
| 556 |
|
| 557 |
#. type: TH |
| 558 |
#: mageia-cauldron |
| 559 |
#, no-wrap |
| 560 |
msgid "Linux man-pages 6.17" |
| 561 |
msgstr "Pagini de manual de Linux 6.17" |
| 562 |
|
| 563 |
#. type: TH |
| 564 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 565 |
#, no-wrap |
| 566 |
msgid "Linux man-pages (unreleased)" |
| 567 |
msgstr "Pagini de manual Linux (nepublicate)" |