Subversion Repositories planix.SVN

Rev

Rev 106 | Rev 113 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 106 Rev 108
Line 887... Line 887...
887
		return (1);
887
		return (1);
888
	return (0);
888
	return (0);
889
}
889
}
890
 
890
 
891
#ifndef V6
891
#ifndef V6
-
 
892
/* XXX
892
exit(i)
893
exit(i)
893
	int i;
894
	int i;
894
{
895
{
895
 
896
 
896
# ifdef TRACE
897
# ifdef TRACE
897
	if (trace)
898
	if (trace)
898
		fclose(trace);
899
		fclose(trace);
899
# endif
900
# endif
900
	_exit(i);
901
	_exit(i);
901
}
902
}
-
 
903
*/
-
 
904
 
902
#endif
905
#endif
903
 
906
 
904
#ifdef SIGTSTP
907
#ifdef SIGTSTP
905
/*
908
/*
906
 * We have just gotten a susp.  Suspend and prepare to resume.
909
 * We have just gotten a susp.  Suspend and prepare to resume.
Line 915... Line 918...
915
	f = setty(normf);
918
	f = setty(normf);
916
	vnfl();
919
	vnfl();
917
	putpad(TE);
920
	putpad(TE);
918
	flush();
921
	flush();
919
 
922
 
920
	(void) sigsetmask(0L);
923
/*XXX	(void) sigsetmask(0L); */
921
	signal(SIGTSTP, SIG_DFL);
924
	signal(SIGTSTP, SIG_DFL);
922
	kill(0, SIGTSTP);
925
	kill(0, SIGTSTP);
923
 
926
 
924
	/* the pc stops here */
927
	/* the pc stops here */
925
 
928