| 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]>, 2025, 2026. |
| 5 |
msgid "" |
| 6 |
msgstr "" |
| 7 |
"Project-Id-Version: manpages-l10n 4.25.1\n" |
| 8 |
"POT-Creation-Date: 2026-06-05 06:39+0200\n" |
| 9 |
"PO-Revision-Date: 2026-03-08 12:03+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.8\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 "readdir" |
| 25 |
msgstr "readdir" |
| 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 "readdir - read a directory" |
| 51 |
msgstr "readdir - citește un director" |
| 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>dirent.hE<gt>>\n" |
| 78 |
msgstr "B<#include E<lt>dirent.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<struct dirent *readdir(DIR *>I<dirp>B<);>\n" |
| 85 |
msgstr "B<struct dirent *readdir(DIR *>I<dirp>B<);>\n" |
| 86 |
|
| 87 |
#. type: SH |
| 88 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 89 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 90 |
#, no-wrap |
| 91 |
msgid "DESCRIPTION" |
| 92 |
msgstr "DESCRIERE" |
| 93 |
|
| 94 |
#. type: Plain text |
| 95 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 96 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 97 |
msgid "" |
| 98 |
"The B<readdir>() function returns a pointer to a I<dirent> structure " |
| 99 |
"representing the next directory entry in the directory stream pointed to by " |
| 100 |
"I<dirp>. It returns NULL on reaching the end of the directory stream or if " |
| 101 |
"an error occurred." |
| 102 |
msgstr "" |
| 103 |
"Funcția B<readdir>() returnează un indicator către o structură I<dirent> " |
| 104 |
"care reprezintă următoarea intrare de director din fluxul de directoare " |
| 105 |
"indicat de I<dirp>. Aceasta returnează NULL dacă se ajunge la sfârșitul " |
| 106 |
"fluxului de directoare sau dacă s-a produs o eroare." |
| 107 |
|
| 108 |
#. type: Plain text |
| 109 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 110 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 111 |
msgid "" |
| 112 |
"In the glibc implementation, the I<dirent> structure is defined as follows:" |
| 113 |
msgstr "" |
| 114 |
"În implementarea glibc, structura I<dirent> este definită după cum urmează:" |
| 115 |
|
| 116 |
#. type: Plain text |
| 117 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 118 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 119 |
#, no-wrap |
| 120 |
msgid "" |
| 121 |
"struct dirent {\n" |
| 122 |
" ino_t d_ino; /* Inode number */\n" |
| 123 |
" off_t d_off; /* Not an offset; see below */\n" |
| 124 |
" unsigned short d_reclen; /* Length of this record */\n" |
| 125 |
" unsigned char d_type; /* Type of file; not supported\n" |
| 126 |
" by all filesystem types */\n" |
| 127 |
" char d_name[256]; /* Null-terminated filename */\n" |
| 128 |
"};\n" |
| 129 |
msgstr "" |
| 130 |
"struct dirent {\n" |
| 131 |
" ino_t d_ino; /* Numărul nodului-i */\n" |
| 132 |
" off_t d_off; /* Nu este un decalaj; a se vedea mai jos */\n" |
| 133 |
" unsigned short d_reclen; /* Lungimea acestei înregistrări */\n" |
| 134 |
" unsigned char d_type; /* Tipul de fișier; nu este acceptat\n" |
| 135 |
" de către toate tipurile de sisteme de fișiere */\n" |
| 136 |
" char d_name[256]; /* Nume de fișier cu terminație nulă */\n" |
| 137 |
"};\n" |
| 138 |
|
| 139 |
#. type: Plain text |
| 140 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 141 |
#: opensuse-tumbleweed |
| 142 |
msgid "" |
| 143 |
"The only fields in the I<dirent> structure that are mandated by POSIX.1 are " |
| 144 |
"I<.d_name> and I<.d_ino>. The other fields are unstandardized, and not " |
| 145 |
"present on all systems; see VERSIONS." |
| 146 |
msgstr "" |
| 147 |
"Singurele câmpuri din structura I<dirent> care sunt impuse de POSIX.1 sunt " |
| 148 |
"I<.d_name> și I<.d_ino>. Celelalte câmpuri nu sunt standardizate și nu sunt " |
| 149 |
"prezente pe toate sistemele; a se vedea secțiunea «VERSIUNI»." |
| 150 |
|
| 151 |
#. type: Plain text |
| 152 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 153 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 154 |
msgid "The fields of the I<dirent> structure are as follows:" |
| 155 |
msgstr "Câmpurile structurii I<dirent> sunt următoarele:" |
| 156 |
|
| 157 |
#. type: TP |
| 158 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 159 |
#: opensuse-tumbleweed |
| 160 |
#, no-wrap |
| 161 |
msgid "I<.d_ino>" |
| 162 |
msgstr "I<.d_ino>" |
| 163 |
|
| 164 |
#. type: Plain text |
| 165 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 166 |
#: opensuse-tumbleweed |
| 167 |
msgid "" |
| 168 |
"This is the inode number of the file in the filesystem containing the " |
| 169 |
"directory on which B<readdir>() was called. If the directory entry is a " |
| 170 |
"mount point, then I<.d_ino> differs from I<.st_ino> returned by B<stat>(2) " |
| 171 |
"on this file: I<.d_ino> is the inode number of the mount point, while " |
| 172 |
"I<.st_ino> is the inode number of the root directory of the mounted " |
| 173 |
"filesystem." |
| 174 |
msgstr "" |
| 175 |
"Acesta este numărul nodului-i al fișierului din sistemul de fișiere care " |
| 176 |
"conține directorul în care a fost apelată funcția B<readdir>(). Dacă " |
| 177 |
"intrarea de director este un punct de montare, atunci I<.d_ino> diferă de " |
| 178 |
"I<.st_ino> returnat de B<stat>(2) pentru acest fișier: I<.d_ino> este " |
| 179 |
"numărul nodului-i al punctului de montare, în timp ce I<.st_ino> este " |
| 180 |
"numărul nodului-i al directorului rădăcină al sistemului de fișiere montat." |
| 181 |
|
| 182 |
#. type: TP |
| 183 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 184 |
#: opensuse-tumbleweed |
| 185 |
#, no-wrap |
| 186 |
msgid "I<.d_off>" |
| 187 |
msgstr "I<.d_off>" |
| 188 |
|
| 189 |
#. https://lwn.net/Articles/544298/ |
| 190 |
#. type: Plain text |
| 191 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 192 |
#: opensuse-tumbleweed |
| 193 |
msgid "" |
| 194 |
"The value returned in I<.d_off> is the same as would be returned by calling " |
| 195 |
"B<telldir>(3) at the current position in the directory stream. Be aware " |
| 196 |
"that despite its type and name, the I<.d_off> field is seldom any kind of " |
| 197 |
"directory offset on modern filesystems. Applications should treat this " |
| 198 |
"field as an opaque value, making no assumptions about its contents; see also " |
| 199 |
"B<telldir>(3)." |
| 200 |
msgstr "" |
| 201 |
"Valoarea returnată în I<.d_off> este aceeași care ar fi returnată prin " |
| 202 |
"apelarea B<telldir>(3) la poziția curentă în fluxul de directoare. Rețineți " |
| 203 |
"că, în ciuda tipului și numelui său, câmpul I<.d_off> este rareori un fel de " |
| 204 |
"decalaj de director pe sistemele de fișiere moderne. Aplicațiile trebuie să " |
| 205 |
"trateze acest câmp ca pe o valoare opacă, fără a face presupuneri cu privire " |
| 206 |
"la conținutul său; consultați și B<telldir>(3)." |
| 207 |
|
| 208 |
#. type: TP |
| 209 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 210 |
#: opensuse-tumbleweed |
| 211 |
#, no-wrap |
| 212 |
msgid "I<.d_reclen>" |
| 213 |
msgstr "I<.d_reclen>" |
| 214 |
|
| 215 |
#. type: Plain text |
| 216 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 217 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 218 |
msgid "" |
| 219 |
"This is the size (in bytes) of the returned record. This may not match the " |
| 220 |
"size of the structure definition shown above; see VERSIONS." |
| 221 |
msgstr "" |
| 222 |
"Aceasta este dimensiunea (în octeți) a înregistrării returnate. Aceasta " |
| 223 |
"poate să nu coincidă cu dimensiunea definiției structurii prezentate mai " |
| 224 |
"sus; a se vedea secțiunea VERSIUNI." |
| 225 |
|
| 226 |
#. type: TP |
| 227 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 228 |
#: opensuse-tumbleweed |
| 229 |
#, no-wrap |
| 230 |
msgid "I<.d_type>" |
| 231 |
msgstr "I<.d_type>" |
| 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 |
"This field contains a value indicating the file type, making it possible to " |
| 238 |
"avoid the expense of calling B<lstat>(2) if further actions depend on the " |
| 239 |
"type of the file." |
| 240 |
msgstr "" |
| 241 |
"Acest câmp conține o valoare care indică tipul de fișier, ceea ce permite " |
| 242 |
"evitarea apelării B<lstat>(2) dacă acțiunile ulterioare depind de tipul " |
| 243 |
"fișierului." |
| 244 |
|
| 245 |
#. type: Plain text |
| 246 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 247 |
#: opensuse-tumbleweed |
| 248 |
msgid "" |
| 249 |
"When a suitable feature test macro is defined (B<_DEFAULT_SOURCE> since " |
| 250 |
"glibc 2.19, or B<_BSD_SOURCE> on glibc 2.19 and earlier), glibc defines the " |
| 251 |
"following macro constants for the value returned in I<.d_type>:" |
| 252 |
msgstr "" |
| 253 |
"Atunci când este definit un macro test de caracteristică adecvat " |
| 254 |
"(B<_DEFAULT_SOURCE> de la glibc 2.19 sau B<_BSD_SOURCE> la glibc 2.19 și " |
| 255 |
"versiunile anterioare), glibc definește următoarele constante macro pentru " |
| 256 |
"valoarea returnată în I<.d_type>:" |
| 257 |
|
| 258 |
#. type: TP |
| 259 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 260 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 261 |
#, no-wrap |
| 262 |
msgid "B<DT_BLK>" |
| 263 |
msgstr "B<DT_BLK>" |
| 264 |
|
| 265 |
#. type: Plain text |
| 266 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 267 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 268 |
msgid "This is a block device." |
| 269 |
msgstr "Acesta este un dispozitiv de blocuri." |
| 270 |
|
| 271 |
#. type: TP |
| 272 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 273 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 274 |
#, no-wrap |
| 275 |
msgid "B<DT_CHR>" |
| 276 |
msgstr "B<DT_CHR>" |
| 277 |
|
| 278 |
#. type: Plain text |
| 279 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 280 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 281 |
msgid "This is a character device." |
| 282 |
msgstr "Acesta este un dispozitiv de caractere." |
| 283 |
|
| 284 |
#. type: TP |
| 285 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 286 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 287 |
#, no-wrap |
| 288 |
msgid "B<DT_DIR>" |
| 289 |
msgstr "B<DT_DIR>" |
| 290 |
|
| 291 |
#. type: Plain text |
| 292 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 293 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 294 |
msgid "This is a directory." |
| 295 |
msgstr "Acesta este un director." |
| 296 |
|
| 297 |
#. type: TP |
| 298 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 299 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 300 |
#, no-wrap |
| 301 |
msgid "B<DT_FIFO>" |
| 302 |
msgstr "B<DT_FIFO>" |
| 303 |
|
| 304 |
#. type: Plain text |
| 305 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 306 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 307 |
msgid "This is a named pipe (FIFO)." |
| 308 |
msgstr "Aceasta este o conductă cu nume (FIFO)." |
| 309 |
|
| 310 |
#. type: TP |
| 311 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 312 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 313 |
#, no-wrap |
| 314 |
msgid "B<DT_LNK>" |
| 315 |
msgstr "B<DT_LNK>" |
| 316 |
|
| 317 |
#. type: Plain text |
| 318 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 319 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 320 |
msgid "This is a symbolic link." |
| 321 |
msgstr "Aceasta este o legătură simbolică." |
| 322 |
|
| 323 |
#. type: TP |
| 324 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 325 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 326 |
#, no-wrap |
| 327 |
msgid "B<DT_REG>" |
| 328 |
msgstr "B<DT_REG>" |
| 329 |
|
| 330 |
#. type: Plain text |
| 331 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 332 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 333 |
msgid "This is a regular file." |
| 334 |
msgstr "Acesta este un fișier obișnuit." |
| 335 |
|
| 336 |
#. type: TP |
| 337 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 338 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 339 |
#, no-wrap |
| 340 |
msgid "B<DT_SOCK>" |
| 341 |
msgstr "B<DT_SOCK>" |
| 342 |
|
| 343 |
#. type: Plain text |
| 344 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 345 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 346 |
msgid "This is a UNIX domain socket." |
| 347 |
msgstr "Acesta este un soclu de domeniu UNIX." |
| 348 |
|
| 349 |
#. type: TP |
| 350 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 351 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 352 |
#, no-wrap |
| 353 |
msgid "B<DT_UNKNOWN>" |
| 354 |
msgstr "B<DT_UNKNOWN>" |
| 355 |
|
| 356 |
#. type: Plain text |
| 357 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 358 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 359 |
msgid "The file type could not be determined." |
| 360 |
msgstr "Tipul fișierului nu a putut fi determinat." |
| 361 |
|
| 362 |
#. kernel 2.6.27 |
| 363 |
#. The same sentence is in getdents.2 |
| 364 |
#. type: Plain text |
| 365 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 366 |
#: opensuse-tumbleweed |
| 367 |
msgid "" |
| 368 |
"Currently, only some filesystems (among them: Btrfs, ext2, ext3, and ext4) " |
| 369 |
"have full support for returning the file type in I<.d_type>. All " |
| 370 |
"applications must properly handle a return of B<DT_UNKNOWN>." |
| 371 |
msgstr "" |
| 372 |
"În prezent, numai unele sisteme de fișiere (printre care: Btrfs, ext2, ext3 " |
| 373 |
"și ext4) au suport complet pentru returnarea tipului de fișier în " |
| 374 |
"I<.d_type>. Toate aplicațiile trebuie să gestioneze în mod corespunzător o " |
| 375 |
"returnare de tip B<DT_UNKNOWN>." |
| 376 |
|
| 377 |
#. type: TP |
| 378 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 379 |
#: opensuse-tumbleweed |
| 380 |
#, no-wrap |
| 381 |
msgid "I<.d_name>" |
| 382 |
msgstr "I<.d_name>" |
| 383 |
|
| 384 |
#. type: Plain text |
| 385 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 386 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 387 |
msgid "This field contains the null terminated filename; see VERSIONS." |
| 388 |
msgstr "" |
| 389 |
"Acest câmp conține numele de fișier cu terminație nulă; a se vedea secțiunea " |
| 390 |
"VERSIUNI." |
| 391 |
|
| 392 |
#. type: Plain text |
| 393 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 394 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 395 |
msgid "" |
| 396 |
"The data returned by B<readdir>() may be overwritten by subsequent calls to " |
| 397 |
"B<readdir>() for the same directory stream." |
| 398 |
msgstr "" |
| 399 |
"Datele returnate de B<readdir>() pot fi suprascrise de apeluri ulterioare la " |
| 400 |
"B<readdir>() pentru același flux de directoare." |
| 401 |
|
| 402 |
#. type: SH |
| 403 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 404 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 405 |
#, no-wrap |
| 406 |
msgid "RETURN VALUE" |
| 407 |
msgstr "VALOAREA RETURNATĂ" |
| 408 |
|
| 409 |
#. type: Plain text |
| 410 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 411 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 412 |
msgid "" |
| 413 |
"On success, B<readdir>() returns a pointer to a I<dirent> structure. (This " |
| 414 |
"structure may be statically allocated; do not attempt to B<free>(3) it.)" |
| 415 |
msgstr "" |
| 416 |
"În caz de succes, B<readdir>() returnează un indicator către o structură " |
| 417 |
"I<dirent>. Această structură poate fi alocată static; nu încercați să o " |
| 418 |
"eliberați cu B<free>(3)." |
| 419 |
|
| 420 |
#. type: Plain text |
| 421 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 422 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 423 |
msgid "" |
| 424 |
"If the end of the directory stream is reached, NULL is returned and I<errno> " |
| 425 |
"is not changed. If an error occurs, NULL is returned and I<errno> is set to " |
| 426 |
"indicate the error. To distinguish end of stream from an error, set " |
| 427 |
"I<errno> to zero before calling B<readdir>() and then check the value of " |
| 428 |
"I<errno> if NULL is returned." |
| 429 |
msgstr "" |
| 430 |
"Dacă se ajunge la sfârșitul fluxului de directoare, se returnează NULL și " |
| 431 |
"I<errno> nu este modificată. Dacă apare o eroare, NULL este returnat și " |
| 432 |
"I<errno> este configurată pentru a indica eroarea. Pentru a distinge " |
| 433 |
"sfârșitul fluxului de o eroare, definiți I<errno> la zero înainte de a apela " |
| 434 |
"B<readdir>() și apoi verificați valoarea lui I<errno> dacă este returnat " |
| 435 |
"NULL." |
| 436 |
|
| 437 |
#. type: SH |
| 438 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 439 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 440 |
#, no-wrap |
| 441 |
msgid "ERRORS" |
| 442 |
msgstr "ERORI-IEȘIRE" |
| 443 |
|
| 444 |
#. type: TP |
| 445 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 446 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 447 |
#, no-wrap |
| 448 |
msgid "B<EBADF>" |
| 449 |
msgstr "B<EBADF>" |
| 450 |
|
| 451 |
#. type: Plain text |
| 452 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 453 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 454 |
msgid "Invalid directory stream descriptor I<dirp>." |
| 455 |
msgstr "Descriptor de flux de director nevalid I<dirp>." |
| 456 |
|
| 457 |
#. type: SH |
| 458 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 459 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 460 |
#, no-wrap |
| 461 |
msgid "ATTRIBUTES" |
| 462 |
msgstr "ATRIBUTE" |
| 463 |
|
| 464 |
#. type: Plain text |
| 465 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 466 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 467 |
msgid "" |
| 468 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 469 |
msgstr "" |
| 470 |
"Pentru o explicație a termenilor folosiți în această secțiune, a se vedea " |
| 471 |
"B<attributes>(7)." |
| 472 |
|
| 473 |
#. type: tbl table |
| 474 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 475 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 476 |
#, no-wrap |
| 477 |
msgid "Interface" |
| 478 |
msgstr "Interfață" |
| 479 |
|
| 480 |
#. type: tbl table |
| 481 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 482 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 483 |
#, no-wrap |
| 484 |
msgid "Attribute" |
| 485 |
msgstr "Atribut" |
| 486 |
|
| 487 |
#. type: tbl table |
| 488 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 489 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 490 |
#, no-wrap |
| 491 |
msgid "Value" |
| 492 |
msgstr "Valoare" |
| 493 |
|
| 494 |
#. type: tbl table |
| 495 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 496 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 497 |
#, no-wrap |
| 498 |
msgid ".na\n" |
| 499 |
msgstr ".na\n" |
| 500 |
|
| 501 |
#. type: tbl table |
| 502 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 503 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 504 |
#, no-wrap |
| 505 |
msgid ".nh\n" |
| 506 |
msgstr ".nh\n" |
| 507 |
|
| 508 |
#. type: tbl table |
| 509 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 510 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 511 |
#, no-wrap |
| 512 |
msgid "B<readdir>()" |
| 513 |
msgstr "B<readdir>()" |
| 514 |
|
| 515 |
#. type: tbl table |
| 516 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 517 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 518 |
#, no-wrap |
| 519 |
msgid "Thread safety" |
| 520 |
msgstr "Siguranța firelor" |
| 521 |
|
| 522 |
#. type: tbl table |
| 523 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 524 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 525 |
#, no-wrap |
| 526 |
msgid "MT-Unsafe race:dirstream" |
| 527 |
msgstr "MT-Unsafe race:dirstream" |
| 528 |
|
| 529 |
#. FIXME . |
| 530 |
#. http://www.austingroupbugs.net/view.php?id=696 |
| 531 |
#. type: Plain text |
| 532 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 533 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 534 |
msgid "" |
| 535 |
"In the current POSIX.1 specification (POSIX.1-2008), B<readdir>() is not " |
| 536 |
"required to be thread-safe. However, in modern implementations (including " |
| 537 |
"the glibc implementation), concurrent calls to B<readdir>() that specify " |
| 538 |
"different directory streams are thread-safe. In cases where multiple " |
| 539 |
"threads must read from the same directory stream, using B<readdir>() with " |
| 540 |
"external synchronization is still preferable to the use of the deprecated " |
| 541 |
"B<readdir_r>(3) function. It is expected that a future version of POSIX.1 " |
| 542 |
"will require that B<readdir>() be thread-safe when concurrently employed on " |
| 543 |
"different directory streams." |
| 544 |
msgstr "" |
| 545 |
"În actuala specificație POSIX.1 (POSIX.1-2008), B<readdir>() nu este necesar " |
| 546 |
"să fie sigur pentru fir. Cu toate acestea, în implementările moderne " |
| 547 |
"(inclusiv implementarea glibc), apelurile concurente la B<readdir>() care " |
| 548 |
"specifică fluxuri de directoare diferite sunt sigure pentru fire. În " |
| 549 |
"cazurile în care mai multe fire de execuție trebuie să citească din același " |
| 550 |
"flux de directoare, utilizarea B<readdir>() cu sincronizare externă este " |
| 551 |
"preferabilă utilizării funcției depreciate B<readdir_r>(3). Se preconizează " |
| 552 |
"că o versiune viitoare a POSIX.1 va solicita ca funcția B<readdir>() să fie " |
| 553 |
"sigură pentru fire atunci când este utilizată concomitent pe diferite " |
| 554 |
"fluxuri de directoare." |
| 555 |
|
| 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 "VERSIONS" |
| 561 |
msgstr "VERSIUNI" |
| 562 |
|
| 563 |
#. POSIX.1-2001, POSIX.1-2008 |
| 564 |
#. type: Plain text |
| 565 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 566 |
#: opensuse-tumbleweed |
| 567 |
msgid "" |
| 568 |
"Only the fields I<.d_name> and (as an XSI extension) I<.d_ino> are " |
| 569 |
"specified in POSIX.1. Other than Linux, the I<.d_type> field is available " |
| 570 |
"mainly only on BSD systems. The remaining fields are available on many, but " |
| 571 |
"not all systems. Under glibc, programs can check for the availability of " |
| 572 |
"the fields not defined in POSIX.1 by testing whether the macros " |
| 573 |
"B<_DIRENT_HAVE_D_NAMLEN>, B<_DIRENT_HAVE_D_RECLEN>, B<_DIRENT_HAVE_D_OFF>, " |
| 574 |
"or B<_DIRENT_HAVE_D_TYPE> are defined." |
| 575 |
msgstr "" |
| 576 |
"Doar câmpurile I<.d_name> și (ca extensie XSI) I<.d_ino> sunt specificate în " |
| 577 |
"POSIX.1. În afară de Linux, câmpul I<.d_type> este disponibil în principal " |
| 578 |
"numai pe sistemele BSD. Celelalte câmpuri sunt disponibile pe multe, dar nu " |
| 579 |
"pe toate sistemele. Sub glibc, programele pot verifica disponibilitatea " |
| 580 |
"câmpurilor care nu sunt definite în POSIX.1 testând dacă macro-urile " |
| 581 |
"B<_DIRENT_HAVE_D_NAMLEN>, B<_DIRENT_HAVE_D_RECLEN>, B<_DIRENT_HAVE_D_OFF> " |
| 582 |
"sau B<_DIRENT_HAVE_D_TYPE> sunt definite." |
| 583 |
|
| 584 |
#. type: SS |
| 585 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 586 |
#: opensuse-tumbleweed |
| 587 |
#, no-wrap |
| 588 |
msgid "The \\f[I].d_name\\fB field" |
| 589 |
msgstr "Câmpul \\f[I].d_name\\fB" |
| 590 |
|
| 591 |
#. type: Plain text |
| 592 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 593 |
#: opensuse-tumbleweed |
| 594 |
msgid "" |
| 595 |
"The I<dirent> structure definition shown above is taken from the glibc " |
| 596 |
"headers, and shows the I<.d_name> field with a fixed size." |
| 597 |
msgstr "" |
| 598 |
"Definiția structurii I<dirent> prezentată mai sus este preluată din " |
| 599 |
"anteturile glibc și prezintă câmpul I<.d_name> cu o dimensiune fixă." |
| 600 |
|
| 601 |
#. type: Plain text |
| 602 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 603 |
#: opensuse-tumbleweed |
| 604 |
msgid "" |
| 605 |
"I<Warning>: applications should avoid any dependence on the size of the " |
| 606 |
"I<.d_name> field. POSIX defines it as I<char\\ d_name[]>, a character array " |
| 607 |
"of unspecified size, with at most B<NAME_MAX> characters preceding the " |
| 608 |
"terminating null byte (\\[aq]\\[rs]0\\[aq])." |
| 609 |
msgstr "" |
| 610 |
"I<Avertisment>: aplicațiile trebuie să evite orice dependență de dimensiunea " |
| 611 |
"câmpului I<.d_name>. POSIX îl definește ca fiind I<char\\ d_name[]>, o " |
| 612 |
"matrice de caractere de dimensiune nespecificată, cu cel mult B<NAME_MAX> " |
| 613 |
"caractere care preced octetul nul final („\\[rs]0”)." |
| 614 |
|
| 615 |
#. type: Plain text |
| 616 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 617 |
#: opensuse-tumbleweed |
| 618 |
msgid "" |
| 619 |
"POSIX.1 explicitly notes that this field should not be used as an lvalue. " |
| 620 |
"The standard also notes that the use of I<sizeof(.d_name)> is incorrect; use " |
| 621 |
"I<strlen(.d_name)> instead. (On some systems, this field is defined as " |
| 622 |
"I<char\\ d_name[1]>!) By implication, the use I<sizeof(struct dirent)> to " |
| 623 |
"capture the size of the record including the size of I<.d_name> is also " |
| 624 |
"incorrect." |
| 625 |
msgstr "" |
| 626 |
"POSIX.1 menționează în mod explicit că acest câmp nu ar trebui să fie " |
| 627 |
"utilizat ca o valoare „lvalue”. Standardul menționează, de asemenea, că " |
| 628 |
"utilizarea I<sizeof(.d_name)> este incorectă; utilizați în schimb " |
| 629 |
"I<strlen(d_name)>; (pe unele sisteme, acest câmp este definit ca I<char\\ " |
| 630 |
"d_name[1]>!) Implicit, utilizarea I<sizeof(struct dirent)> pentru a capta " |
| 631 |
"dimensiunea înregistrării, inclusiv dimensiunea lui I<.d_name>, este de " |
| 632 |
"asemenea incorectă." |
| 633 |
|
| 634 |
#. type: Plain text |
| 635 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 636 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 637 |
msgid "Note that while the call" |
| 638 |
msgstr "Rețineți că, în timp ce apelul" |
| 639 |
|
| 640 |
#. type: Plain text |
| 641 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 642 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 643 |
#, no-wrap |
| 644 |
msgid "fpathconf(fd, _PC_NAME_MAX)\n" |
| 645 |
msgstr "fpathconf(fd, _PC_NAME_MAX)\n" |
| 646 |
|
| 647 |
#. type: Plain text |
| 648 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 649 |
#: opensuse-tumbleweed |
| 650 |
msgid "" |
| 651 |
"returns the value 255 for most filesystems, on some filesystems (e.g., CIFS, " |
| 652 |
"Windows SMB servers), the null-terminated filename that is (correctly) " |
| 653 |
"returned in I<.d_name> can actually exceed this size. In such cases, the " |
| 654 |
"I<.d_reclen> field will contain a value that exceeds the size of the glibc " |
| 655 |
"I<dirent> structure shown above." |
| 656 |
msgstr "" |
| 657 |
"returnează valoarea 255 pentru majoritatea sistemelor de fișiere, pe unele " |
| 658 |
"sisteme de fișiere (de exemplu, CIFS, servere Windows SMB), numele de fișier " |
| 659 |
"cu terminație nulă care este (corect) returnat în I<.d_name> poate depăși de " |
| 660 |
"fapt această dimensiune. În astfel de cazuri, câmpul I<.d_reclen> va conține " |
| 661 |
"o valoare care depășește dimensiunea structurii glibc I<dirent> prezentată " |
| 662 |
"mai sus." |
| 663 |
|
| 664 |
#. type: SH |
| 665 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 666 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 667 |
#, no-wrap |
| 668 |
msgid "STANDARDS" |
| 669 |
msgstr "STANDARDE" |
| 670 |
|
| 671 |
#. type: Plain text |
| 672 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 673 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 674 |
msgid "POSIX.1-2008." |
| 675 |
msgstr "POSIX.1-2008." |
| 676 |
|
| 677 |
#. type: SH |
| 678 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 679 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 680 |
#, no-wrap |
| 681 |
msgid "HISTORY" |
| 682 |
msgstr "ISTORIC" |
| 683 |
|
| 684 |
#. type: Plain text |
| 685 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 686 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 687 |
msgid "POSIX.1-2001, SVr4, 4.3BSD." |
| 688 |
msgstr "POSIX.1-2001, SVr4, 4.3BSD." |
| 689 |
|
| 690 |
#. type: SH |
| 691 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 692 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 693 |
#, no-wrap |
| 694 |
msgid "NOTES" |
| 695 |
msgstr "NOTE" |
| 696 |
|
| 697 |
#. type: Plain text |
| 698 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 699 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 700 |
msgid "A directory stream is opened using B<opendir>(3)." |
| 701 |
msgstr "Un flux de directoare este deschis utilizând B<opendir>(3)." |
| 702 |
|
| 703 |
#. type: Plain text |
| 704 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 705 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 706 |
msgid "" |
| 707 |
"The order in which filenames are read by successive calls to B<readdir>() " |
| 708 |
"depends on the filesystem implementation; it is unlikely that the names will " |
| 709 |
"be sorted in any fashion." |
| 710 |
msgstr "" |
| 711 |
"Ordinea în care numele de fișiere sunt citite prin apeluri succesive la " |
| 712 |
"B<readdir>() depinde de implementarea sistemului de fișiere; este puțin " |
| 713 |
"probabil ca numele să fie sortate în vreun fel." |
| 714 |
|
| 715 |
#. type: SH |
| 716 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 717 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 718 |
#, no-wrap |
| 719 |
msgid "SEE ALSO" |
| 720 |
msgstr "CONSULTAȚI ȘI" |
| 721 |
|
| 722 |
#. type: Plain text |
| 723 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 724 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 725 |
msgid "" |
| 726 |
"B<getdents>(2), B<read>(2), B<closedir>(3), B<dirfd>(3), B<ftw>(3), " |
| 727 |
"B<offsetof>(3), B<opendir>(3), B<readdir_r>(3), B<rewinddir>(3), " |
| 728 |
"B<scandir>(3), B<seekdir>(3), B<telldir>(3)" |
| 729 |
msgstr "" |
| 730 |
"B<getdents>(2), B<read>(2), B<closedir>(3), B<dirfd>(3), B<ftw>(3), " |
| 731 |
"B<offsetof>(3), B<opendir>(3), B<readdir_r>(3), B<rewinddir>(3), " |
| 732 |
"B<scandir>(3), B<seekdir>(3), B<telldir>(3)" |
| 733 |
|
| 734 |
#. type: TH |
| 735 |
#: debian-trixie |
| 736 |
#, no-wrap |
| 737 |
msgid "2024-06-16" |
| 738 |
msgstr "16 iunie 2024" |
| 739 |
|
| 740 |
#. type: TH |
| 741 |
#: debian-trixie |
| 742 |
#, no-wrap |
| 743 |
msgid "Linux man-pages 6.9.1" |
| 744 |
msgstr "Pagini de manual de Linux 6.9.1" |
| 745 |
|
| 746 |
#. type: Plain text |
| 747 |
#: debian-trixie |
| 748 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 749 |
msgstr "Biblioteca C standard (I<libc>, I<-lc>)" |
| 750 |
|
| 751 |
#. type: Plain text |
| 752 |
#: debian-trixie fedora-44 fedora-rawhide |
| 753 |
msgid "" |
| 754 |
"The only fields in the I<dirent> structure that are mandated by POSIX.1 are " |
| 755 |
"I<d_name> and I<d_ino>. The other fields are unstandardized, and not " |
| 756 |
"present on all systems; see VERSIONS." |
| 757 |
msgstr "" |
| 758 |
"Singurele câmpuri din structura I<dirent> care sunt impuse de POSIX.1 sunt " |
| 759 |
"I<d_name> și I<d_ino>. Celelalte câmpuri nu sunt standardizate și nu sunt " |
| 760 |
"prezente pe toate sistemele; a se vedea secțiunea VERSIUNI." |
| 761 |
|
| 762 |
#. type: TP |
| 763 |
#: debian-trixie fedora-44 fedora-rawhide |
| 764 |
#, no-wrap |
| 765 |
msgid "I<d_ino>" |
| 766 |
msgstr "I<d_ino>" |
| 767 |
|
| 768 |
#. type: Plain text |
| 769 |
#: debian-trixie fedora-44 fedora-rawhide |
| 770 |
msgid "This is the inode number of the file." |
| 771 |
msgstr "Acesta este numărul nodului-i al fișierului." |
| 772 |
|
| 773 |
#. type: TP |
| 774 |
#: debian-trixie fedora-44 fedora-rawhide |
| 775 |
#, no-wrap |
| 776 |
msgid "I<d_off>" |
| 777 |
msgstr "I<d_off>" |
| 778 |
|
| 779 |
#. https://lwn.net/Articles/544298/ |
| 780 |
#. type: Plain text |
| 781 |
#: debian-trixie fedora-44 fedora-rawhide |
| 782 |
msgid "" |
| 783 |
"The value returned in I<d_off> is the same as would be returned by calling " |
| 784 |
"B<telldir>(3) at the current position in the directory stream. Be aware " |
| 785 |
"that despite its type and name, the I<d_off> field is seldom any kind of " |
| 786 |
"directory offset on modern filesystems. Applications should treat this " |
| 787 |
"field as an opaque value, making no assumptions about its contents; see also " |
| 788 |
"B<telldir>(3)." |
| 789 |
msgstr "" |
| 790 |
"Valoarea returnată în I<d_off> este aceeași care ar fi returnată prin " |
| 791 |
"apelarea B<telldir>(3) la poziția curentă în fluxul de directoare. Rețineți " |
| 792 |
"că, în ciuda tipului și numelui său, câmpul I<d_off> este rareori un fel de " |
| 793 |
"decalaj de director pe sistemele de fișiere moderne. Aplicațiile trebuie să " |
| 794 |
"trateze acest câmp ca pe o valoare opacă, fără a face presupuneri cu privire " |
| 795 |
"la conținutul său; consultați și B<telldir>(3)." |
| 796 |
|
| 797 |
#. type: TP |
| 798 |
#: debian-trixie fedora-44 fedora-rawhide |
| 799 |
#, no-wrap |
| 800 |
msgid "I<d_reclen>" |
| 801 |
msgstr "I<d_reclen>" |
| 802 |
|
| 803 |
#. type: TP |
| 804 |
#: debian-trixie fedora-44 fedora-rawhide |
| 805 |
#, no-wrap |
| 806 |
msgid "I<d_type>" |
| 807 |
msgstr "I<d_type>" |
| 808 |
|
| 809 |
#. type: Plain text |
| 810 |
#: debian-trixie fedora-44 fedora-rawhide |
| 811 |
msgid "" |
| 812 |
"When a suitable feature test macro is defined (B<_DEFAULT_SOURCE> since " |
| 813 |
"glibc 2.19, or B<_BSD_SOURCE> on glibc 2.19 and earlier), glibc defines the " |
| 814 |
"following macro constants for the value returned in I<d_type>:" |
| 815 |
msgstr "" |
| 816 |
"Atunci când este definit un macro test de caracteristică adecvat " |
| 817 |
"(B<_DEFAULT_SOURCE> de la glibc 2.19 sau B<_BSD_SOURCE> la glibc 2.19 și " |
| 818 |
"versiunile anterioare), glibc definește următoarele constante macro pentru " |
| 819 |
"valoarea returnată în I<d_type>:" |
| 820 |
|
| 821 |
#. kernel 2.6.27 |
| 822 |
#. The same sentence is in getdents.2 |
| 823 |
#. type: Plain text |
| 824 |
#: debian-trixie fedora-44 fedora-rawhide |
| 825 |
msgid "" |
| 826 |
"Currently, only some filesystems (among them: Btrfs, ext2, ext3, and ext4) " |
| 827 |
"have full support for returning the file type in I<d_type>. All " |
| 828 |
"applications must properly handle a return of B<DT_UNKNOWN>." |
| 829 |
msgstr "" |
| 830 |
"În prezent, numai unele sisteme de fișiere (printre care: Btrfs, ext2, ext3 " |
| 831 |
"și ext4) au suport complet pentru returnarea tipului de fișier în I<d_type>. " |
| 832 |
"Toate aplicațiile trebuie să gestioneze în mod corespunzător o returnare de " |
| 833 |
"tip B<DT_UNKNOWN>." |
| 834 |
|
| 835 |
#. type: TP |
| 836 |
#: debian-trixie fedora-44 fedora-rawhide |
| 837 |
#, no-wrap |
| 838 |
msgid "I<d_name>" |
| 839 |
msgstr "I<d_name>" |
| 840 |
|
| 841 |
#. POSIX.1-2001, POSIX.1-2008 |
| 842 |
#. type: Plain text |
| 843 |
#: debian-trixie fedora-44 fedora-rawhide |
| 844 |
msgid "" |
| 845 |
"Only the fields I<d_name> and (as an XSI extension) I<d_ino> are specified " |
| 846 |
"in POSIX.1. Other than Linux, the I<d_type> field is available mainly only " |
| 847 |
"on BSD systems. The remaining fields are available on many, but not all " |
| 848 |
"systems. Under glibc, programs can check for the availability of the fields " |
| 849 |
"not defined in POSIX.1 by testing whether the macros " |
| 850 |
"B<_DIRENT_HAVE_D_NAMLEN>, B<_DIRENT_HAVE_D_RECLEN>, B<_DIRENT_HAVE_D_OFF>, " |
| 851 |
"or B<_DIRENT_HAVE_D_TYPE> are defined." |
| 852 |
msgstr "" |
| 853 |
"Doar câmpurile I<d_name> și (ca extensie XSI) I<d_ino> sunt specificate în " |
| 854 |
"POSIX.1. În afară de Linux, câmpul I<d_type> este disponibil în principal " |
| 855 |
"numai pe sistemele BSD. Celelalte câmpuri sunt disponibile pe multe, dar nu " |
| 856 |
"pe toate sistemele. Sub glibc, programele pot verifica disponibilitatea " |
| 857 |
"câmpurilor care nu sunt definite în POSIX.1 testând dacă macro-urile " |
| 858 |
"B<_DIRENT_HAVE_D_NAMLEN>, B<_DIRENT_HAVE_D_RECLEN>, B<_DIRENT_HAVE_D_OFF> " |
| 859 |
"sau B<_DIRENT_HAVE_D_TYPE> sunt definite." |
| 860 |
|
| 861 |
#. type: SS |
| 862 |
#: debian-trixie fedora-44 fedora-rawhide |
| 863 |
#, no-wrap |
| 864 |
msgid "The d_name field" |
| 865 |
msgstr "Câmpul d_name" |
| 866 |
|
| 867 |
#. type: Plain text |
| 868 |
#: debian-trixie fedora-44 fedora-rawhide |
| 869 |
msgid "" |
| 870 |
"The I<dirent> structure definition shown above is taken from the glibc " |
| 871 |
"headers, and shows the I<d_name> field with a fixed size." |
| 872 |
msgstr "" |
| 873 |
"Definiția structurii I<dirent> prezentată mai sus este preluată din " |
| 874 |
"anteturile glibc și prezintă câmpul I<d_name> cu o dimensiune fixă." |
| 875 |
|
| 876 |
#. type: Plain text |
| 877 |
#: debian-trixie fedora-44 fedora-rawhide |
| 878 |
msgid "" |
| 879 |
"I<Warning>: applications should avoid any dependence on the size of the " |
| 880 |
"I<d_name> field. POSIX defines it as I<char\\ d_name[]>, a character array " |
| 881 |
"of unspecified size, with at most B<NAME_MAX> characters preceding the " |
| 882 |
"terminating null byte (\\[aq]\\[rs]0\\[aq])." |
| 883 |
msgstr "" |
| 884 |
"I<Avertisment>: aplicațiile trebuie să evite orice dependență de dimensiunea " |
| 885 |
"câmpului I<d_name>. POSIX îl definește ca fiind I<char\\ d_name[]>, o " |
| 886 |
"matrice de caractere de dimensiune nespecificată, cu cel mult B<NAME_MAX> " |
| 887 |
"caractere care preced octetul nul final („\\[rs]0”)." |
| 888 |
|
| 889 |
#. type: Plain text |
| 890 |
#: debian-trixie fedora-44 fedora-rawhide |
| 891 |
msgid "" |
| 892 |
"POSIX.1 explicitly notes that this field should not be used as an lvalue. " |
| 893 |
"The standard also notes that the use of I<sizeof(d_name)> is incorrect; use " |
| 894 |
"I<strlen(d_name)> instead. (On some systems, this field is defined as " |
| 895 |
"I<char\\ d_name[1]>!) By implication, the use I<sizeof(struct dirent)> to " |
| 896 |
"capture the size of the record including the size of I<d_name> is also " |
| 897 |
"incorrect." |
| 898 |
msgstr "" |
| 899 |
"POSIX.1 menționează în mod explicit că acest câmp nu ar trebui să fie " |
| 900 |
"utilizat ca o valoare „lvalue”. Standardul menționează, de asemenea, că " |
| 901 |
"utilizarea I<sizeof(d_name)> este incorectă; utilizați în schimb " |
| 902 |
"I<strlen(d_name)>; (pe unele sisteme, acest câmp este definit ca I<char\\ " |
| 903 |
"d_name[1]>!) Implicit, utilizarea I<sizeof(struct dirent)> pentru a capta " |
| 904 |
"dimensiunea înregistrării, inclusiv dimensiunea lui I<d_name>, este de " |
| 905 |
"asemenea incorectă." |
| 906 |
|
| 907 |
#. type: Plain text |
| 908 |
#: debian-trixie fedora-44 fedora-rawhide |
| 909 |
msgid "" |
| 910 |
"returns the value 255 for most filesystems, on some filesystems (e.g., CIFS, " |
| 911 |
"Windows SMB servers), the null-terminated filename that is (correctly) " |
| 912 |
"returned in I<d_name> can actually exceed this size. In such cases, the " |
| 913 |
"I<d_reclen> field will contain a value that exceeds the size of the glibc " |
| 914 |
"I<dirent> structure shown above." |
| 915 |
msgstr "" |
| 916 |
"returnează valoarea 255 pentru majoritatea sistemelor de fișiere, pe unele " |
| 917 |
"sisteme de fișiere (de exemplu, CIFS, servere Windows SMB), numele de fișier " |
| 918 |
"cu terminație nulă care este (corect) returnat în I<d_name> poate depăși de " |
| 919 |
"fapt această dimensiune. În astfel de cazuri, câmpul I<d_reclen> va conține " |
| 920 |
"o valoare care depășește dimensiunea structurii glibc I<dirent> prezentată " |
| 921 |
"mai sus." |
| 922 |
|
| 923 |
#. type: TH |
| 924 |
#: fedora-44 fedora-rawhide |
| 925 |
#, no-wrap |
| 926 |
msgid "2024-07-23" |
| 927 |
msgstr "23 iulie 2024" |
| 928 |
|
| 929 |
#. type: TH |
| 930 |
#: fedora-44 fedora-rawhide |
| 931 |
#, no-wrap |
| 932 |
msgid "Linux man-pages 6.13" |
| 933 |
msgstr "Pagini de manual de Linux 6.13" |
| 934 |
|
| 935 |
#. type: TH |
| 936 |
#: mageia-cauldron |
| 937 |
#, no-wrap |
| 938 |
msgid "Linux man-pages 6.17" |
| 939 |
msgstr "Pagini de manual de Linux 6.17" |
| 940 |
|
| 941 |
#. type: TH |
| 942 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 943 |
#, no-wrap |
| 944 |
msgid "Linux man-pages (unreleased)" |
| 945 |
msgstr "Pagini de manual Linux (nepublicate)" |