summaryrefslogtreecommitdiff
path: root/doc/posix-functions/getlogin.texi
blob: 73e961cfc1c14224c3a547fcf0e4bdb46c2722b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@node getlogin
@section @code{getlogin}
@findex getlogin

POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/getlogin.html}

Gnulib module: getlogin

Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
older mingw, MSVC 9.
@item
This function is not declared unless @code{_POSIX} is defined on some platforms:
mingw.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
This function returns an empty string even when standard input is a tty
on some platforms:
HP-UX 11.11.
@end itemize