MySQL 9.0.0
Source Code Documentation
|
Namespaces | |
namespace | anonymous_namespace{my_getpwnam.cc} |
Functions | |
std::size_t | anonymous_namespace{my_getpwnam.cc}::start_bufsz () |
template<class GETPW_CLOS > | |
PasswdValue | anonymous_namespace{my_getpwnam.cc}::my_getpw_ (GETPW_CLOS &&getpwfunc) |
PasswdValue | my_getpwnam (const char *name) |
Wrapper around the getpwnam_r() POSIX function which places the contents of the passwd struct into an object with value semantics and returns this. More... | |
PasswdValue | my_getpwuid (uid_t uid) |
Wrapper around the getpwuid_r() POSIX function which places the contents of the passwd struct into an object with value semantics and returns this. More... | |
PasswdValue my_getpwnam | ( | const char * | name | ) |
Wrapper around the getpwnam_r() POSIX function which places the contents of the passwd struct into an object with value semantics and returns this.
name | Symbolic user id |
PasswdValue | representing user's passwd entry. PasswdValue::IsVoid() returns true if no such user exists or an error occurred. In the latter case errno is set. |
PasswdValue my_getpwuid | ( | uid_t | uid | ) |
Wrapper around the getpwuid_r() POSIX function which places the contents of the passwd struct into an object with value semantics and returns this.
uid | Numeric user id |
PasswdValue | representing user's passwd entry. PasswdValue::IsVoid() returns true if no such user exists or an error occurred. In the latter case errno is set. |