aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2008-06-29 07:34:44 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2008-06-29 07:34:44 +0000
commit1de9af46603cf249f276f122cec8146f4e68c39f (patch)
treec328458946343ab0a4faf47d79bdb5317cdeebee /man3
parent853a397f043aa4d689509f7821ce5f55d65a32d3 (diff)
downloadman-pages-1de9af46603cf249f276f122cec8146f4e68c39f.tar.gz
ERRORS: add ENOTTY.
Diffstat (limited to 'man3')
-rw-r--r--man3/getlogin.36
1 files changed, 5 insertions, 1 deletions
diff --git a/man3/getlogin.3 b/man3/getlogin.3
index 85e05ce356..d1825aa639 100644
--- a/man3/getlogin.3
+++ b/man3/getlogin.3
@@ -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 .