* lisp/w32-fns.el (w32-shell-name): Silence compiler.
[emacs.git] / nt / inc / pwd.h
blob54e477e966581383a523f76e24c4718d47658278
1 #ifndef _PWD_H_
2 #define _PWD_H_
3 /*
4 * pwd.h doesn't exist on NT, so we put together our own.
5 */
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;
18 typedef unsigned uid_t;
19 typedef uid_t gid_t;
21 extern unsigned getuid (void);
22 extern unsigned geteuid (void);
24 extern struct passwd * getpwnam (char *);
25 extern struct passwd * getpwuid (unsigned);
28 #endif /* _PWD_H_ */