repo.or.cz
/
e2fsprogs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
tests: update expect file for u_direct_io
[e2fsprogs.git]
/
include
/
nonunix
/
pwd.h
blob
a724ea211be31d05a423a8332f40bd2e546203d6
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