diff options
author | dzwdz | 2023-06-02 15:25:11 +0200 |
---|---|---|
committer | dzwdz | 2023-06-02 15:25:11 +0200 |
commit | 8fd4943b2721696f86783d22dd2e8d593a22a766 (patch) | |
tree | 2e2e664605571a07688021339a6be0f395bc62c2 /src/user/lib/include/pwd.h | |
parent | 51c39c73692e755596eafb0d6f732581fee3ba98 (diff) |
libc: stub out sltar's requirements
Diffstat (limited to 'src/user/lib/include/pwd.h')
-rw-r--r-- | src/user/lib/include/pwd.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/user/lib/include/pwd.h b/src/user/lib/include/pwd.h index e69de29..6721ca2 100644 --- a/src/user/lib/include/pwd.h +++ b/src/user/lib/include/pwd.h @@ -0,0 +1,14 @@ +#pragma once +#include <sys/types.h> + +struct passwd { + char *pw_name; + char *pw_passwd; + uid_t pw_uid; + gid_t pw_gid; + char *pw_gecos; + char *pw_dir; + char *pw_shell; +}; + +struct passwd *getpwuid(uid_t uid); |