| 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:45+0200\n" |
| 9 |
"PO-Revision-Date: 2026-03-04 20:32+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 "sysctl" |
| 25 |
msgstr "sysctl" |
| 26 |
|
| 27 |
#. type: TH |
| 28 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 29 |
#: opensuse-tumbleweed |
| 30 |
#, no-wrap |
| 31 |
msgid "2026-02-10" |
| 32 |
msgstr "10 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 "sysctl - read/write system parameters" |
| 51 |
msgstr "sysctl - citește/scrie parametrii de sistem" |
| 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 "SYNOPSIS" |
| 58 |
msgstr "SINOPSIS" |
| 59 |
|
| 60 |
#. type: Plain text |
| 61 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 62 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
#, no-wrap |
| 64 |
msgid "" |
| 65 |
"B<#include E<lt>unistd.hE<gt>>\n" |
| 66 |
"B<#include E<lt>linux/sysctl.hE<gt>>\n" |
| 67 |
msgstr "" |
| 68 |
"B<#include E<lt>unistd.hE<gt>>\n" |
| 69 |
"B<#include E<lt>linux/sysctl.hE<gt>>\n" |
| 70 |
|
| 71 |
#. type: Plain text |
| 72 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 73 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 74 |
#, no-wrap |
| 75 |
msgid "B<[[deprecated]] int _sysctl(struct __sysctl_args *>I<args>B<);>\n" |
| 76 |
msgstr "B<[[depreciat]] int _sysctl(struct __sysctl_args *>I<args>B<);>\n" |
| 77 |
|
| 78 |
#. type: SH |
| 79 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 80 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 81 |
#, no-wrap |
| 82 |
msgid "DESCRIPTION" |
| 83 |
msgstr "DESCRIERE" |
| 84 |
|
| 85 |
#. type: Plain text |
| 86 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 87 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 88 |
msgid "B<This system call no longer exists on current kernels!> See NOTES." |
| 89 |
msgstr "" |
| 90 |
"B<Acest apel de sistem nu mai există pe nucleele actuale!> A se vedea NOTE." |
| 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 |
"The B<_sysctl>() call reads and/or writes kernel parameters. For example, " |
| 97 |
"the hostname, or the maximum number of open files. The argument has the form" |
| 98 |
msgstr "" |
| 99 |
"Apelul B<_sysctl>() citește și/sau scrie parametrii nucleului. De exemplu, " |
| 100 |
"numele de gazdă sau numărul maxim de fișiere deschise. Argumentul are forma" |
| 101 |
|
| 102 |
#. type: Plain text |
| 103 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 104 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 105 |
#, no-wrap |
| 106 |
msgid "" |
| 107 |
"struct __sysctl_args {\n" |
| 108 |
" int *name; /* integer vector describing variable */\n" |
| 109 |
" int nlen; /* number of elements of this vector */\n" |
| 110 |
" void *oldval; /* 0 or address where to store old value */\n" |
| 111 |
" size_t *oldlenp; /* available room for old value,\n" |
| 112 |
" overwritten by actual size of old value */\n" |
| 113 |
" void *newval; /* 0 or address of new value */\n" |
| 114 |
" size_t newlen; /* size of new value */\n" |
| 115 |
"};\n" |
| 116 |
msgstr "" |
| 117 |
"struct __sysctl_args {\n" |
| 118 |
" int *name; /* vector de numere întregi care descrie variabila */\n" |
| 119 |
" int nlen; /* numărul de elemente ale acestui vector */\n" |
| 120 |
" void *oldval; /* 0 sau adresa unde se stochează vechea valoare */\n" |
| 121 |
" size_t *oldlenp; /* spațiu disponibil pentru vechea valoare,\n" |
| 122 |
" suprascris de dimensiunea reală a vechii valori */\n" |
| 123 |
" void *newval; /* 0 sau adresa noii valori */\n" |
| 124 |
" size_t newlen; /* dimensiunea noii valori */\n" |
| 125 |
"};\n" |
| 126 |
|
| 127 |
#. type: Plain text |
| 128 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 129 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 130 |
msgid "" |
| 131 |
"This call does a search in a tree structure, possibly resembling a directory " |
| 132 |
"tree under I</proc/sys>, and if the requested item is found calls some " |
| 133 |
"appropriate routine to read or modify the value." |
| 134 |
msgstr "" |
| 135 |
"Acest apel efectuează o căutare într-o structură arborescentă, care poate " |
| 136 |
"semăna cu un arbore de directoare sub I</proc/sys>, iar dacă elementul " |
| 137 |
"solicitat este găsit, apelează o rutină adecvată pentru a citi sau modifica " |
| 138 |
"valoarea." |
| 139 |
|
| 140 |
#. type: SH |
| 141 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 142 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 143 |
#, no-wrap |
| 144 |
msgid "RETURN VALUE" |
| 145 |
msgstr "VALOAREA RETURNATĂ" |
| 146 |
|
| 147 |
#. type: Plain text |
| 148 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 149 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 150 |
msgid "" |
| 151 |
"Upon successful completion, B<_sysctl>() returns 0. Otherwise, a value of " |
| 152 |
"-1 is returned and I<errno> is set to indicate the error." |
| 153 |
msgstr "" |
| 154 |
"La finalizarea cu succes, B<_sysctl>() returnează 0. În caz contrar, se " |
| 155 |
"returnează o valoare de -1, iar I<errno> este configurată pentru a indica " |
| 156 |
"eroarea." |
| 157 |
|
| 158 |
#. type: SH |
| 159 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 160 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 161 |
#, no-wrap |
| 162 |
msgid "ERRORS" |
| 163 |
msgstr "ERORI-IEȘIRE" |
| 164 |
|
| 165 |
#. type: TP |
| 166 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 167 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 168 |
#, no-wrap |
| 169 |
msgid "B<EACCES>" |
| 170 |
msgstr "B<EACCES>" |
| 171 |
|
| 172 |
#. type: TQ |
| 173 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 174 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 175 |
#, no-wrap |
| 176 |
msgid "B<EPERM>" |
| 177 |
msgstr "B<EPERM>" |
| 178 |
|
| 179 |
#. type: Plain text |
| 180 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 181 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 182 |
msgid "" |
| 183 |
"No search permission for one of the encountered \"directories\", or no read " |
| 184 |
"permission where I<oldval> was nonzero, or no write permission where " |
| 185 |
"I<newval> was nonzero." |
| 186 |
msgstr "" |
| 187 |
"Nu există permisiune de căutare pentru unul dintre „directoarele” întâlnite, " |
| 188 |
"sau nu există permisiune de citire în cazul în care I<oldval> a fost " |
| 189 |
"diferită de zero, sau nu există permisiune de scriere în cazul în care " |
| 190 |
"I<newval> a fost diferită de zero." |
| 191 |
|
| 192 |
#. type: TP |
| 193 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 194 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 195 |
#, no-wrap |
| 196 |
msgid "B<EFAULT>" |
| 197 |
msgstr "B<EFAULT>" |
| 198 |
|
| 199 |
#. type: Plain text |
| 200 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 201 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 202 |
msgid "" |
| 203 |
"The invocation asked for the previous value by setting I<oldval> non-NULL, " |
| 204 |
"but allowed zero room in I<oldlenp>." |
| 205 |
msgstr "" |
| 206 |
"Invocarea a cerut valoarea anterioară prin stabilirea I<oldval> non-NULL, " |
| 207 |
"dar a permis spațiu zero în I<oldlenp>." |
| 208 |
|
| 209 |
#. type: TP |
| 210 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 211 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 212 |
#, no-wrap |
| 213 |
msgid "B<ENOTDIR>" |
| 214 |
msgstr "B<ENOTDIR>" |
| 215 |
|
| 216 |
#. type: Plain text |
| 217 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 218 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 219 |
msgid "I<name> was not found." |
| 220 |
msgstr "I<name> nu a fost găsit." |
| 221 |
|
| 222 |
#. type: SH |
| 223 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 224 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 225 |
#, no-wrap |
| 226 |
msgid "STANDARDS" |
| 227 |
msgstr "STANDARDE" |
| 228 |
|
| 229 |
#. type: Plain text |
| 230 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 231 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 232 |
msgid "Linux." |
| 233 |
msgstr "Linux." |
| 234 |
|
| 235 |
#. type: SH |
| 236 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 237 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 238 |
#, no-wrap |
| 239 |
msgid "HISTORY" |
| 240 |
msgstr "ISTORIC" |
| 241 |
|
| 242 |
#. type: Plain text |
| 243 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 244 |
#: opensuse-tumbleweed |
| 245 |
msgid "4.4BSD, Linux 1.3.57. Removed in Linux 5.5, glibc 2.32." |
| 246 |
msgstr "4.4BSD, Linux 1.3.57. Eliminat în Linux 5.5, glibc 2.32." |
| 247 |
|
| 248 |
#. type: Plain text |
| 249 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 250 |
#: opensuse-tumbleweed |
| 251 |
msgid "" |
| 252 |
"Only Linux has the I</proc/sys> mirror, and the object naming schemes differ " |
| 253 |
"between Linux and 4.4BSD, but the declaration of the B<sysctl>() function " |
| 254 |
"is the same in both." |
| 255 |
msgstr "" |
| 256 |
"Numai Linux are oglinda I</proc/sys>, iar schemele de denumire a obiectelor " |
| 257 |
"diferă între Linux și 4.4BSD, dar declarația funcției B<sysctl>() este " |
| 258 |
"aceeași în ambele." |
| 259 |
|
| 260 |
#. type: SH |
| 261 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 262 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 263 |
#, no-wrap |
| 264 |
msgid "NOTES" |
| 265 |
msgstr "NOTE" |
| 266 |
|
| 267 |
#. type: Plain text |
| 268 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 269 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 270 |
msgid "" |
| 271 |
"Use of this system call was long discouraged: since Linux 2.6.24, uses of " |
| 272 |
"this system call result in warnings in the kernel log, and in Linux 5.5, the " |
| 273 |
"system call was finally removed. Use the I</proc/sys> interface instead." |
| 274 |
msgstr "" |
| 275 |
"Utilizarea acestui apel de sistem a fost mult timp descurajată: începând cu " |
| 276 |
"Linux 2.6.24, utilizarea acestui apel de sistem a dus la apariția unor " |
| 277 |
"avertismente în jurnalul nucleului, iar în Linux 5.5, apelul de sistem a " |
| 278 |
"fost în cele din urmă eliminat. Utilizați în schimb interfața I</proc/sys>." |
| 279 |
|
| 280 |
#. type: Plain text |
| 281 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 282 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 283 |
msgid "" |
| 284 |
"Note that on older kernels where this system call still exists, it is " |
| 285 |
"available only if the kernel was configured with the " |
| 286 |
"B<CONFIG_SYSCTL_SYSCALL> option. Furthermore, glibc does not provide a " |
| 287 |
"wrapper for this system call, necessitating the use of B<syscall>(2)." |
| 288 |
msgstr "" |
| 289 |
"Rețineți că pe nucleele mai vechi, unde acest apel de sistem încă există, " |
| 290 |
"este disponibil numai dacă nucleul a fost configurat cu opțiunea " |
| 291 |
"B<CONFIG_SYSCTL_SYSCALL>. În plus, glibc nu oferă o funcție de învăluire " |
| 292 |
"pentru acest apel de sistem, fiind necesară utilizarea B<syscall>(2)." |
| 293 |
|
| 294 |
#. type: SH |
| 295 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 296 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 297 |
#, no-wrap |
| 298 |
msgid "BUGS" |
| 299 |
msgstr "ERORI" |
| 300 |
|
| 301 |
#. type: Plain text |
| 302 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 303 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 304 |
msgid "" |
| 305 |
"The object names vary between kernel versions, making this system call " |
| 306 |
"worthless for applications." |
| 307 |
msgstr "" |
| 308 |
"Numele obiectelor variază de la o versiune de nucleu la alta, ceea ce face " |
| 309 |
"ca acest apel de sistem să fie inutil pentru aplicații." |
| 310 |
|
| 311 |
#. type: Plain text |
| 312 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 313 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 314 |
msgid "Not all available objects are properly documented." |
| 315 |
msgstr "Nu toate obiectele disponibile sunt documentate corespunzător." |
| 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 "" |
| 321 |
"It is not yet possible to change operating system by writing to I</proc/sys/" |
| 322 |
"kernel/ostype>." |
| 323 |
msgstr "" |
| 324 |
"Nu este încă posibilă schimbarea sistemului de operare prin scrierea în I</" |
| 325 |
"proc/sys/kernel/ostype>." |
| 326 |
|
| 327 |
#. type: SH |
| 328 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 329 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 330 |
#, no-wrap |
| 331 |
msgid "EXAMPLES" |
| 332 |
msgstr "EXEMPLE" |
| 333 |
|
| 334 |
#. type: Plain text |
| 335 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 336 |
#: opensuse-tumbleweed |
| 337 |
#, no-wrap |
| 338 |
msgid "" |
| 339 |
"#define _GNU_SOURCE\n" |
| 340 |
"#include E<lt>stdcountof.hE<gt>\n" |
| 341 |
"#include E<lt>stdio.hE<gt>\n" |
| 342 |
"#include E<lt>stdlib.hE<gt>\n" |
| 343 |
"#include E<lt>string.hE<gt>\n" |
| 344 |
"#include E<lt>sys/syscall.hE<gt>\n" |
| 345 |
"#include E<lt>unistd.hE<gt>\n" |
| 346 |
"\\&\n" |
| 347 |
"#include E<lt>linux/sysctl.hE<gt>\n" |
| 348 |
"\\&\n" |
| 349 |
"int _sysctl(struct __sysctl_args *args);\n" |
| 350 |
"\\&\n" |
| 351 |
"#define OSNAMESZ 100\n" |
| 352 |
"\\&\n" |
| 353 |
"int\n" |
| 354 |
"main(void)\n" |
| 355 |
"{\n" |
| 356 |
" int name[] = { CTL_KERN, KERN_OSTYPE };\n" |
| 357 |
" char osname[OSNAMESZ];\n" |
| 358 |
" size_t osnamelth;\n" |
| 359 |
" struct __sysctl_args args;\n" |
| 360 |
"\\&\n" |
| 361 |
" memset(&args, 0, sizeof(args));\n" |
| 362 |
" args.name = name;\n" |
| 363 |
" args.nlen = countof(name);\n" |
| 364 |
" args.oldval = osname;\n" |
| 365 |
" args.oldlenp = &osnamelth;\n" |
| 366 |
"\\&\n" |
| 367 |
" osnamelth = sizeof(osname);\n" |
| 368 |
"\\&\n" |
| 369 |
" if (syscall(SYS__sysctl, &args) == -1) {\n" |
| 370 |
" perror(\"_sysctl\");\n" |
| 371 |
" exit(EXIT_FAILURE);\n" |
| 372 |
" }\n" |
| 373 |
" printf(\"This machine is running %*s\\[rs]n\", (int) osnamelth, osname);\n" |
| 374 |
" exit(EXIT_SUCCESS);\n" |
| 375 |
"}\n" |
| 376 |
msgstr "" |
| 377 |
"#define _GNU_SOURCE\n" |
| 378 |
"#include E<lt>stdcountof.hE<gt>\n" |
| 379 |
"#include E<lt>stdio.hE<gt>\n" |
| 380 |
"#include E<lt>stdlib.hE<gt>\n" |
| 381 |
"#include E<lt>string.hE<gt>\n" |
| 382 |
"#include E<lt>sys/syscall.hE<gt>\n" |
| 383 |
"#include E<lt>unistd.hE<gt>\n" |
| 384 |
"\\&\n" |
| 385 |
"#include E<lt>linux/sysctl.hE<gt>\n" |
| 386 |
"\\&\n" |
| 387 |
"int _sysctl(struct __sysctl_args *args);\n" |
| 388 |
"\\&\n" |
| 389 |
"#define OSNAMESZ 100\n" |
| 390 |
"\\&\n" |
| 391 |
"int\n" |
| 392 |
"main(void)\n" |
| 393 |
"{\n" |
| 394 |
" int name[] = { CTL_KERN, KERN_OSTYPE };\n" |
| 395 |
" char osname[OSNAMESZ];\n" |
| 396 |
" size_t osnamelth;\n" |
| 397 |
" struct __sysctl_args args;\n" |
| 398 |
"\\&\n" |
| 399 |
" memset(&args, 0, sizeof(args));\n" |
| 400 |
" args.name = name;\n" |
| 401 |
" args.nlen = countof(name);\n" |
| 402 |
" args.oldval = osname;\n" |
| 403 |
" args.oldlenp = &osnamelth;\n" |
| 404 |
"\\&\n" |
| 405 |
" osnamelth = sizeof(osname);\n" |
| 406 |
"\\&\n" |
| 407 |
" if (syscall(SYS__sysctl, &args) == -1) {\n" |
| 408 |
" perror(\"_sysctl\");\n" |
| 409 |
" exit(EXIT_FAILURE);\n" |
| 410 |
" }\n" |
| 411 |
" printf(\"Această mașină rulează %*s\\[rs]n\", (int) osnamelth, osname);\n" |
| 412 |
" exit(EXIT_SUCCESS);\n" |
| 413 |
"}\n" |
| 414 |
|
| 415 |
#. SRC END |
| 416 |
#. type: SH |
| 417 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 418 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 419 |
#, no-wrap |
| 420 |
msgid "SEE ALSO" |
| 421 |
msgstr "CONSULTAȚI ȘI" |
| 422 |
|
| 423 |
#. type: Plain text |
| 424 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 425 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 426 |
msgid "B<proc>(5)" |
| 427 |
msgstr "B<proc>(5)" |
| 428 |
|
| 429 |
#. type: TH |
| 430 |
#: debian-trixie |
| 431 |
#, no-wrap |
| 432 |
msgid "2024-06-15" |
| 433 |
msgstr "15 iunie 2024" |
| 434 |
|
| 435 |
#. type: TH |
| 436 |
#: debian-trixie |
| 437 |
#, no-wrap |
| 438 |
msgid "Linux man-pages 6.9.1" |
| 439 |
msgstr "Pagini de manual de Linux 6.9.1" |
| 440 |
|
| 441 |
#. type: Plain text |
| 442 |
#: debian-trixie |
| 443 |
#, no-wrap |
| 444 |
msgid "" |
| 445 |
"struct __sysctl_args {\n" |
| 446 |
" int *name; /* integer vector describing variable */\n" |
| 447 |
" int nlen; /* length of this vector */\n" |
| 448 |
" void *oldval; /* 0 or address where to store old value */\n" |
| 449 |
" size_t *oldlenp; /* available room for old value,\n" |
| 450 |
" overwritten by actual size of old value */\n" |
| 451 |
" void *newval; /* 0 or address of new value */\n" |
| 452 |
" size_t newlen; /* size of new value */\n" |
| 453 |
"};\n" |
| 454 |
msgstr "" |
| 455 |
"struct __sysctl_args {\n" |
| 456 |
" int *name; /* vector de numere întregi care descrie variabila */\n" |
| 457 |
" int nlen; /* lungimea acestui vector */\n" |
| 458 |
" void *oldval; /* 0 sau adresa unde se stochează vechea valoare */\n" |
| 459 |
" size_t *oldlenp; /* spațiu disponibil pentru vechea valoare,\n" |
| 460 |
" suprascris de dimensiunea reală a vechii valori */\n" |
| 461 |
" void *newval; /* 0 sau adresa noii valori */\n" |
| 462 |
" size_t newlen; /* dimensiunea noii valori */\n" |
| 463 |
"};\n" |
| 464 |
|
| 465 |
#. type: Plain text |
| 466 |
#: debian-trixie fedora-44 fedora-rawhide |
| 467 |
msgid "Linux 1.3.57. Removed in Linux 5.5, glibc 2.32." |
| 468 |
msgstr "Linux 1.3.57. Eliminat în Linux 5.5, glibc 2.32." |
| 469 |
|
| 470 |
#. type: Plain text |
| 471 |
#: debian-trixie fedora-44 fedora-rawhide |
| 472 |
msgid "" |
| 473 |
"It originated in 4.4BSD. Only Linux has the I</proc/sys> mirror, and the " |
| 474 |
"object naming schemes differ between Linux and 4.4BSD, but the declaration " |
| 475 |
"of the B<sysctl>() function is the same in both." |
| 476 |
msgstr "" |
| 477 |
"Acesta își are originea în 4.4BSD. Numai Linux are oglinda I</proc/sys>, " |
| 478 |
"iar schemele de denumire a obiectelor diferă între Linux și 4.4BSD, dar " |
| 479 |
"declarația funcției B<sysctl>() este aceeași în ambele." |
| 480 |
|
| 481 |
#. type: Plain text |
| 482 |
#: debian-trixie fedora-44 fedora-rawhide |
| 483 |
#, no-wrap |
| 484 |
msgid "" |
| 485 |
"#define _GNU_SOURCE\n" |
| 486 |
"#include E<lt>stdio.hE<gt>\n" |
| 487 |
"#include E<lt>stdlib.hE<gt>\n" |
| 488 |
"#include E<lt>string.hE<gt>\n" |
| 489 |
"#include E<lt>sys/syscall.hE<gt>\n" |
| 490 |
"#include E<lt>unistd.hE<gt>\n" |
| 491 |
"\\&\n" |
| 492 |
"#include E<lt>linux/sysctl.hE<gt>\n" |
| 493 |
"\\&\n" |
| 494 |
"#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))\n" |
| 495 |
"\\&\n" |
| 496 |
"int _sysctl(struct __sysctl_args *args);\n" |
| 497 |
"\\&\n" |
| 498 |
"#define OSNAMESZ 100\n" |
| 499 |
"\\&\n" |
| 500 |
"int\n" |
| 501 |
"main(void)\n" |
| 502 |
"{\n" |
| 503 |
" int name[] = { CTL_KERN, KERN_OSTYPE };\n" |
| 504 |
" char osname[OSNAMESZ];\n" |
| 505 |
" size_t osnamelth;\n" |
| 506 |
" struct __sysctl_args args;\n" |
| 507 |
"\\&\n" |
| 508 |
" memset(&args, 0, sizeof(args));\n" |
| 509 |
" args.name = name;\n" |
| 510 |
" args.nlen = ARRAY_SIZE(name);\n" |
| 511 |
" args.oldval = osname;\n" |
| 512 |
" args.oldlenp = &osnamelth;\n" |
| 513 |
"\\&\n" |
| 514 |
" osnamelth = sizeof(osname);\n" |
| 515 |
"\\&\n" |
| 516 |
" if (syscall(SYS__sysctl, &args) == -1) {\n" |
| 517 |
" perror(\"_sysctl\");\n" |
| 518 |
" exit(EXIT_FAILURE);\n" |
| 519 |
" }\n" |
| 520 |
" printf(\"This machine is running %*s\\[rs]n\", (int) osnamelth, osname);\n" |
| 521 |
" exit(EXIT_SUCCESS);\n" |
| 522 |
"}\n" |
| 523 |
msgstr "" |
| 524 |
"#define _GNU_SOURCE\n" |
| 525 |
"#include E<lt>stdio.hE<gt>\n" |
| 526 |
"#include E<lt>stdlib.hE<gt>\n" |
| 527 |
"#include E<lt>string.hE<gt>\n" |
| 528 |
"#include E<lt>sys/syscall.hE<gt>\n" |
| 529 |
"#include E<lt>unistd.hE<gt>\n" |
| 530 |
"\\&\n" |
| 531 |
"#include E<lt>linux/sysctl.hE<gt>\n" |
| 532 |
"\\&\n" |
| 533 |
"#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))\n" |
| 534 |
"\\&\n" |
| 535 |
"int _sysctl(struct __sysctl_args *args);\n" |
| 536 |
"\\&\n" |
| 537 |
"#define OSNAMESZ 100\n" |
| 538 |
"\\&\n" |
| 539 |
"int\n" |
| 540 |
"main(void)\n" |
| 541 |
"{\n" |
| 542 |
" int name[] = { CTL_KERN, KERN_OSTYPE };\n" |
| 543 |
" char osname[OSNAMESZ];\n" |
| 544 |
" size_t osnamelth;\n" |
| 545 |
" struct __sysctl_args args;\n" |
| 546 |
"\\&\n" |
| 547 |
" memset(&args, 0, sizeof(args));\n" |
| 548 |
" args.name = name;\n" |
| 549 |
" args.nlen = ARRAY_SIZE(name);\n" |
| 550 |
" args.oldval = osname;\n" |
| 551 |
" args.oldlenp = &osnamelth;\n" |
| 552 |
"\\&\n" |
| 553 |
" osnamelth = sizeof(osname);\n" |
| 554 |
"\\&\n" |
| 555 |
" if (syscall(SYS__sysctl, &args) == -1) {\n" |
| 556 |
" perror(\"_sysctl\");\n" |
| 557 |
" exit(EXIT_FAILURE);\n" |
| 558 |
" }\n" |
| 559 |
" printf(\"Această mașină rulează %*s\\[rs]n\", (int) osnamelth, osname);\n" |
| 560 |
" exit(EXIT_SUCCESS);\n" |
| 561 |
"}\n" |
| 562 |
|
| 563 |
#. type: TH |
| 564 |
#: fedora-44 fedora-rawhide |
| 565 |
#, no-wrap |
| 566 |
msgid "2024-11-17" |
| 567 |
msgstr "17 noiembrie 2024" |
| 568 |
|
| 569 |
#. type: TH |
| 570 |
#: fedora-44 fedora-rawhide |
| 571 |
#, no-wrap |
| 572 |
msgid "Linux man-pages 6.13" |
| 573 |
msgstr "Pagini de manual de Linux 6.13" |
| 574 |
|
| 575 |
#. type: TH |
| 576 |
#: mageia-cauldron |
| 577 |
#, no-wrap |
| 578 |
msgid "Linux man-pages 6.17" |
| 579 |
msgstr "Pagini de manual de Linux 6.17" |
| 580 |
|
| 581 |
#. type: TH |
| 582 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 583 |
#, no-wrap |
| 584 |
msgid "Linux man-pages (unreleased)" |
| 585 |
msgstr "Pagini de manual Linux (nepublicate)" |