| 1 |
# Brazilian Portuguese translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# André Luiz Fassone <[email protected]>, 2001. |
| 5 |
# Marcelo Pereira da Silva <[email protected]>, 2001. |
| 6 |
msgid "" |
| 7 |
msgstr "" |
| 8 |
"Project-Id-Version: manpages-l10n\n" |
| 9 |
"POT-Creation-Date: 2026-06-05 06:45+0200\n" |
| 10 |
"PO-Revision-Date: 2001-06-02 19:20-0300\n" |
| 11 |
"Last-Translator: Marcelo Pereira da Silva <[email protected]>\n" |
| 12 |
"Language-Team: Brazilian Portuguese <debian-l10n-" |
| 13 |
"[email protected]>\n" |
| 14 |
"Language: pt_BR\n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
"Plural-Forms: nplurals=2; plural=(n > 1);\n" |
| 19 |
"X-Generator: Virtaal 1.0.0-beta1\n" |
| 20 |
|
| 21 |
#. type: TH |
| 22 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 23 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 24 |
#, no-wrap |
| 25 |
msgid "sysctl" |
| 26 |
msgstr "sysctl" |
| 27 |
|
| 28 |
#. type: TH |
| 29 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 30 |
#: opensuse-tumbleweed |
| 31 |
#, no-wrap |
| 32 |
msgid "2026-02-10" |
| 33 |
msgstr "10 fevereiro 2026" |
| 34 |
|
| 35 |
#. type: TH |
| 36 |
#: archlinux debian-unstable |
| 37 |
#, fuzzy, no-wrap |
| 38 |
#| msgid "Linux man-pages 6.17" |
| 39 |
msgid "Linux man-pages 6.18" |
| 40 |
msgstr "Linux man-pages 6.17" |
| 41 |
|
| 42 |
#. type: SH |
| 43 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 44 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 45 |
#, no-wrap |
| 46 |
msgid "NAME" |
| 47 |
msgstr "NOME" |
| 48 |
|
| 49 |
#. type: Plain text |
| 50 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 51 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 52 |
msgid "sysctl - read/write system parameters" |
| 53 |
msgstr "sysctl - lê/escreve parâmetros do sistema" |
| 54 |
|
| 55 |
#. type: SH |
| 56 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 57 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 58 |
#, no-wrap |
| 59 |
msgid "SYNOPSIS" |
| 60 |
msgstr "SINOPSE" |
| 61 |
|
| 62 |
#. type: Plain text |
| 63 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 64 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 65 |
#, no-wrap |
| 66 |
msgid "" |
| 67 |
"B<#include E<lt>unistd.hE<gt>>\n" |
| 68 |
"B<#include E<lt>linux/sysctl.hE<gt>>\n" |
| 69 |
msgstr "" |
| 70 |
"B<#include E<lt>unistd.hE<gt>>\n" |
| 71 |
"B<#include E<lt>linux/sysctl.hE<gt>>\n" |
| 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 |
#, fuzzy, no-wrap |
| 77 |
#| msgid "B<int _sysctl(struct __sysctl_args *>I<args>B<);>\n" |
| 78 |
msgid "B<[[deprecated]] int _sysctl(struct __sysctl_args *>I<args>B<);>\n" |
| 79 |
msgstr "B<int _sysctl(struct __sysctl_args *>I<args>B<);>\n" |
| 80 |
|
| 81 |
#. type: SH |
| 82 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 83 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 84 |
#, no-wrap |
| 85 |
msgid "DESCRIPTION" |
| 86 |
msgstr "DESCRIÇÃO" |
| 87 |
|
| 88 |
#. type: Plain text |
| 89 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 90 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 91 |
msgid "B<This system call no longer exists on current kernels!> See NOTES." |
| 92 |
msgstr "" |
| 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<_sysctl>() call reads and/or writes kernel parameters. For example, " |
| 99 |
"the hostname, or the maximum number of open files. The argument has the form" |
| 100 |
msgstr "" |
| 101 |
"A chamada B<_sysctl>() lê e/ou escrever parâmetros do kernel. Por exemplo, o " |
| 102 |
"nome da máquina, ou o número máximo de arquivos abertos. O argumento tem a " |
| 103 |
"forma" |
| 104 |
|
| 105 |
#. type: Plain text |
| 106 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 107 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 108 |
#, fuzzy, no-wrap |
| 109 |
#| msgid "" |
| 110 |
#| "struct __sysctl_args {\n" |
| 111 |
#| " int *name; /* integer vector describing variable */\n" |
| 112 |
#| " int nlen; /* length of this vector */\n" |
| 113 |
#| " void *oldval; /* 0 or address where to store old value */\n" |
| 114 |
#| " size_t *oldlenp; /* available room for old value,\n" |
| 115 |
#| " overwritten by actual size of old value */\n" |
| 116 |
#| " void *newval; /* 0 or address of new value */\n" |
| 117 |
#| " size_t newlen; /* size of new value */\n" |
| 118 |
#| "};\n" |
| 119 |
msgid "" |
| 120 |
"struct __sysctl_args {\n" |
| 121 |
" int *name; /* integer vector describing variable */\n" |
| 122 |
" int nlen; /* number of elements of this vector */\n" |
| 123 |
" void *oldval; /* 0 or address where to store old value */\n" |
| 124 |
" size_t *oldlenp; /* available room for old value,\n" |
| 125 |
" overwritten by actual size of old value */\n" |
| 126 |
" void *newval; /* 0 or address of new value */\n" |
| 127 |
" size_t newlen; /* size of new value */\n" |
| 128 |
"};\n" |
| 129 |
msgstr "" |
| 130 |
"struct __sysctl_args {\n" |
| 131 |
" int *name; /* vetor inteiro descrevendo a variável */\n" |
| 132 |
" int nlen; /* tamanho deste vetor */\n" |
| 133 |
" void *oldval; /* 0 ou endereço onde armazenar o valor antigo */\n" |
| 134 |
" size_t *oldlenp; /* espaço disponível para o valor antigo,\n" |
| 135 |
" sobrescrito pelo tamanho atual do valor antigo */\n" |
| 136 |
" void *newval; /* 0 ou endereço do novo valor */\n" |
| 137 |
" size_t newlen; /* tamanho do novo valor */\n" |
| 138 |
"};\n" |
| 139 |
|
| 140 |
#. type: Plain text |
| 141 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 142 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 143 |
msgid "" |
| 144 |
"This call does a search in a tree structure, possibly resembling a directory " |
| 145 |
"tree under I</proc/sys>, and if the requested item is found calls some " |
| 146 |
"appropriate routine to read or modify the value." |
| 147 |
msgstr "" |
| 148 |
"Esta chamada faz um busca numa árvore de estrutura, possivelmente parecida " |
| 149 |
"com uma árvore de diretório sob I</proc/sys>, e se o item requisitado é " |
| 150 |
"encontrado é chamada alguma rotina apropriada para ler ou modificar o valor." |
| 151 |
|
| 152 |
#. type: SH |
| 153 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 154 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 155 |
#, no-wrap |
| 156 |
msgid "RETURN VALUE" |
| 157 |
msgstr "VALOR DE RETORNO" |
| 158 |
|
| 159 |
#. type: Plain text |
| 160 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 161 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 162 |
msgid "" |
| 163 |
"Upon successful completion, B<_sysctl>() returns 0. Otherwise, a value of " |
| 164 |
"-1 is returned and I<errno> is set to indicate the error." |
| 165 |
msgstr "" |
| 166 |
"Em caso de sucesso B<_sysctl>() devolve 0. Caso contráio, -1 é devolvido e " |
| 167 |
"I<errno> é selecionado adequadamente." |
| 168 |
|
| 169 |
#. type: SH |
| 170 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 171 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 172 |
#, no-wrap |
| 173 |
msgid "ERRORS" |
| 174 |
msgstr "ERROS" |
| 175 |
|
| 176 |
#. type: TP |
| 177 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 178 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 179 |
#, no-wrap |
| 180 |
msgid "B<EACCES>" |
| 181 |
msgstr "B<EACCES>" |
| 182 |
|
| 183 |
#. type: TQ |
| 184 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 185 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 186 |
#, no-wrap |
| 187 |
msgid "B<EPERM>" |
| 188 |
msgstr "B<EPERM>" |
| 189 |
|
| 190 |
#. type: Plain text |
| 191 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 192 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 193 |
#, fuzzy |
| 194 |
#| msgid "" |
| 195 |
#| "No search permission for one of the encountered `directories', or no read " |
| 196 |
#| "permission where I<oldval> was nonzero, or no write permission where " |
| 197 |
#| "I<newval> was nonzero." |
| 198 |
msgid "" |
| 199 |
"No search permission for one of the encountered \"directories\", or no read " |
| 200 |
"permission where I<oldval> was nonzero, or no write permission where " |
| 201 |
"I<newval> was nonzero." |
| 202 |
msgstr "" |
| 203 |
"Não tem permissão de busca para um dos diretórios encontrados, ou não tem " |
| 204 |
"permissão de leitura onde I<oldval> era diferente de zero, ou não tem " |
| 205 |
"permissão de escrita onde I<newval> era diferente de zero." |
| 206 |
|
| 207 |
#. type: TP |
| 208 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 209 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 210 |
#, no-wrap |
| 211 |
msgid "B<EFAULT>" |
| 212 |
msgstr "B<EFAULT>" |
| 213 |
|
| 214 |
#. type: Plain text |
| 215 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 216 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 217 |
msgid "" |
| 218 |
"The invocation asked for the previous value by setting I<oldval> non-NULL, " |
| 219 |
"but allowed zero room in I<oldlenp>." |
| 220 |
msgstr "" |
| 221 |
"O pedido perguntou pelo valor anterior selecionando I<oldval> como não nulo, " |
| 222 |
"mas permitido zero espaço em I<oldlenp>." |
| 223 |
|
| 224 |
#. type: TP |
| 225 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 226 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 227 |
#, no-wrap |
| 228 |
msgid "B<ENOTDIR>" |
| 229 |
msgstr "B<ENOTDIR>" |
| 230 |
|
| 231 |
#. type: Plain text |
| 232 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 233 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 234 |
msgid "I<name> was not found." |
| 235 |
msgstr "I<name> não foi encontrado." |
| 236 |
|
| 237 |
#. type: SH |
| 238 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 239 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 240 |
#, no-wrap |
| 241 |
msgid "STANDARDS" |
| 242 |
msgstr "PADRÕES" |
| 243 |
|
| 244 |
#. type: Plain text |
| 245 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 246 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 247 |
msgid "Linux." |
| 248 |
msgstr "Linux." |
| 249 |
|
| 250 |
#. type: SH |
| 251 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 252 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 253 |
#, no-wrap |
| 254 |
msgid "HISTORY" |
| 255 |
msgstr "HISTÓRICO" |
| 256 |
|
| 257 |
#. type: Plain text |
| 258 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 259 |
#: opensuse-tumbleweed |
| 260 |
msgid "4.4BSD, Linux 1.3.57. Removed in Linux 5.5, glibc 2.32." |
| 261 |
msgstr "" |
| 262 |
|
| 263 |
#. type: Plain text |
| 264 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 265 |
#: opensuse-tumbleweed |
| 266 |
#, fuzzy |
| 267 |
#| msgid "" |
| 268 |
#| "This call is Linux-specific, and should not be used in programs intended " |
| 269 |
#| "to be portable. It originated in 4.4BSD. Only Linux has the I</proc/" |
| 270 |
#| "sys> mirror, and the object naming schemes differ between Linux and " |
| 271 |
#| "4.4BSD, but the declaration of the B<sysctl>() function is the same in " |
| 272 |
#| "both." |
| 273 |
msgid "" |
| 274 |
"Only Linux has the I</proc/sys> mirror, and the object naming schemes differ " |
| 275 |
"between Linux and 4.4BSD, but the declaration of the B<sysctl>() function " |
| 276 |
"is the same in both." |
| 277 |
msgstr "" |
| 278 |
"Esta chamada é específica do Linux e não deve ser usada em programas que " |
| 279 |
"pretendem ser portáveis. . Ela é originária do BSD 4.4. Somente o Linux tem " |
| 280 |
"o espelho I</proc/sys>, e os esquemas de nomeamento de objetos diferem entro " |
| 281 |
"o Linux e o 4.4BSD, mas a declaração da função B<sysctl>() é a mesma em " |
| 282 |
"ambos." |
| 283 |
|
| 284 |
#. type: SH |
| 285 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 286 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 287 |
#, no-wrap |
| 288 |
msgid "NOTES" |
| 289 |
msgstr "NOTAS" |
| 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 "" |
| 295 |
"Use of this system call was long discouraged: since Linux 2.6.24, uses of " |
| 296 |
"this system call result in warnings in the kernel log, and in Linux 5.5, the " |
| 297 |
"system call was finally removed. Use the I</proc/sys> interface instead." |
| 298 |
msgstr "" |
| 299 |
|
| 300 |
#. type: Plain text |
| 301 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 302 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 303 |
msgid "" |
| 304 |
"Note that on older kernels where this system call still exists, it is " |
| 305 |
"available only if the kernel was configured with the " |
| 306 |
"B<CONFIG_SYSCTL_SYSCALL> option. Furthermore, glibc does not provide a " |
| 307 |
"wrapper for this system call, necessitating the use of B<syscall>(2)." |
| 308 |
msgstr "" |
| 309 |
|
| 310 |
#. type: SH |
| 311 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 312 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 313 |
#, no-wrap |
| 314 |
msgid "BUGS" |
| 315 |
msgstr "BUGS" |
| 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 |
"The object names vary between kernel versions, making this system call " |
| 322 |
"worthless for applications." |
| 323 |
msgstr "" |
| 324 |
|
| 325 |
#. type: Plain text |
| 326 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 327 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 328 |
msgid "Not all available objects are properly documented." |
| 329 |
msgstr "Nem todos objetos disponíveis são documentados adequadamente." |
| 330 |
|
| 331 |
#. type: Plain text |
| 332 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 333 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 334 |
msgid "" |
| 335 |
"It is not yet possible to change operating system by writing to I</proc/sys/" |
| 336 |
"kernel/ostype>." |
| 337 |
msgstr "" |
| 338 |
"Ainda não é possível mudar sistema operacional escrevendo I</proc/sys/kernel/" |
| 339 |
"ostype>." |
| 340 |
|
| 341 |
#. type: SH |
| 342 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 343 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 344 |
#, no-wrap |
| 345 |
msgid "EXAMPLES" |
| 346 |
msgstr "EXEMPLOS" |
| 347 |
|
| 348 |
#. type: Plain text |
| 349 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 350 |
#: opensuse-tumbleweed |
| 351 |
#, no-wrap |
| 352 |
msgid "" |
| 353 |
"#define _GNU_SOURCE\n" |
| 354 |
"#include E<lt>stdcountof.hE<gt>\n" |
| 355 |
"#include E<lt>stdio.hE<gt>\n" |
| 356 |
"#include E<lt>stdlib.hE<gt>\n" |
| 357 |
"#include E<lt>string.hE<gt>\n" |
| 358 |
"#include E<lt>sys/syscall.hE<gt>\n" |
| 359 |
"#include E<lt>unistd.hE<gt>\n" |
| 360 |
"\\&\n" |
| 361 |
"#include E<lt>linux/sysctl.hE<gt>\n" |
| 362 |
"\\&\n" |
| 363 |
"int _sysctl(struct __sysctl_args *args);\n" |
| 364 |
"\\&\n" |
| 365 |
"#define OSNAMESZ 100\n" |
| 366 |
"\\&\n" |
| 367 |
"int\n" |
| 368 |
"main(void)\n" |
| 369 |
"{\n" |
| 370 |
" int name[] = { CTL_KERN, KERN_OSTYPE };\n" |
| 371 |
" char osname[OSNAMESZ];\n" |
| 372 |
" size_t osnamelth;\n" |
| 373 |
" struct __sysctl_args args;\n" |
| 374 |
"\\&\n" |
| 375 |
" memset(&args, 0, sizeof(args));\n" |
| 376 |
" args.name = name;\n" |
| 377 |
" args.nlen = countof(name);\n" |
| 378 |
" args.oldval = osname;\n" |
| 379 |
" args.oldlenp = &osnamelth;\n" |
| 380 |
"\\&\n" |
| 381 |
" osnamelth = sizeof(osname);\n" |
| 382 |
"\\&\n" |
| 383 |
" if (syscall(SYS__sysctl, &args) == -1) {\n" |
| 384 |
" perror(\"_sysctl\");\n" |
| 385 |
" exit(EXIT_FAILURE);\n" |
| 386 |
" }\n" |
| 387 |
" printf(\"This machine is running %*s\\[rs]n\", (int) osnamelth, osname);\n" |
| 388 |
" exit(EXIT_SUCCESS);\n" |
| 389 |
"}\n" |
| 390 |
msgstr "" |
| 391 |
|
| 392 |
#. SRC END |
| 393 |
#. type: SH |
| 394 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 395 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 396 |
#, no-wrap |
| 397 |
msgid "SEE ALSO" |
| 398 |
msgstr "VEJA TAMBÉM" |
| 399 |
|
| 400 |
#. type: Plain text |
| 401 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 402 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 403 |
msgid "B<proc>(5)" |
| 404 |
msgstr "B<proc>(5)" |
| 405 |
|
| 406 |
#. type: TH |
| 407 |
#: debian-trixie |
| 408 |
#, no-wrap |
| 409 |
msgid "2024-06-15" |
| 410 |
msgstr "15 junho 2024" |
| 411 |
|
| 412 |
#. type: TH |
| 413 |
#: debian-trixie |
| 414 |
#, no-wrap |
| 415 |
msgid "Linux man-pages 6.9.1" |
| 416 |
msgstr "Linux man-pages 6.9.1" |
| 417 |
|
| 418 |
#. type: Plain text |
| 419 |
#: debian-trixie |
| 420 |
#, fuzzy, no-wrap |
| 421 |
#| msgid "" |
| 422 |
#| "struct __sysctl_args {\n" |
| 423 |
#| " int *name; /* integer vector describing variable */\n" |
| 424 |
#| " int nlen; /* length of this vector */\n" |
| 425 |
#| " void *oldval; /* 0 or address where to store old value */\n" |
| 426 |
#| " size_t *oldlenp; /* available room for old value,\n" |
| 427 |
#| " overwritten by actual size of old value */\n" |
| 428 |
#| " void *newval; /* 0 or address of new value */\n" |
| 429 |
#| " size_t newlen; /* size of new value */\n" |
| 430 |
#| "};\n" |
| 431 |
msgid "" |
| 432 |
"struct __sysctl_args {\n" |
| 433 |
" int *name; /* integer vector describing variable */\n" |
| 434 |
" int nlen; /* length of this vector */\n" |
| 435 |
" void *oldval; /* 0 or address where to store old value */\n" |
| 436 |
" size_t *oldlenp; /* available room for old value,\n" |
| 437 |
" overwritten by actual size of old value */\n" |
| 438 |
" void *newval; /* 0 or address of new value */\n" |
| 439 |
" size_t newlen; /* size of new value */\n" |
| 440 |
"};\n" |
| 441 |
msgstr "" |
| 442 |
"struct __sysctl_args {\n" |
| 443 |
" int *name; /* vetor inteiro descrevendo a variável */\n" |
| 444 |
" int nlen; /* tamanho deste vetor */\n" |
| 445 |
" void *oldval; /* 0 ou endereço onde armazenar o valor antigo */\n" |
| 446 |
" size_t *oldlenp; /* espaço disponível para o valor antigo,\n" |
| 447 |
" sobrescrito pelo tamanho atual do valor antigo */\n" |
| 448 |
" void *newval; /* 0 ou endereço do novo valor */\n" |
| 449 |
" size_t newlen; /* tamanho do novo valor */\n" |
| 450 |
"};\n" |
| 451 |
|
| 452 |
#. type: Plain text |
| 453 |
#: debian-trixie fedora-44 fedora-rawhide |
| 454 |
msgid "Linux 1.3.57. Removed in Linux 5.5, glibc 2.32." |
| 455 |
msgstr "" |
| 456 |
|
| 457 |
#. type: Plain text |
| 458 |
#: debian-trixie fedora-44 fedora-rawhide |
| 459 |
#, fuzzy |
| 460 |
#| msgid "" |
| 461 |
#| "This call is Linux-specific, and should not be used in programs intended " |
| 462 |
#| "to be portable. It originated in 4.4BSD. Only Linux has the I</proc/" |
| 463 |
#| "sys> mirror, and the object naming schemes differ between Linux and " |
| 464 |
#| "4.4BSD, but the declaration of the B<sysctl>() function is the same in " |
| 465 |
#| "both." |
| 466 |
msgid "" |
| 467 |
"It originated in 4.4BSD. Only Linux has the I</proc/sys> mirror, and the " |
| 468 |
"object naming schemes differ between Linux and 4.4BSD, but the declaration " |
| 469 |
"of the B<sysctl>() function is the same in both." |
| 470 |
msgstr "" |
| 471 |
"Esta chamada é específica do Linux e não deve ser usada em programas que " |
| 472 |
"pretendem ser portáveis. . Ela é originária do BSD 4.4. Somente o Linux tem " |
| 473 |
"o espelho I</proc/sys>, e os esquemas de nomeamento de objetos diferem entro " |
| 474 |
"o Linux e o 4.4BSD, mas a declaração da função B<sysctl>() é a mesma em " |
| 475 |
"ambos." |
| 476 |
|
| 477 |
#. type: Plain text |
| 478 |
#: debian-trixie fedora-44 fedora-rawhide |
| 479 |
#, no-wrap |
| 480 |
msgid "" |
| 481 |
"#define _GNU_SOURCE\n" |
| 482 |
"#include E<lt>stdio.hE<gt>\n" |
| 483 |
"#include E<lt>stdlib.hE<gt>\n" |
| 484 |
"#include E<lt>string.hE<gt>\n" |
| 485 |
"#include E<lt>sys/syscall.hE<gt>\n" |
| 486 |
"#include E<lt>unistd.hE<gt>\n" |
| 487 |
"\\&\n" |
| 488 |
"#include E<lt>linux/sysctl.hE<gt>\n" |
| 489 |
"\\&\n" |
| 490 |
"#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))\n" |
| 491 |
"\\&\n" |
| 492 |
"int _sysctl(struct __sysctl_args *args);\n" |
| 493 |
"\\&\n" |
| 494 |
"#define OSNAMESZ 100\n" |
| 495 |
"\\&\n" |
| 496 |
"int\n" |
| 497 |
"main(void)\n" |
| 498 |
"{\n" |
| 499 |
" int name[] = { CTL_KERN, KERN_OSTYPE };\n" |
| 500 |
" char osname[OSNAMESZ];\n" |
| 501 |
" size_t osnamelth;\n" |
| 502 |
" struct __sysctl_args args;\n" |
| 503 |
"\\&\n" |
| 504 |
" memset(&args, 0, sizeof(args));\n" |
| 505 |
" args.name = name;\n" |
| 506 |
" args.nlen = ARRAY_SIZE(name);\n" |
| 507 |
" args.oldval = osname;\n" |
| 508 |
" args.oldlenp = &osnamelth;\n" |
| 509 |
"\\&\n" |
| 510 |
" osnamelth = sizeof(osname);\n" |
| 511 |
"\\&\n" |
| 512 |
" if (syscall(SYS__sysctl, &args) == -1) {\n" |
| 513 |
" perror(\"_sysctl\");\n" |
| 514 |
" exit(EXIT_FAILURE);\n" |
| 515 |
" }\n" |
| 516 |
" printf(\"This machine is running %*s\\[rs]n\", (int) osnamelth, osname);\n" |
| 517 |
" exit(EXIT_SUCCESS);\n" |
| 518 |
"}\n" |
| 519 |
msgstr "" |
| 520 |
|
| 521 |
#. type: TH |
| 522 |
#: fedora-44 fedora-rawhide |
| 523 |
#, no-wrap |
| 524 |
msgid "2024-11-17" |
| 525 |
msgstr "17 novembro 2024" |
| 526 |
|
| 527 |
#. type: TH |
| 528 |
#: fedora-44 fedora-rawhide |
| 529 |
#, no-wrap |
| 530 |
msgid "Linux man-pages 6.13" |
| 531 |
msgstr "Linux man-pages 6.13" |
| 532 |
|
| 533 |
#. type: TH |
| 534 |
#: mageia-cauldron |
| 535 |
#, no-wrap |
| 536 |
msgid "Linux man-pages 6.17" |
| 537 |
msgstr "Linux man-pages 6.17" |
| 538 |
|
| 539 |
#. type: TH |
| 540 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 541 |
#, no-wrap |
| 542 |
msgid "Linux man-pages (unreleased)" |
| 543 |
msgstr "Linux man-pages (não lançado)" |