perl 5.0 alpha 6
[p5sagit/p5-mst-13.2.git] / x2p / util.h
CommitLineData
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
29void util_init();
30int doshell();
31char *safemalloc();
32char *saferealloc();
33char *safecpy();
34char *safecat();
35char *cpytill();
36char *cpy2();
37char *instr();
38#ifdef SETUIDGID
39 int eaccess();
40#endif
41char *getwd();
42void cat();
43void prexit();
44char *get_a_line();
45char *savestr();
46int makedir();
47void setenv();
48int envix();
49void notincl();
50char *getval();
51void growstr();
52void setdef();