2 @section @code{getlogin_r}
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/getlogin_r.html}
7 Gnulib module: getlogin_r
9 Portability problems fixed by Gnulib:
12 This function is missing on some platforms:
13 NetBSD 3.0, Minix 3.1.8, mingw, MSVC 9.
15 This function is not declared unless @code{_REENTRANT} is defined,
19 This function returns a truncated result, instead of failing with error code
20 @code{ERANGE}, when the buffer is not large enough, on some platforms:
24 Portability problems not fixed by Gnulib:
27 This function has an incompatible declaration on some platforms:
28 Solaris 11 2011-11 (when @code{_POSIX_PTHREAD_SEMANTICS} is not defined).
30 This function fails even when standard input is a tty on some platforms:
33 This function fails with error code @code{EINVAL} instead of @code{ERANGE} when
34 the second argument is zero on some platforms: