Mercurial > hg > xemacs-beta
annotate src/syspwd.h @ 5555:a39cd9dc92ba
Correct a typo from Mats' merge, process.el, thank you the byte-compiler
lisp/ChangeLog addition:
2011-08-24 Aidan Kehoe <kehoea@parhasard.net>
* process.el (shell-command-on-region):
Correct typo from the merge, nnot -> not.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Wed, 24 Aug 2011 11:22:30 +0100 |
parents | 308d34e9f07d |
children | c30fdcab7bc8 |
rev | line source |
---|---|
428 | 1 /* |
2 | |
3 This file is part of XEmacs. | |
4 | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
867
diff
changeset
|
5 XEmacs is free software: you can redistribute it and/or modify it |
428 | 6 under the terms of the GNU General Public License as published by the |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
867
diff
changeset
|
7 Free Software Foundation, either version 3 of the License, or (at your |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
867
diff
changeset
|
8 option) any later version. |
428 | 9 |
10 XEmacs is distributed in the hope that it will be useful, but WITHOUT | |
11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
12 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
13 for more details. | |
14 | |
15 You should have received a copy of the GNU General Public License | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
867
diff
changeset
|
16 along with XEmacs. If not, see <http://www.gnu.org/licenses/>. */ |
428 | 17 |
18 /* Synched up with: Not really in FSF. */ | |
19 | |
442 | 20 #ifndef WIN32_NATIVE |
21 | |
22 # include <pwd.h> | |
23 | |
24 #else /* WIN32_NATIVE */ | |
428 | 25 |
771 | 26 struct passwd |
27 { | |
28 char *pw_name; | |
29 char *pw_passwd; | |
30 int pw_uid; | |
31 int pw_gid; | |
32 int pw_quota; | |
33 char *pw_gecos; | |
34 char *pw_dir; | |
35 char *pw_shell; | |
442 | 36 }; |
37 | |
771 | 38 #ifdef emacs |
39 | |
40 struct passwd *getpwuid (uid_t uid); | |
867 | 41 struct passwd *getpwnam (const Ibyte *name); |
771 | 42 uid_t getuid (void); |
43 uid_t geteuid (void); | |
44 gid_t getgid (void); | |
45 gid_t getegid (void); | |
46 | |
47 #endif /* emacs */ | |
48 | |
442 | 49 #endif /* WIN32_NATIVE */ |
771 | 50 |
51 #ifdef emacs | |
52 | |
867 | 53 struct passwd *qxe_getpwnam (const Ibyte *name); |
771 | 54 struct passwd *qxe_getpwuid (uid_t uid); |
55 struct passwd *qxe_getpwent (void); | |
56 | |
57 #endif /* emacs */ | |
58 |