Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Many files:
[tools/e2fsprogs.git]
/
include
/
nonunix
/
pwd.h
1
2
#pragma once
3
4
typedef 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
10
struct 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