Imported tab->space correction by redhat
[infodrom/manpages-de] / man3 / ttyname.3
1 .\" Copyright (c) 1995 Jim Van Zandt <jrv@vanzandt.mv.com>
2 .\"
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
7 .\"
8 .\" The GNU General Public License's references to "object code"
9 .\" and "executables" are to be interpreted as the output of any
10 .\" document formatting or typesetting system, including
11 .\" intermediate and printed output.
12 .\"
13 .\" This manual is distributed in the hope that it will be useful,
14 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
15 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 .\" GNU General Public License for more details.
17 .\"
18 .\" You should have received a copy of the GNU General Public
19 .\" License along with this manual; if not, write to the Free
20 .\" Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
21 .\" USA.
22 .\" 
23 .\" Translated into german Wed 1 Jan 16:05:32 1997 by Martin Schulze (joey@linux.de)
24 .\"
25 .TH TTYNAME 3 "1. Januar 1997" "Linux" "Bibliotheksfunktionen"
26 .SH BEZEICHNUNG
27 ttyname \- gib den Namen des Terminals zurück
28 .SH SYNOPSIS
29 .ad l
30 .nf
31 .B #include <unistd.h>
32 .sp
33 .BI "char *ttyname ( int " desc " );"
34 .fi
35 .ad b
36 .SH BESCHREIBUNG
37 Die Funktion
38 .B ttyname()
39 gibt einen Zeiger auf den Pfadnamen des Terminal-Devices zurück, das
40 mit dem Dateideskriptor
41 .I desc
42 geöffnet ist, oder NULL, wenn ein Fehler auftrat (z.B., wenn
43 .I desc
44 nicht mit einem Terminal verbunden ist).
45 .SH "KONFORM ZU"
46 POSIX.1
47 .\" don't know about these: SVID, AT&T, X/OPEN, BSD 4.3
48 .SH "SIEHE AUCH"
49 .BR isatty (3),
50 .BR fstat (3).