Next: getmsg
, Previous: getlogin
, Up: ISO C and POSIX Function Substitutes [Contents][Index]
getlogin_r
POSIX specification:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/getlogin_r.html
Gnulib module: getlogin_r
Portability problems fixed by Gnulib:
_REENTRANT
is defined,
on some platforms:
HP-UX 11.
ERANGE
, when the buffer is not large enough, on some platforms:
macOS 14.
Portability problems not fixed by Gnulib:
_POSIX_PTHREAD_SEMANTICS
is not defined).
EINVAL
instead of ERANGE
when
the second argument is zero on some platforms:
HP-UX 11.31.
ENOMEM
instead of ERANGE
on
some platforms:
Haiku.