perl 5.000
[p5sagit/p5-mst-13.2.git] / x2p / util.h
1 /* $RCSfile: util.h,v $$Revision: 4.1 $$Date: 92/08/07 18:29:30 $
2  *
3  *    Copyright (c) 1991, Larry Wall
4  *
5  *    You may distribute under the terms of either the GNU General Public
6  *    License or the Artistic License, as specified in the README file.
7  *
8  * $Log:        util.h,v $
9  */
10
11 /* is the string for makedir a directory name or a filename? */
12
13 #define fatal Myfatal
14
15 #define MD_DIR 0
16 #define MD_FILE 1
17
18 void    util_init();
19 int     doshell();
20 char    *safemalloc();
21 char    *saferealloc();
22 char    *safecpy();
23 char    *safecat();
24 char    *cpytill();
25 char    *cpy2();
26 char    *instr();
27 #ifdef SETUIDGID
28     int         eaccess();
29 #endif
30 char    *getwd();
31 void    cat();
32 void    prexit();
33 char    *get_a_line();
34 char    *savestr();
35 int     makedir();
36 void    setenv();
37 int     envix();
38 void    notincl();
39 char    *getval();
40 void    growstr();
41 void    setdef();