X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/2846c6e3607995ce250435e5998ea6a08f60dd89..657d4c0be3b677dda02f7d7e895ddb259b5de82b:/lib-src/ntlib.h diff --git a/lib-src/ntlib.h b/lib-src/ntlib.h index f464ee5fb2..ab1e7ba286 100644 --- a/lib-src/ntlib.h +++ b/lib-src/ntlib.h @@ -1,6 +1,6 @@ /* Utility and Unix shadow routines for GNU Emacs support programs on NT. Copyright (C) 1994, 2002, 2003, 2004, 2005, 2006, 2007, - 2008 Free Software Foundation, Inc. + 2008, 2009, 2010 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -35,11 +35,13 @@ char *getwd (char *dir); int getppid(void); char * getlogin (); char * cuserid (char * s); -int getuid (); -int setuid (int uid); -struct passwd * getpwuid (int uid); +unsigned getuid (); +unsigned getegid (); +unsigned getgid (); +int setuid (unsigned uid); +int setegid (unsigned gid); char * getpass (const char * prompt); -int fchown (int fd, int uid, int gid); +int fchown (int fd, unsigned uid, unsigned gid); #ifndef BSTRING #define bzero(b, l) memset(b, 0, l)