From 8fd4943b2721696f86783d22dd2e8d593a22a766 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Fri, 2 Jun 2023 15:25:11 +0200 Subject: libc: stub out sltar's requirements --- src/user/lib/include/pwd.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/user/lib/include/pwd.h') 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 + +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); -- cgit v1.2.3