xref: /original-bsd/bin/sh/main.h (revision b3c06cab)
1 /*-
2  * Copyright (c) 1991, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * This code is derived from software contributed to Berkeley by
6  * Kenneth Almquist.
7  *
8  * %sccs.include.redist.c%
9  *
10  *	@(#)main.h	8.2 (Berkeley) 05/04/95
11  */
12 
13 extern int rootpid;	/* pid of main shell */
14 extern int rootshell;	/* true if we aren't a child of the main shell */
15 
16 void readcmdfile __P((char *));
17 void cmdloop __P((int));
18 int dotcmd __P((int, char **));
19 int exitcmd __P((int, char **));
20