Function

GLibget_real_name

Declaration [src]

const gchar*
g_get_real_name (
  void
)

Description [src]

Gets the real name of the user. This usually comes from the user’s entry in the passwd file. The encoding of the returned string is system-defined. (On Windows, it is, however, always UTF-8.) If the real user name cannot be determined, the string “Unknown” is returned.

Return value

Returns: const gchar*
 

The user’s real name.

 The data is owned by the called function.
 The string is a file system path, using the OS encoding.