Parent Directory | Revision Log | Patch
revision 1.85 by miles, Mon Sep 1 15:45:57 2003 UTC | revision 1.86 by lh, Sat Nov 22 23:01:18 2003 UTC | |
---|---|---|
# | Line 66 Boston, MA 02111-1307, USA. | Line 66 Boston, MA 02111-1307, USA. |
66 | #include "lisp.h" | #include "lisp.h" |
67 | ||
68 | #include <pwd.h> | #include <pwd.h> |
69 | #include <grp.h> | |
70 | ||
71 | #ifdef __GNUC__ | #ifdef __GNUC__ |
72 | #define _ANONYMOUS_UNION | #define _ANONYMOUS_UNION |
# | Line 385 static struct passwd the_passwd = | Line 386 static struct passwd the_passwd = |
386 | the_passwd_shell, | the_passwd_shell, |
387 | }; | }; |
388 | ||
389 | static struct group the_group = | |
390 | { | |
391 | /* There are no groups on NT, so we just return "root" as the | |
392 | group name. */ | |
393 | "root", | |
394 | }; | |
395 | ||
396 | int | int |
397 | getuid () | getuid () |
398 | { | { |
# | Line 420 getpwuid (int uid) | Line 428 getpwuid (int uid) |
428 | return NULL; | return NULL; |
429 | } | } |
430 | ||
431 | struct group * | |
432 | getgrgid (gid_t gid) | |
433 | { | |
434 | return &the_group; | |
435 | } | |
436 | ||
437 | struct passwd * | struct passwd * |
438 | getpwnam (char *name) | getpwnam (char *name) |
439 | { | { |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |