blob: a724ea211be31d05a423a8332f40bd2e546203d6 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001
2#pragma once
3
4typedef unsigned short __uid_t;
5__inline __uid_t getuid(void){return 0;}
6__inline int geteuid(void){return 1;}
7__inline struct passwd* getpwnam (char* g){return 0;}
8
9
10struct passwd
11{
12 char *pw_name;
13 char *pw_passwd;
14 __uid_t pw_uid;
15 __gid_t pw_gid;
16 char *pw_gecos;
17 char *pw_dir;
18 char *pw_shell;
19};
20
21#define getpwuid(i) NULL
22