1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 05:47:34 +00:00

LibCore+id: Make more use of Core::System wrappers in Core::Account

This commit is contained in:
Andreas Kling 2022-01-01 18:48:09 +01:00
parent 431bd069f0
commit c6ce606e47
3 changed files with 39 additions and 74 deletions

View file

@ -32,7 +32,7 @@ public:
PasswdOnly
};
static Account self(Read options = Read::All);
static ErrorOr<Account> self(Read options = Read::All);
static ErrorOr<Account> from_name(char const* username, Read options = Read::All);
static ErrorOr<Account> from_uid(uid_t uid, Read options = Read::All);