bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gnulib] [bug-gnulib] New getlogin_r module


From: Bruno Haible
Subject: Re: [bug-gnulib] [bug-gnulib] New getlogin_r module
Date: Wed, 25 May 2005 12:47:02 +0200
User-agent: KMail/1.5

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]