xref: /csrg-svn/sys/tahoe/stand/vdformat/reset.c (revision 29535)
1*29535Ssam #ifndef lint
2*29535Ssam static char sccsid[] = "@(#)reset.c	1.1 (Berkeley/CCI) 07/05/86";
3*29535Ssam #endif
4*29535Ssam 
5*29535Ssam #include	"vdfmt.h"
6*29535Ssam 
7*29535Ssam /*
8*29535Ssam **
9*29535Ssam */
10*29535Ssam 
reset()11*29535Ssam reset()
12*29535Ssam {
13*29535Ssam 	indent();
14*29535Ssam 	if(get_yes_no("Confirm delete all operations and reset variables")) {
15*29535Ssam 		print("All operations specified have been deleted.\n");
16*29535Ssam 		exdent(-1);
17*29535Ssam 		_longjmp(reset_environ, 1);
18*29535Ssam 	}
19*29535Ssam 	exdent(1);
20*29535Ssam }
21*29535Ssam 
22