ERRORS: add ENOTTY.

This commit is contained in:
Michael Kerrisk 2008-06-29 07:34:44 +00:00
parent 853a397f04
commit 1de9af4660
1 changed files with 5 additions and 1 deletions

View File

@ -123,6 +123,10 @@ There was no corresponding entry in the utmp-file.
.TP
.B ENOMEM
Insufficient memory to allocate passwd structure.
.TP
.B ENOTTY
Standard input didn't refer to a terminal.
(See BUGS.)
.SH FILES
.TP
\fI/etc/passwd\fP
@ -167,7 +171,7 @@ Avoid
.BR getlogin ()
for security-related purposes.
.LP
Note that glibc does not follow the POSIX spec and uses
Note that glibc does not follow the POSIX specfication and uses
.I stdin
instead of
.IR /dev/tty .