uvw 3.1.0
|
Utility class. More...
#include <util.h>
Public Member Functions | |
std::string | username () const noexcept |
Gets the username. | |
decltype(uv_passwd_t::uid) | uid () const noexcept |
Gets the uid. | |
decltype(uv_passwd_t::gid) | gid () const noexcept |
Gets the gid. | |
std::string | shell () const noexcept |
Gets the shell. | |
std::string | homedir () const noexcept |
Gets the homedir. | |
operator bool () const noexcept | |
Checks if the instance contains valid data. | |
Utility class.
This class can be used to query the subset of the password file entry for the current effective uid (not the real uid).
|
noexcept |
Gets the gid.
|
noexcept |
Gets the homedir.
|
noexcept |
Checks if the instance contains valid data.
|
noexcept |
Gets the shell.
|
noexcept |
Gets the uid.
|
noexcept |
Gets the username.