perl 5.0 alpha 2
[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  * Revision 4.1  92/08/07  18:29:30  lwall
10  * 
11  * Revision 4.0.1.2  91/11/05  19:21:20  lwall
12  * patch11: various portability fixes
13  * 
14  * Revision 4.0.1.1  91/06/07  12:20:43  lwall
15  * patch4: new copyright notice
16  * 
17  * Revision 4.0  91/03/20  01:58:29  lwall
18  * 4.0 baseline.
19  * 
20  */
21
22 /* is the string for makedir a directory name or a filename? */
23
24 #define fatal Myfatal
25
26 #define MD_DIR 0
27 #define MD_FILE 1
28
29 void    util_init();
30 int     doshell();
31 char    *safemalloc();
32 char    *saferealloc();
33 char    *safecpy();
34 char    *safecat();
35 char    *cpytill();
36 char    *cpy2();
37 char    *instr();
38 #ifdef SETUIDGID
39     int         eaccess();
40 #endif
41 char    *getwd();
42 void    cat();
43 void    prexit();
44 char    *get_a_line();
45 char    *savestr();
46 int     makedir();
47 void    setenv();
48 int     envix();
49 void    notincl();
50 char    *getval();
51 void    growstr();
52 void    setdef();