a "replacement" for awk and sed
[p5sagit/p5-mst-13.2.git] / x2p / util.h
1 /* $Header: util.h,v 1.0 87/12/18 13:07:37 root Exp $
2  *
3  * $Log:        util.h,v $
4  * Revision 1.0  87/12/18  13:07:37  root
5  * Initial revision
6  * 
7  */
8
9 /* is the string for makedir a directory name or a filename? */
10
11 #define MD_DIR 0
12 #define MD_FILE 1
13
14 void    util_init();
15 int     doshell();
16 char    *safemalloc();
17 char    *saferealloc();
18 char    *safecpy();
19 char    *safecat();
20 char    *cpytill();
21 char    *cpy2();
22 char    *instr();
23 #ifdef SETUIDGID
24     int         eaccess();
25 #endif
26 char    *getwd();
27 void    cat();
28 void    prexit();
29 char    *get_a_line();
30 char    *savestr();
31 int     makedir();
32 void    setenv();
33 int     envix();
34 void    notincl();
35 char    *getval();
36 void    growstr();
37 void    setdef();