|
xsecurelock
1.7.0
XSecureLock is an X11 screen lock utility.
|
#include "env_info.h"#include <pwd.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include "logging.h"#include "mlock_page.h"#include "util.h"Functions | |
| int | GetHostName (char *hostname_buf, size_t hostname_buflen) |
| Loads the current host name. More... | |
| int | GetUserName (char *username_buf, size_t username_buflen) |
| Loads the current user name. More... | |
| int GetHostName | ( | char * | hostname_buf, |
| size_t | hostname_buflen | ||
| ) |
Loads the current host name.
| hostname_buf | The buffer to write the host name to. |
| hostname_buflen | The size of the buffer. |
| int GetUserName | ( | char * | username_buf, |
| size_t | username_buflen | ||
| ) |
Loads the current user name.
| username_buf | The buffer to write the user name to. |
| username_buflen | The size of the buffer. |
1.8.14