Provided by: manpages-es-dev_4.13-4_all bug

NOMBRE

       isatty - test whether a file descriptor refers to a terminal

SINOPSIS

       #include <unistd.h>

       int isatty(int fd);

DESCRIPCIÓN

       The isatty()  function tests whether fd is an open file descriptor referring to a terminal.

VALOR DEVUELTO

       isatty()   returns  1  if fd is an open file descriptor referring to a terminal; otherwise 0 is returned,
       and errno is set to indicate the error.

ERRORES

       EBADF  fd no es un descriptor de fichero válido.

       ENOTTY fd refers to a file other than a terminal.  On some older kernels, some types of files resulted in
              the error EINVAL in this case (which is a violation of POSIX, which specifies the error ENOTTY).

ATRIBUTOS

       Para obtener una explicación de los términos usados en esta sección, véase attributes(7).
       ┌──────────┬────────────────────┬───────────────────┐
       │ InterfazAtributoValor             │
       ├──────────┼────────────────────┼───────────────────┤
       │ isatty() │ Seguridad del hilo │ Multi-hilo seguro │
       └──────────┴────────────────────┴───────────────────┘

CONFORME A

       POSIX.1-2001, POSIX.1-2008, SVr4, 4.3BSD.

VÉASE TAMBIÉN

       fstat(2), ttyname(3)

COLOFÓN

       Esta página es parte de la versión 5.10 del proyecto Linux man-pages. Puede encontrar una descripción del
       proyecto,  información  sobre  cómo  informar  errores  y  la  última   versión   de   esta   página   en
       https://www.kernel.org/doc/man-pages/.

TRADUCCIÓN

       La  traducción  al  español  de  esta  página  del  manual  fue  creada  por  Gerardo  Aburruzaga  García
       <gerardo.aburruzaga@uca.es>

       Esta traducción es documentación libre;  lea  la  GNU General Public License Version 3  o  posterior  con
       respecto a las condiciones de copyright.  No existe NINGUNA RESPONSABILIDAD.

       Si  encuentra  algún  error  en  la  traducción  de esta página del manual, envíe un correo electrónico a
       debian-l10n-spanish@lists.debian.org.

Linux                                             6 Marzo 2019                                         ISATTY(3)