.\" Copyright 2002 walter harms (walter.harms@informatik.uni-oldenburg.de)
.\" Distributed under GPL
-.\"
+.\"
.TH GETTTYENT 3 2002-07-18 "glibc"
.SH NAME
getttyent, getttynam, setttyent, endttyent \- get ttys file entry
(e.g.,
.IR /etc/ttys ).
-The function
+The function
.BR setttyent ()
opens the file or rewinds it if already open.
.BR endttyent ()
closes the file.
-The function
+The function
.BR getttynam ()
-searches for a given ttyname in the file. It returns a pointer to a
+searches for a given ttyname in the file.
+It returns a pointer to a
struct ttyent (description below).
The function
.IR /etc/ttys ,
and the functions described above, are not used.
.SH "CONFORMING TO"
-Not in POSIX.1-2001.
+Not in POSIX.1-2001.
Present on the BSDs, and perhaps other systems.
.SH "SEE ALSO"
.BR ttyname (3),