Commit | Line | Data |
---|---|---|
c911543b GV |
1 | /* Utility and Unix shadow routines for GNU Emacs support programs on NT. |
2 | Copyright (C) 1994 Free Software Foundation, Inc. | |
3 | ||
4 | This file is part of GNU Emacs. | |
5 | ||
6 | GNU Emacs is free software; you can redistribute it and/or modify it | |
7 | under the terms of the GNU General Public License as published by the | |
8 | Free Software Foundation; either version 2, or (at your option) any later | |
9 | version. | |
10 | ||
11 | GNU Emacs is distributed in the hope that it will be useful, but WITHOUT | |
12 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
13 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
14 | more details. | |
15 | ||
1fb87c77 KH |
16 | You should have received a copy of the GNU General Public License |
17 | along with GNU Emacs; see the file COPYING. If not, write to the | |
18 | Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
19 | Boston, MA 02111-1307, USA. | |
c911543b GV |
20 | |
21 | */ | |
22 | ||
23 | #include <pwd.h> | |
24 | #include <malloc.h> | |
25 | ||
26 | void sleep(int seconds); | |
4eb8218d | 27 | char *getwd (char *dir); |
c911543b GV |
28 | int getppid(void); |
29 | char * getlogin (); | |
30 | char * cuserid (char * s); | |
31 | int getuid (); | |
32 | int setuid (int uid); | |
33 | struct passwd * getpwuid (int uid); | |
34 | char * getpass (const char * prompt); | |
35 | int fchown (int fd, int uid, int gid); | |
36 | ||
37 | #ifndef BSTRING | |
38 | #define bzero(b, l) memset(b, 0, l) | |
39 | #define bcopy(s, d, l) memcpy(d, s, l) | |
40 | #define bcmp(a, b, l) memcmp(a, b, l) | |
41 | ||
42 | #define index strchr | |
43 | #define rindex strrchr | |
44 | #endif | |
45 | ||
46 | /* end of ntlib.h */ |