Use defcustom for user variables.
[emacs.git] / lib-src / ntlib.h
blob6de27d64c6734220ac3b8218d2047b3da96f569e
1 /* Utility and Unix shadow routines for GNU Emacs support programs on NT.
2 Copyright (C) 1994 Free Software Foundation, Inc.
4 This file is part of GNU Emacs.
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.
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.
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.
23 #include <pwd.h>
24 #include <malloc.h>
26 void sleep(int seconds);
27 char *getwd (char *dir);
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);
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)
42 #define index strchr
43 #define rindex strrchr
44 #endif
46 /* end of ntlib.h */