repo.or.cz
/
emacs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix previous change
[emacs.git]
/
nt
/
inc
/
pwd.h
blob
b39309d08faa20c13a7c0caf77932bb0e9296092
1
#ifndef _PWD_H_
2
#define _PWD_H_
3
/*
4
* pwd.h doesn't exist on NT, so we put together our own.
5
*/
6
7
struct
passwd
{
8
char
*
pw_name
;
9
char
*
pw_passwd
;
10
unsigned
pw_uid
;
/* Vista's TrustedInstaller has a very large RID */
11
unsigned
pw_gid
;
12
int
pw_quota
;
13
char
*
pw_gecos
;
14
char
*
pw_dir
;
15
char
*
pw_shell
;
16
};
17
18
typedef
unsigned
uid_t
;
19
typedef
uid_t gid_t
;
20
21
struct
passwd
*
getpwnam
(
char
*);
22
struct
passwd
*
getpwuid
(
unsigned
);
23
24
25
#endif
/* _PWD_H_ */
26