X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/26e06f4464c58704889bdc536edc25b73e8c0179..b336bfcdf39f1e4d35bff4a7bd01d3b4bca8f516:/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)