.\" -*- coding: UTF-8 -*- .\" Copyright (C) 1995, Thomas K. Dyas .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" .\" Created Wed Aug 9 1995 Thomas K. Dyas .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH sysfs 2 "30 Octubre 2022" "Páginas de manual de Linux 6.03" .SH NOMBRE sysfs \- devuelve información sobre el tipo de sistema de ficheros .SH SINOPSIS .nf \fB[[deprecated]] int sysfs(int \fP\fIoption\fP\fB, const char *\fP\fIfsname\fP\fB);\fP \fB[[deprecated]] int sysfs(int \fP\fIoption\fP\fB, unsigned int \fP\fIfs_index\fP\fB, char *\fP\fIbuf\fP\fB);\fP \fB[[deprecated]] int sysfs(int \fP\fIoption\fP\fB);\fP .fi .SH DESCRIPCIÓN \fBNote\fP: if you are looking for information about the \fBsysfs\fP filesystem that is normally mounted at \fI/sys\fP, see \fBsysfs\fP(5). .PP The (obsolete) \fBsysfs\fP() system call returns information about the filesystem types currently present in the kernel. The specific form of the \fBsysfs\fP() call and the information returned depends on the \fIoption\fP in effect: .TP 3 \fB1\fP Traduce la tira que identifica el tipo de sistema de ficheros \fIfsname\fP en un tipo índice de sistema de ficheros. .TP \fB2\fP Traduce el tipo índice de sistema de ficheros \fIfs_index\fP en una tira finalizada por un carácter NULL. Esta tira será escrita en el buffer apuntado por \fIbuf\fP. Asegúrese que \fIbuf\fP tiene suficiente espacio para alojar la tira. .TP \fB3\fP Devuelve el numero total de sistemas de ficheros presentes en el núcleo. .PP El numero de tipos de indices de sistemas de ficheros comienza en cero. .SH "VALOR DEVUELTO" On success, \fBsysfs\fP() returns the filesystem index for option \fB1\fP, zero for option \fB2\fP, and the number of currently configured filesystems for option \fB3\fP. On error, \-1 is returned, and \fIerrno\fP is set to indicate the error. .SH ERRORES .TP \fBEFAULT\fP O \fIfsname\fP o \fIbuf\fP esta fuera del espacio de direcciones accesible por vd. .TP \fBEINVAL\fP \fIfsname\fP no es un identificador de sistema de fichero valido. \fIfs_index\fP esta fuera de rango; \fIoption\fP es invalido. .SH ESTÁNDARES SVr4. .SH NOTAS This System\-V derived system call is obsolete; don't use it. On systems with \fI/proc\fP, the same information can be obtained via \fI/proc\fP; use that interface instead. .SH ERRORES No hay soporte de libc ni glibc. No hay ninguna manera de determinar el tamaño que \fIbuf\fP debería tener. .SH "VÉASE TAMBIÉN" \fBproc\fP(5), \fBsysfs\fP(5) .PP .SH TRADUCCIÓN La traducción al español de esta página del manual fue creada por Miguel Pérez Ibars . .PP Esta traducción es documentación libre; lea la .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 .UE o posterior con respecto a las condiciones de copyright. No existe NINGUNA RESPONSABILIDAD. .PP Si encuentra algún error en la traducción de esta página del manual, envíe un correo electrónico a .MT debian-l10n-spanish@lists.debian.org .ME .