Go to the source code of this file.
Defines | |
#define | USERNAME_MAX 256 |
The maximum size of a user name. | |
Functions | |
int | username_is_super () |
Determine if the current user is the super user. | |
int | username_get (char *name) |
Get the name of the current user. | |
int | username_set (const char *name) |
Switch to the named user. | |
int | username_home (char *dir) |
Get the current user's home directory. |
|
The maximum size of a user name.
|
|
Determine if the current user is the super user.
|
|
Get the name of the current user.
|
|
Switch to the named user.
|
|
Get the current user's home directory.
|