xref: /csrg-svn/bin/sh/main.h (revision 69272)
147126Sbostic /*-
260698Sbostic  * Copyright (c) 1991, 1993
360698Sbostic  *	The Regents of the University of California.  All rights reserved.
447126Sbostic  *
547126Sbostic  * This code is derived from software contributed to Berkeley by
647126Sbostic  * Kenneth Almquist.
747126Sbostic  *
847126Sbostic  * %sccs.include.redist.c%
947126Sbostic  *
10*69272Schristos  *	@(#)main.h	8.2 (Berkeley) 05/04/95
1147126Sbostic  */
1247126Sbostic 
1347126Sbostic extern int rootpid;	/* pid of main shell */
1447126Sbostic extern int rootshell;	/* true if we aren't a child of the main shell */
1547126Sbostic 
16*69272Schristos void readcmdfile __P((char *));
17*69272Schristos void cmdloop __P((int));
18*69272Schristos int dotcmd __P((int, char **));
19*69272Schristos int exitcmd __P((int, char **));
20