BSD 4_3 development
[unix-history] / usr / contrib / rn / util.h
CommitLineData
9c4b96b4
C
1/* $Header: util.h,v 4.3 85/05/01 11:51:58 lwall Exp $
2 *
3 * $Log: util.h,v $
4 * Revision 4.3 85/05/01 11:51:58 lwall
5 * Baseline for release with 4.3bsd.
6 *
7 */
8
9EXT bool waiting INIT(FALSE); /* are we waiting for subprocess (in doshell)? */
10EXT int len_last_line_got INIT(0);
11 /* strlen of some_buf after */
12 /* some_buf = get_a_line(bufptr,buffersize,fp) */
13
14/* is the string for makedir a directory name or a filename? */
15
16#define MD_DIR 0
17#define MD_FILE 1
18
19void util_init();
20int doshell();
21char *safemalloc();
22char *saferealloc();
23char *safecpy();
24char *safecat();
25char *cpytill();
26char *instr();
27#ifdef SETUIDGID
28 int eaccess();
29#endif
30char *getwd();
31void cat();
32void prexit();
33char *get_a_line();
34char *savestr();
35int makedir();
36void setenv();
37int envix();
38void notincl();
39char *getval();
40void growstr();
41void setdef();