Derek Price wrote:
> +#if !HAVE_DECL_GETLOGIN_R
> +int getlogin_r (char *name, size_t size);
> +#endif

Would you mind adding a bit of documentation? Something like

/* Copies the user's login name to NAME.
   The array pointed to by NAME has room for SIZE bytes.
   Returns 0 if successful. Upon error, an error number is returned.
   See <http://www.opengroup.org/onlinepubs/009695399/functions/getlogin.html>.
 */

Bruno



_______________________________________________
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib

Reply via email to