[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 1/3] osdep: Add a function to get the current
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH v5 1/3] osdep: Add a function to get the current username. |
Date: |
Thu, 4 Apr 2013 10:08:10 +0100 |
On 3 April 2013 23:17, Richard W.M. Jones <address@hidden> wrote:
> +/*
> + * Get the login name of the current user. The string must be freed
> + * up by the caller. If the current user could not be determined,
> + * returns NULL and sets errno.
> + */
Any reason we can't just use g_get_user_name() ?
-- PMM