.\" -*- coding: UTF-8 -*- .\" Copyright (c) 1993 by Thomas Koenig (ig25@rz.uni-karlsruhe.de) .\" .\" %%%LICENSE_START(VERBATIM) .\" Permission is granted to make and distribute verbatim copies of this .\" manual provided the copyright notice and this permission notice are .\" preserved on all copies. .\" .\" Permission is granted to copy and distribute modified versions of this .\" manual under the conditions for verbatim copying, provided that the .\" entire resulting derived work is distributed under the terms of a .\" permission notice identical to this one. .\" .\" Since the Linux kernel and libraries are constantly changing, this .\" manual page may be incorrect or out-of-date. The author(s) assume no .\" responsibility for errors or omissions, or for damages resulting from .\" the use of the information contained herein. The author(s) may not .\" have taken the same level of care in the production of this manual, .\" which is licensed free of charge, as they might when working .\" professionally. .\" .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" %%%LICENSE_END .\" .\" Modified Sat Jul 24 19:51:06 1993 by Rik Faith (faith@cs.unc.edu) .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH CTERMID 3 "6 Marzo 2019" GNU "Manual del Programador de Linux" .SH NOMBRE ctermid \- obtiene el nombre de la terminal de control .SH SINOPSIS .nf .\" POSIX also requires this function to be declared in , .\" and glibc does so if suitable feature test macros are defined. \fB#include \fP .PP \fBchar *ctermid(char *\fP\fIs\fP\fB);\fP .fi .PP .RS -4 Requisitos de Macros de Prueba de Características para glibc (véase \fBfeature_test_macros\fP(7)): .RE .PP \fBctermid\fP(): _POSIX_C_SOURCE .SH DESCRIPCIÓN \fBctermid\fP() devuelve una cadena que es el camino de la terminal controlador actual para este proceso. Si \fIs\fP es NULL, se emplea un búfer estático; si no, \fIs\fP apunta a un búfer usado para contener el camino de la terminal. La constante simbólica \fBL_ctermid\fP es el máximo número de caracteres del camino devuelto. .SH "VALOR DEVUELTO" El puntero al camino. .SH ATRIBUTOS Para obtener una explicación de los términos usados en esta sección, véase \fBattributes\fP(7). .TS allbox; lb lb lb l l l. Interfaz Atributo Valor T{ \fBctermid\fP() T} Seguridad del hilo Multi\-hilo seguro .TE .SH "CONFORME A" POSIX.1\-2001, POSIX.1\-2008, Svr4. .SH ERRORES El camino devuelto puede no identificar únicamente a la terminal controladora; ésta puede, por ejemplo, ser \fI/dev/tty\fP. .PP .\" in glibc 2.3.x, x >= 4, the glibc headers threw an error .\" if ctermid() was given an argument; fixed in 2.4. No se garantiza que el programa pueda abrir la terminal. .SH "VÉASE TAMBIÉN" \fBttyname\fP(3) .SH COLOFÓN Esta página es parte de la versión 5.10 del proyecto Linux \fIman\-pages\fP. 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/. .SH TRADUCCIÓN La traducción al español de esta página del manual fue creada por Sebastian Desimone y Gerardo Aburruzaga García . 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. 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 .