1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 06:27:45 +00:00

LibCore: Implement Account::self()

This commit is contained in:
Jean-Baptiste Boric 2021-07-08 19:31:22 +02:00 committed by Andreas Kling
parent 3db1681214
commit fdf638dde0
2 changed files with 40 additions and 0 deletions

View file

@ -27,6 +27,7 @@ struct spwd {
class Account {
public:
static Account self();
static Result<Account, String> from_name(const char* username);
static Result<Account, String> from_uid(uid_t uid);