Commit | Line | Data |
---|---|---|
d48672a2 | 1 | /* $RCSfile: util.h,v $$Revision: 4.0.1.1 $$Date: 91/06/07 12:20:43 $ |
a687059c | 2 | * |
d48672a2 | 3 | * Copyright (c) 1991, Larry Wall |
a687059c | 4 | * |
d48672a2 LW |
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 LW |
7 | * |
8 | * $Log: util.h,v $ | |
d48672a2 LW |
9 | * Revision 4.0.1.1 91/06/07 12:20:43 lwall |
10 | * patch4: new copyright notice | |
11 | * | |
fe14fcc3 LW |
12 | * Revision 4.0 91/03/20 01:58:29 lwall |
13 | * 4.0 baseline. | |
8d063cd8 LW |
14 | * |
15 | */ | |
16 | ||
17 | /* is the string for makedir a directory name or a filename? */ | |
18 | ||
19 | #define MD_DIR 0 | |
20 | #define MD_FILE 1 | |
21 | ||
22 | void util_init(); | |
23 | int doshell(); | |
24 | char *safemalloc(); | |
25 | char *saferealloc(); | |
26 | char *safecpy(); | |
27 | char *safecat(); | |
28 | char *cpytill(); | |
29 | char *cpy2(); | |
30 | char *instr(); | |
31 | #ifdef SETUIDGID | |
32 | int eaccess(); | |
33 | #endif | |
34 | char *getwd(); | |
35 | void cat(); | |
36 | void prexit(); | |
37 | char *get_a_line(); | |
38 | char *savestr(); | |
39 | int makedir(); | |
40 | void setenv(); | |
41 | int envix(); | |
42 | void notincl(); | |
43 | char *getval(); | |
44 | void growstr(); | |
45 | void setdef(); |