Documentation about Minix.
[gnulib.git] / doc / posix-functions / getlogin_r.texi
1 @node getlogin_r
2 @section @code{getlogin_r}
3 @findex getlogin_r
4
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/getlogin_r.html}
6
7 Gnulib module: getlogin_r
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function is missing on some platforms:
13 NetBSD 3.0, Minix 3.1.8, mingw.
14 @item
15 This function is not declared unless @code{_REENTRANT} is defined,
16 on some platforms:
17 HP-UX 11.
18 @item
19 This function has an incompatible declaration on some platforms:
20 Solaris 11 2010-11 (when @code{_POSIX_PTHREAD_SEMANTICS} is not defined).
21 @item
22 This function returns a truncated result, instead of failing with error code
23 @code{ERANGE}, when the buffer is not large enough, on some platforms:
24 OSF/1 5.1.
25 @end itemize
26
27 Portability problems not fixed by Gnulib:
28 @itemize
29 @item
30 This function fails even when standard input is a tty on some platforms:
31 HP-UX 11.11.
32 @item
33 This function fails with error code @code{EINVAL} instead of @code{ERANGE} when
34 the second argument is zero on some platforms:
35 HP-UX 11.31.
36 @end itemize