Commit | Line | Data |
79072805 |
1 | /* $RCSfile: util.h,v $$Revision: 4.1 $$Date: 92/08/07 18:29:30 $ |
a687059c |
2 | * |
d48672a2 |
3 | * Copyright (c) 1991, Larry Wall |
a687059c |
4 | * |
d48672a2 |
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. |
8d063cd8 |
7 | * |
8 | * $Log: util.h,v $ |
79072805 |
9 | * Revision 4.1 92/08/07 18:29:30 lwall |
10 | * |
55204971 |
11 | * Revision 4.0.1.2 91/11/05 19:21:20 lwall |
12 | * patch11: various portability fixes |
13 | * |
d48672a2 |
14 | * Revision 4.0.1.1 91/06/07 12:20:43 lwall |
15 | * patch4: new copyright notice |
16 | * |
fe14fcc3 |
17 | * Revision 4.0 91/03/20 01:58:29 lwall |
18 | * 4.0 baseline. |
8d063cd8 |
19 | * |
20 | */ |
21 | |
22 | /* is the string for makedir a directory name or a filename? */ |
23 | |
55204971 |
24 | #define fatal Myfatal |
25 | |
8d063cd8 |
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(); |