| 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.23.1\n" |
| 8 |
"POT-Creation-Date: 2026-06-05 06:26+0200\n" |
| 9 |
"PO-Revision-Date: 2025-11-05 13:06+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 "getsubopt" |
| 25 |
msgstr "getsubopt" |
| 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 "getsubopt - parse suboption arguments from a string" |
| 51 |
msgstr "" |
| 52 |
"getsubopt - analizează argumentele subopțiunii dintr-un șir de caractere" |
| 53 |
|
| 54 |
#. type: SH |
| 55 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 56 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 57 |
#, no-wrap |
| 58 |
msgid "LIBRARY" |
| 59 |
msgstr "BIBLIOTECA" |
| 60 |
|
| 61 |
#. type: Plain text |
| 62 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 63 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 64 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 65 |
msgstr "Biblioteca C standard (I<libc>, I<-lc>)" |
| 66 |
|
| 67 |
#. type: SH |
| 68 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 69 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 70 |
#, no-wrap |
| 71 |
msgid "SYNOPSIS" |
| 72 |
msgstr "SINOPSIS" |
| 73 |
|
| 74 |
#. type: Plain text |
| 75 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 76 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 77 |
#, no-wrap |
| 78 |
msgid "B<#include E<lt>stdlib.hE<gt>>\n" |
| 79 |
msgstr "B<#include E<lt>stdlib.hE<gt>>\n" |
| 80 |
|
| 81 |
#. type: Plain text |
| 82 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 83 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 84 |
#, no-wrap |
| 85 |
msgid "" |
| 86 |
"B<int getsubopt(char **restrict >I<optionp>B<, char *const *restrict >I<tokens>B<,>\n" |
| 87 |
"B< char **restrict >I<valuep>B<);>\n" |
| 88 |
msgstr "" |
| 89 |
"B<int getsubopt(char **restrict >I<optionp>B<, char *const *restrict >I<tokens>B<,>\n" |
| 90 |
"B< char **restrict >I<valuep>B<);>\n" |
| 91 |
|
| 92 |
#. type: Plain text |
| 93 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 94 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 95 |
msgid "" |
| 96 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 97 |
msgstr "" |
| 98 |
"Cerințe pentru macrocomenzi de testare a caracteristicilor pentru glibc " |
| 99 |
"(consultați B<feature_test_macros>(7)):" |
| 100 |
|
| 101 |
#. type: Plain text |
| 102 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 103 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 104 |
msgid "B<getsubopt>():" |
| 105 |
msgstr "B<getsubopt>():" |
| 106 |
|
| 107 |
#. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED |
| 108 |
#. type: Plain text |
| 109 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 110 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 111 |
#, no-wrap |
| 112 |
msgid "" |
| 113 |
" _XOPEN_SOURCE E<gt>= 500\n" |
| 114 |
" || /* Since glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n" |
| 115 |
msgstr "" |
| 116 |
" _XOPEN_SOURCE E<gt>= 500\n" |
| 117 |
" || /* Începând cu glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n" |
| 118 |
|
| 119 |
#. type: SH |
| 120 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 121 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 122 |
#, no-wrap |
| 123 |
msgid "DESCRIPTION" |
| 124 |
msgstr "DESCRIERE" |
| 125 |
|
| 126 |
#. type: Plain text |
| 127 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 128 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 129 |
msgid "" |
| 130 |
"B<getsubopt>() parses the list of comma-separated suboptions provided in " |
| 131 |
"I<optionp>. (Such a suboption list is typically produced when B<getopt>(3) " |
| 132 |
"is used to parse a command line; see for example the I<-o> option of " |
| 133 |
"B<mount>(8).) Each suboption may include an associated value, which is " |
| 134 |
"separated from the suboption name by an equal sign. The following is an " |
| 135 |
"example of the kind of string that might be passed in I<optionp>:" |
| 136 |
msgstr "" |
| 137 |
"B<getsubopt>() analizează lista de subopțiuni separate prin virgule " |
| 138 |
"furnizate în I<optionp>. O astfel de listă de subopțiuni este produsă de " |
| 139 |
"obicei atunci când B<getopt>(3) este utilizat pentru a analiza o linie de " |
| 140 |
"comandă; a se vedea, de exemplu, opțiunea I<-o> din B<mount>(8). Fiecare " |
| 141 |
"subopțiune poate include o valoare asociată, care este separată de numele " |
| 142 |
"subopțiunii printr-un semn egal. Următorul este un exemplu al tipului de șir " |
| 143 |
"de caractere care ar putea fi trecut în I<optionp>:" |
| 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 |
#, no-wrap |
| 149 |
msgid "B<ro,name=xyz>\n" |
| 150 |
msgstr "B<ro,nume=xyz>\n" |
| 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 |
"The I<tokens> argument is a pointer to a NULL-terminated array of pointers " |
| 157 |
"to the tokens that B<getsubopt>() will look for in I<optionp>. The tokens " |
| 158 |
"should be distinct, null-terminated strings containing at least one " |
| 159 |
"character, with no embedded equal signs or commas." |
| 160 |
msgstr "" |
| 161 |
"Argumentul I<tokens> este un indicator către o matrice cu terminație NULL de " |
| 162 |
"indicatori către token-urile pe care B<getsubopt>() le va căuta în " |
| 163 |
"I<optionp>. Token-urile trebuie să fie șiruri distincte, cu terminație nulă, " |
| 164 |
"care conțin cel puțin un caracter, fără semne egale sau virgule încorporate." |
| 165 |
|
| 166 |
#. type: Plain text |
| 167 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 168 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 169 |
msgid "" |
| 170 |
"Each call to B<getsubopt>() returns information about the next unprocessed " |
| 171 |
"suboption in I<optionp>. The first equal sign in a suboption (if any) is " |
| 172 |
"interpreted as a separator between the name and the value of that " |
| 173 |
"suboption. The value extends to the next comma, or (for the last suboption) " |
| 174 |
"to the end of the string. If the name of the suboption matches a known name " |
| 175 |
"from I<tokens>, and a value string was found, B<getsubopt>() sets " |
| 176 |
"I<*valuep> to the address of that string. The first comma in I<optionp> is " |
| 177 |
"overwritten with a null byte, so I<*valuep> is precisely the \"value " |
| 178 |
"string\" for that suboption." |
| 179 |
msgstr "" |
| 180 |
"Fiecare apel la B<getsubopt>() returnează informații despre următoarea " |
| 181 |
"subopțiune neprocesată din I<optionp>. Primul semn egal dintr-o subopțiune " |
| 182 |
"(dacă există) este interpretat ca un separator între numele și valoarea " |
| 183 |
"subopțiunii respective. Valoarea se extinde până la următoarea virgulă sau " |
| 184 |
"(pentru ultima subopțiune) până la sfârșitul șirului. Dacă numele " |
| 185 |
"subopțiunii corespunde unui nume cunoscut din I<tokens> și a fost găsit un " |
| 186 |
"șir de valori, B<getsubopt>() stabilește I<*valuep> la adresa șirului " |
| 187 |
"respectiv. Prima virgulă din I<optionp> este suprascrisă cu un octet nul, " |
| 188 |
"astfel încât I<*valuep> este exact „șirul de valori” pentru subopțiunea " |
| 189 |
"respectivă." |
| 190 |
|
| 191 |
#. type: Plain text |
| 192 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 193 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 194 |
msgid "" |
| 195 |
"If the suboption is recognized, but no value string was found, I<*valuep> is " |
| 196 |
"set to NULL." |
| 197 |
msgstr "" |
| 198 |
"Dacă subopțiunea este recunoscută, dar nu a fost găsit niciun șir de valori, " |
| 199 |
"I<*valuep> este stabilită la NULL." |
| 200 |
|
| 201 |
#. type: Plain text |
| 202 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 203 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 204 |
msgid "" |
| 205 |
"When B<getsubopt>() returns, I<optionp> points to the next suboption, or to " |
| 206 |
"the null byte (\\[aq]\\[rs]0\\[aq]) at the end of the string if the last " |
| 207 |
"suboption was just processed." |
| 208 |
msgstr "" |
| 209 |
"Când B<getsubopt>() returnează, I<optionp> indică următoarea subopțiune sau " |
| 210 |
"octetul nul („\\[rs]0”) de la sfârșitul șirului dacă ultima subopțiune " |
| 211 |
"tocmai a fost procesată." |
| 212 |
|
| 213 |
#. type: SH |
| 214 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 215 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 216 |
#, no-wrap |
| 217 |
msgid "RETURN VALUE" |
| 218 |
msgstr "VALOAREA RETURNATĂ" |
| 219 |
|
| 220 |
#. type: Plain text |
| 221 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 222 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 223 |
msgid "" |
| 224 |
"If the first suboption in I<optionp> is recognized, B<getsubopt>() returns " |
| 225 |
"the index of the matching suboption element in I<tokens>. Otherwise, -1 is " |
| 226 |
"returned and I<*valuep> is the entire I<name>B<[=>I<value>B<]> string." |
| 227 |
msgstr "" |
| 228 |
"Dacă prima subopțiune din I<optionp> este recunoscută, B<getsubopt>() " |
| 229 |
"returnează indexul elementului de subopțiune corespunzător din I<tokens>. În " |
| 230 |
"caz contrar, se returnează -1, iar I<*valuep> este întregul șir " |
| 231 |
"I<nume>B<[=>I<valoare>B<]>." |
| 232 |
|
| 233 |
#. type: Plain text |
| 234 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 235 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 236 |
msgid "" |
| 237 |
"Since I<*optionp> is changed, the first suboption before the call to " |
| 238 |
"B<getsubopt>() is not (necessarily) the same as the first suboption after " |
| 239 |
"B<getsubopt>()." |
| 240 |
msgstr "" |
| 241 |
"Deoarece I<*optionp> este modificată, prima subopțiune înainte de apelul la " |
| 242 |
"B<getsubopt>() nu este (neapărat) aceeași cu prima subopțiune după " |
| 243 |
"B<getsubopt>()." |
| 244 |
|
| 245 |
#. type: SH |
| 246 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 247 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 248 |
#, no-wrap |
| 249 |
msgid "ATTRIBUTES" |
| 250 |
msgstr "ATRIBUTE" |
| 251 |
|
| 252 |
#. type: Plain text |
| 253 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 254 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 255 |
msgid "" |
| 256 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 257 |
msgstr "" |
| 258 |
"Pentru o explicație a termenilor folosiți în această secțiune, a se vedea " |
| 259 |
"B<attributes>(7)." |
| 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 "Interface" |
| 266 |
msgstr "Interfață" |
| 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 "Attribute" |
| 273 |
msgstr "Atribut" |
| 274 |
|
| 275 |
#. type: tbl table |
| 276 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 277 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 278 |
#, no-wrap |
| 279 |
msgid "Value" |
| 280 |
msgstr "Valoare" |
| 281 |
|
| 282 |
#. type: tbl table |
| 283 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 284 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 285 |
#, no-wrap |
| 286 |
msgid ".na\n" |
| 287 |
msgstr ".na\n" |
| 288 |
|
| 289 |
#. type: tbl table |
| 290 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 291 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 292 |
#, no-wrap |
| 293 |
msgid ".nh\n" |
| 294 |
msgstr ".nh\n" |
| 295 |
|
| 296 |
#. type: tbl table |
| 297 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 298 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 299 |
#, no-wrap |
| 300 |
msgid "B<getsubopt>()" |
| 301 |
msgstr "B<getsubopt>()" |
| 302 |
|
| 303 |
#. type: tbl table |
| 304 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 305 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 306 |
#, no-wrap |
| 307 |
msgid "Thread safety" |
| 308 |
msgstr "Siguranța firelor" |
| 309 |
|
| 310 |
#. type: tbl table |
| 311 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 312 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 313 |
#, no-wrap |
| 314 |
msgid "MT-Safe" |
| 315 |
msgstr "MT-Safe" |
| 316 |
|
| 317 |
#. type: SH |
| 318 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 319 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 320 |
#, no-wrap |
| 321 |
msgid "STANDARDS" |
| 322 |
msgstr "STANDARDE" |
| 323 |
|
| 324 |
#. type: Plain text |
| 325 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 326 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 327 |
msgid "POSIX.1-2008." |
| 328 |
msgstr "POSIX.1-2008." |
| 329 |
|
| 330 |
#. type: SH |
| 331 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 332 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 333 |
#, no-wrap |
| 334 |
msgid "HISTORY" |
| 335 |
msgstr "ISTORIC" |
| 336 |
|
| 337 |
#. type: Plain text |
| 338 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 339 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 340 |
msgid "POSIX.1-2001." |
| 341 |
msgstr "POSIX.1-2001." |
| 342 |
|
| 343 |
#. type: SH |
| 344 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 345 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 346 |
#, no-wrap |
| 347 |
msgid "NOTES" |
| 348 |
msgstr "NOTE" |
| 349 |
|
| 350 |
#. type: Plain text |
| 351 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 352 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 353 |
msgid "" |
| 354 |
"Since B<getsubopt>() overwrites any commas it finds in the string " |
| 355 |
"I<*optionp>, that string must be writable; it cannot be a string constant." |
| 356 |
msgstr "" |
| 357 |
"Deoarece B<getsubopt>() suprascrie orice virgulă pe care o găsește în șirul " |
| 358 |
"I<*optionp>, acel șir trebuie să poată fi scris; nu poate fi o constantă de " |
| 359 |
"șir." |
| 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-trixie debian-unstable fedora-44 fedora-rawhide |
| 370 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 371 |
msgid "The following program expects suboptions following a \"-o\" option." |
| 372 |
msgstr "Următorul program așteaptă subopțiuni după o opțiune „-o”." |
| 373 |
|
| 374 |
#. type: Plain text |
| 375 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 376 |
#: opensuse-tumbleweed |
| 377 |
#, no-wrap |
| 378 |
msgid "" |
| 379 |
"#define _XOPEN_SOURCE 500\n" |
| 380 |
"#include E<lt>stdio.hE<gt>\n" |
| 381 |
"#include E<lt>stdlib.hE<gt>\n" |
| 382 |
"\\&\n" |
| 383 |
"#include E<lt>assert.hE<gt>\n" |
| 384 |
"\\&\n" |
| 385 |
"int\n" |
| 386 |
"main(int argc, char *argv[])\n" |
| 387 |
"{\n" |
| 388 |
" enum {\n" |
| 389 |
" RO_OPT = 0,\n" |
| 390 |
" RW_OPT,\n" |
| 391 |
" NAME_OPT\n" |
| 392 |
" };\n" |
| 393 |
" char *const token[] = {\n" |
| 394 |
" [RO_OPT] = \"ro\",\n" |
| 395 |
" [RW_OPT] = \"rw\",\n" |
| 396 |
" [NAME_OPT] = \"name\",\n" |
| 397 |
" NULL\n" |
| 398 |
" };\n" |
| 399 |
" char *subopts;\n" |
| 400 |
" char *value;\n" |
| 401 |
" int opt;\n" |
| 402 |
"\\&\n" |
| 403 |
" int readonly = 0;\n" |
| 404 |
" int readwrite = 0;\n" |
| 405 |
" char *name = NULL;\n" |
| 406 |
" int errfnd = 0;\n" |
| 407 |
"\\&\n" |
| 408 |
" while ((opt = getopt(argc, argv, \"o:\")) != -1) {\n" |
| 409 |
" switch (opt) {\n" |
| 410 |
" case \\[aq]o\\[aq]:\n" |
| 411 |
" subopts = optarg;\n" |
| 412 |
" while (*subopts != \\[aq]\\[rs]0\\[aq] && !errfnd) {\n" |
| 413 |
"\\&\n" |
| 414 |
" switch (getsubopt(&subopts, token, &value)) {\n" |
| 415 |
" case RO_OPT:\n" |
| 416 |
" readonly = 1;\n" |
| 417 |
" break;\n" |
| 418 |
"\\&\n" |
| 419 |
" case RW_OPT:\n" |
| 420 |
" readwrite = 1;\n" |
| 421 |
" break;\n" |
| 422 |
"\\&\n" |
| 423 |
" case NAME_OPT:\n" |
| 424 |
" if (value == NULL) {\n" |
| 425 |
" fprintf(stderr,\n" |
| 426 |
" \"Missing value for suboption \\[aq]%s\\[aq]\\[rs]n\",\n" |
| 427 |
" token[NAME_OPT]);\n" |
| 428 |
" errfnd = 1;\n" |
| 429 |
" continue;\n" |
| 430 |
" }\n" |
| 431 |
"\\&\n" |
| 432 |
" name = value;\n" |
| 433 |
" break;\n" |
| 434 |
"\\&\n" |
| 435 |
" default:\n" |
| 436 |
" fprintf(stderr,\n" |
| 437 |
" \"No match found for token: /%s/\\[rs]n\", value);\n" |
| 438 |
" errfnd = 1;\n" |
| 439 |
" break;\n" |
| 440 |
" }\n" |
| 441 |
" }\n" |
| 442 |
" if (readwrite && readonly) {\n" |
| 443 |
" fprintf(stderr,\n" |
| 444 |
" \"Only one of \\[aq]%s\\[aq] and \\[aq]%s\\[aq] can be specified\\[rs]n\",\n" |
| 445 |
" token[RO_OPT], token[RW_OPT]);\n" |
| 446 |
" errfnd = 1;\n" |
| 447 |
" }\n" |
| 448 |
" break;\n" |
| 449 |
"\\&\n" |
| 450 |
" default:\n" |
| 451 |
" errfnd = 1;\n" |
| 452 |
" }\n" |
| 453 |
" }\n" |
| 454 |
"\\&\n" |
| 455 |
" if (errfnd || argc == 1) {\n" |
| 456 |
" fprintf(stderr, \"\\[rs]nUsage: %s -o E<lt>suboptstringE<gt>\\[rs]n\", argv[0]);\n" |
| 457 |
" fprintf(stderr,\n" |
| 458 |
" \"suboptions are \\[aq]ro\\[aq], \\[aq]rw\\[aq], and \\[aq]name=E<lt>valueE<gt>\\[aq]\\[rs]n\");\n" |
| 459 |
" exit(EXIT_FAILURE);\n" |
| 460 |
" }\n" |
| 461 |
"\\&\n" |
| 462 |
" /* Remainder of program... */\n" |
| 463 |
"\\&\n" |
| 464 |
" exit(EXIT_SUCCESS);\n" |
| 465 |
"}\n" |
| 466 |
msgstr "" |
| 467 |
"#define _XOPEN_SOURCE 500\n" |
| 468 |
"#include E<lt>stdio.hE<gt>\n" |
| 469 |
"#include E<lt>stdlib.hE<gt>\n" |
| 470 |
"\\&\n" |
| 471 |
"#include E<lt>assert.hE<gt>\n" |
| 472 |
"\\&\n" |
| 473 |
"int\n" |
| 474 |
"main(int argc, char *argv[])\n" |
| 475 |
"{\n" |
| 476 |
" enum {\n" |
| 477 |
" RO_OPT = 0,\n" |
| 478 |
" RW_OPT,\n" |
| 479 |
" NAME_OPT\n" |
| 480 |
" };\n" |
| 481 |
" char *const token[] = {\n" |
| 482 |
" [RO_OPT] = \"ro\",\n" |
| 483 |
" [RW_OPT] = \"rw\",\n" |
| 484 |
" [NAME_OPT] = \"name\",\n" |
| 485 |
" NULL\n" |
| 486 |
" };\n" |
| 487 |
" char *subopts;\n" |
| 488 |
" char *value;\n" |
| 489 |
" int opt;\n" |
| 490 |
"\\&\n" |
| 491 |
" int readonly = 0;\n" |
| 492 |
" int readwrite = 0;\n" |
| 493 |
" char *name = NULL;\n" |
| 494 |
" int errfnd = 0;\n" |
| 495 |
"\\&\n" |
| 496 |
" while ((opt = getopt(argc, argv, \"o:\")) != -1) {\n" |
| 497 |
" switch (opt) {\n" |
| 498 |
" case \\[aq]o\\[aq]:\n" |
| 499 |
" subopts = optarg;\n" |
| 500 |
" while (*subopts != \\[aq]\\[rs]0\\[aq] && !errfnd) {\n" |
| 501 |
"\\&\n" |
| 502 |
" switch (getsubopt(&subopts, token, &value)) {\n" |
| 503 |
" case RO_OPT:\n" |
| 504 |
" readonly = 1;\n" |
| 505 |
" break;\n" |
| 506 |
"\\&\n" |
| 507 |
" case RW_OPT:\n" |
| 508 |
" readwrite = 1;\n" |
| 509 |
" break;\n" |
| 510 |
"\\&\n" |
| 511 |
" case NAME_OPT:\n" |
| 512 |
" if (value == NULL) {\n" |
| 513 |
" fprintf(stderr,\n" |
| 514 |
" \"Lipsește valoarea pentru subopțiunea \\[aq]%s\\[aq]\\[rs]n\",\n" |
| 515 |
" token[NAME_OPT]);\n" |
| 516 |
" errfnd = 1;\n" |
| 517 |
" continue;\n" |
| 518 |
" }\n" |
| 519 |
"\\&\n" |
| 520 |
" name = value;\n" |
| 521 |
" break;\n" |
| 522 |
"\\&\n" |
| 523 |
" default:\n" |
| 524 |
" fprintf(stderr,\n" |
| 525 |
" \"Nu s-a găsit nicio potrivire pentru token: /%s/\\[rs]n\", value);\n" |
| 526 |
" errfnd = 1;\n" |
| 527 |
" break;\n" |
| 528 |
" }\n" |
| 529 |
" }\n" |
| 530 |
" if (readwrite && readonly) {\n" |
| 531 |
" fprintf(stderr,\n" |
| 532 |
" \"Doar una dintre \\[aq]%s\\[aq] și \\[aq]%s\\[aq] poate fi specificată\\[rs]n\",\n" |
| 533 |
" token[RO_OPT], token[RW_OPT]);\n" |
| 534 |
" errfnd = 1;\n" |
| 535 |
" }\n" |
| 536 |
" break;\n" |
| 537 |
"\\&\n" |
| 538 |
" default:\n" |
| 539 |
" errfnd = 1;\n" |
| 540 |
" }\n" |
| 541 |
" }\n" |
| 542 |
"\\&\n" |
| 543 |
" if (errfnd || argc == 1) {\n" |
| 544 |
" fprintf(stderr, \"\\[rs]nUtilizare: %s -o E<lt>șir-subopțiuneE<gt>\\[rs]n\", argv[0]);\n" |
| 545 |
" fprintf(stderr,\n" |
| 546 |
" \"subopțiunile sunt \\[aq]ro\\[aq], \\[aq]rw\\[aq], și \\[aq]nume=E<lt>valoareE<gt>\\[aq]\\[rs]n\");\n" |
| 547 |
" exit(EXIT_FAILURE);\n" |
| 548 |
" }\n" |
| 549 |
"\\&\n" |
| 550 |
" /* Restul programului... */\n" |
| 551 |
"\\&\n" |
| 552 |
" exit(EXIT_SUCCESS);\n" |
| 553 |
"}\n" |
| 554 |
|
| 555 |
#. SRC END |
| 556 |
#. type: SH |
| 557 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 558 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 559 |
#, no-wrap |
| 560 |
msgid "SEE ALSO" |
| 561 |
msgstr "CONSULTAȚI ȘI" |
| 562 |
|
| 563 |
#. type: Plain text |
| 564 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 565 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 566 |
msgid "B<getopt>(3)" |
| 567 |
msgstr "B<getopt>(3)" |
| 568 |
|
| 569 |
#. type: TH |
| 570 |
#: debian-trixie |
| 571 |
#, no-wrap |
| 572 |
msgid "2024-06-15" |
| 573 |
msgstr "15 iunie 2024" |
| 574 |
|
| 575 |
#. type: TH |
| 576 |
#: debian-trixie |
| 577 |
#, no-wrap |
| 578 |
msgid "Linux man-pages 6.9.1" |
| 579 |
msgstr "Pagini de manual de Linux 6.9.1" |
| 580 |
|
| 581 |
#. type: Plain text |
| 582 |
#: debian-trixie |
| 583 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 584 |
msgstr "Biblioteca C standard (I<libc>, I<-lc>)" |
| 585 |
|
| 586 |
#. type: Plain text |
| 587 |
#: debian-trixie fedora-44 fedora-rawhide |
| 588 |
#, no-wrap |
| 589 |
msgid "" |
| 590 |
"#define _XOPEN_SOURCE 500\n" |
| 591 |
"#include E<lt>stdio.hE<gt>\n" |
| 592 |
"#include E<lt>stdlib.hE<gt>\n" |
| 593 |
"\\&\n" |
| 594 |
"#include E<lt>assert.hE<gt>\n" |
| 595 |
"\\&\n" |
| 596 |
"int\n" |
| 597 |
"main(int argc, char *argv[])\n" |
| 598 |
"{\n" |
| 599 |
" enum {\n" |
| 600 |
" RO_OPT = 0,\n" |
| 601 |
" RW_OPT,\n" |
| 602 |
" NAME_OPT\n" |
| 603 |
" };\n" |
| 604 |
" char *const token[] = {\n" |
| 605 |
" [RO_OPT] = \"ro\",\n" |
| 606 |
" [RW_OPT] = \"rw\",\n" |
| 607 |
" [NAME_OPT] = \"name\",\n" |
| 608 |
" NULL\n" |
| 609 |
" };\n" |
| 610 |
" char *subopts;\n" |
| 611 |
" char *value;\n" |
| 612 |
" int opt;\n" |
| 613 |
"\\&\n" |
| 614 |
" int readonly = 0;\n" |
| 615 |
" int readwrite = 0;\n" |
| 616 |
" char *name = NULL;\n" |
| 617 |
" int errfnd = 0;\n" |
| 618 |
"\\&\n" |
| 619 |
" while ((opt = getopt(argc, argv, \"o:\")) != -1) {\n" |
| 620 |
" switch (opt) {\n" |
| 621 |
" case \\[aq]o\\[aq]:\n" |
| 622 |
" subopts = optarg;\n" |
| 623 |
" while (*subopts != \\[aq]\\[rs]0\\[aq] && !errfnd) {\n" |
| 624 |
"\\&\n" |
| 625 |
" switch (getsubopt(&subopts, token, &value)) {\n" |
| 626 |
" case RO_OPT:\n" |
| 627 |
" readonly = 1;\n" |
| 628 |
" break;\n" |
| 629 |
"\\&\n" |
| 630 |
" case RW_OPT:\n" |
| 631 |
" readwrite = 1;\n" |
| 632 |
" break;\n" |
| 633 |
"\\&\n" |
| 634 |
" case NAME_OPT:\n" |
| 635 |
" if (value == NULL) {\n" |
| 636 |
" fprintf(stderr,\n" |
| 637 |
" \"Missing value for suboption \\[aq]%s\\[aq]\\[rs]n\",\n" |
| 638 |
" token[NAME_OPT]);\n" |
| 639 |
" errfnd = 1;\n" |
| 640 |
" continue;\n" |
| 641 |
" }\n" |
| 642 |
"\\&\n" |
| 643 |
" name = value;\n" |
| 644 |
" break;\n" |
| 645 |
"\\&\n" |
| 646 |
" default:\n" |
| 647 |
" fprintf(stderr,\n" |
| 648 |
" \"No match found for token: /%s/\\[rs]n\", value);\n" |
| 649 |
" errfnd = 1;\n" |
| 650 |
" break;\n" |
| 651 |
" }\n" |
| 652 |
" }\n" |
| 653 |
" if (readwrite && readonly) {\n" |
| 654 |
" fprintf(stderr,\n" |
| 655 |
" \"Only one of \\[aq]%s\\[aq] and \\[aq]%s\\[aq] can be specified\\[rs]n\",\n" |
| 656 |
" token[RO_OPT], token[RW_OPT]);\n" |
| 657 |
" errfnd = 1;\n" |
| 658 |
" }\n" |
| 659 |
" break;\n" |
| 660 |
"\\&\n" |
| 661 |
" default:\n" |
| 662 |
" errfnd = 1;\n" |
| 663 |
" }\n" |
| 664 |
" }\n" |
| 665 |
"\\&\n" |
| 666 |
" if (errfnd || argc == 1) {\n" |
| 667 |
" fprintf(stderr, \"\\[rs]nUsage: %s -o E<lt>suboptstringE<gt>\\[rs]n\", argv[0]);\n" |
| 668 |
" fprintf(stderr,\n" |
| 669 |
" \"suboptions are \\[aq]ro\\[aq], \\[aq]rw\\[aq], and \\[aq]name=E<lt>valueE<gt>\\[aq]\\[rs]n\");\n" |
| 670 |
" exit(EXIT_FAILURE);\n" |
| 671 |
" }\n" |
| 672 |
"\\&\n" |
| 673 |
" /* Remainder of program... */\n" |
| 674 |
"\\&\n" |
| 675 |
" exit(EXIT_SUCCESS);\n" |
| 676 |
"}\n" |
| 677 |
msgstr "" |
| 678 |
"#define _XOPEN_SOURCE 500\n" |
| 679 |
"#include E<lt>stdio.hE<gt>\n" |
| 680 |
"#include E<lt>stdlib.hE<gt>\n" |
| 681 |
"\\&\n" |
| 682 |
"#include E<lt>assert.hE<gt>\n" |
| 683 |
"\\&\n" |
| 684 |
"int\n" |
| 685 |
"main(int argc, char *argv[])\n" |
| 686 |
"{\n" |
| 687 |
" enum {\n" |
| 688 |
" RO_OPT = 0,\n" |
| 689 |
" RW_OPT,\n" |
| 690 |
" NAME_OPT\n" |
| 691 |
" };\n" |
| 692 |
" char *const token[] = {\n" |
| 693 |
" [RO_OPT] = \"ro\",\n" |
| 694 |
" [RW_OPT] = \"rw\",\n" |
| 695 |
" [NAME_OPT] = \"name\",\n" |
| 696 |
" NULL\n" |
| 697 |
" };\n" |
| 698 |
" char *subopts;\n" |
| 699 |
" char *value;\n" |
| 700 |
" int opt;\n" |
| 701 |
"\\&\n" |
| 702 |
" int readonly = 0;\n" |
| 703 |
" int readwrite = 0;\n" |
| 704 |
" char *name = NULL;\n" |
| 705 |
" int errfnd = 0;\n" |
| 706 |
"\\&\n" |
| 707 |
" while ((opt = getopt(argc, argv, \"o:\")) != -1) {\n" |
| 708 |
" switch (opt) {\n" |
| 709 |
" case \\[aq]o\\[aq]:\n" |
| 710 |
" subopts = optarg;\n" |
| 711 |
" while (*subopts != \\[aq]\\[rs]0\\[aq] && !errfnd) {\n" |
| 712 |
"\\&\n" |
| 713 |
" switch (getsubopt(&subopts, token, &value)) {\n" |
| 714 |
" case RO_OPT:\n" |
| 715 |
" readonly = 1;\n" |
| 716 |
" break;\n" |
| 717 |
"\\&\n" |
| 718 |
" case RW_OPT:\n" |
| 719 |
" readwrite = 1;\n" |
| 720 |
" break;\n" |
| 721 |
"\\&\n" |
| 722 |
" case NAME_OPT:\n" |
| 723 |
" if (value == NULL) {\n" |
| 724 |
" fprintf(stderr,\n" |
| 725 |
" \"Lipsește valoarea pentru subopțiunea \\[aq]%s\\[aq]\\[rs]n\",\n" |
| 726 |
" token[NAME_OPT]);\n" |
| 727 |
" errfnd = 1;\n" |
| 728 |
" continue;\n" |
| 729 |
" }\n" |
| 730 |
"\\&\n" |
| 731 |
" name = value;\n" |
| 732 |
" break;\n" |
| 733 |
"\\&\n" |
| 734 |
" default:\n" |
| 735 |
" fprintf(stderr,\n" |
| 736 |
" \"Nu s-a găsit nicio potrivire pentru token: /%s/\\[rs]n\", value);\n" |
| 737 |
" errfnd = 1;\n" |
| 738 |
" break;\n" |
| 739 |
" }\n" |
| 740 |
" }\n" |
| 741 |
" if (readwrite && readonly) {\n" |
| 742 |
" fprintf(stderr,\n" |
| 743 |
" \"Doar una dintre \\[aq]%s\\[aq] și \\[aq]%s\\[aq] poate fi specificată\\[rs]n\",\n" |
| 744 |
" token[RO_OPT], token[RW_OPT]);\n" |
| 745 |
" errfnd = 1;\n" |
| 746 |
" }\n" |
| 747 |
" break;\n" |
| 748 |
"\\&\n" |
| 749 |
" default:\n" |
| 750 |
" errfnd = 1;\n" |
| 751 |
" }\n" |
| 752 |
" }\n" |
| 753 |
"\\&\n" |
| 754 |
" if (errfnd || argc == 1) {\n" |
| 755 |
" fprintf(stderr, \"\\[rs]nUtilizare: %s -o E<lt>șir-subopțiuneE<gt>\\[rs]n\", argv[0]);\n" |
| 756 |
" fprintf(stderr,\n" |
| 757 |
" \"subopțiunile sunt \\[aq]ro\\[aq], \\[aq]rw\\[aq], și \\[aq]nume=E<lt>valoareE<gt>\\[aq]\\[rs]n\");\n" |
| 758 |
" exit(EXIT_FAILURE);\n" |
| 759 |
" }\n" |
| 760 |
"\\&\n" |
| 761 |
" /* Restul programului... */\n" |
| 762 |
"\\&\n" |
| 763 |
" exit(EXIT_SUCCESS);\n" |
| 764 |
"}\n" |
| 765 |
|
| 766 |
#. type: TH |
| 767 |
#: fedora-44 fedora-rawhide |
| 768 |
#, no-wrap |
| 769 |
msgid "2024-07-23" |
| 770 |
msgstr "23 iulie 2024" |
| 771 |
|
| 772 |
#. type: TH |
| 773 |
#: fedora-44 fedora-rawhide |
| 774 |
#, no-wrap |
| 775 |
msgid "Linux man-pages 6.13" |
| 776 |
msgstr "Pagini de manual de Linux 6.13" |
| 777 |
|
| 778 |
#. type: TH |
| 779 |
#: mageia-cauldron |
| 780 |
#, no-wrap |
| 781 |
msgid "Linux man-pages 6.17" |
| 782 |
msgstr "Pagini de manual de Linux 6.17" |
| 783 |
|
| 784 |
#. type: TH |
| 785 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 786 |
#, no-wrap |
| 787 |
msgid "Linux man-pages (unreleased)" |
| 788 |
msgstr "Pagini de manual Linux (nepublicate)" |