+2010-01-09 Bruno Haible <bruno@clisp.org>
+
+ * lib/unistd.in.h (getlogin_r): Add comment.
+
2010-01-09 Bruno Haible <bruno@clisp.org>
Tests for module 'getlogin_r'.
provided (this case is hopefully rare but is left open by the POSIX spec).
See <http://www.opengroup.org/susv3xsh/getlogin.html>.
+
+ Most programs don't need to use this function, because the information is
+ available through environment variables:
+ ${LOGNAME-$USER} on Unix platforms,
+ $USERNAME on native Windows platforms.
*/
# if !@HAVE_DECL_GETLOGIN_R@
extern int getlogin_r (char *name, size_t size) _GL_ARG_NONNULL ((1));