1: #ifndef lint
   2: static char sccsid[] = "@(#)wwsuspend.c	3.7 4/24/85";
   3: #endif
   4: 
   5: /*
   6:  * Copyright (c) 1983 Regents of the University of California,
   7:  * All rights reserved.  Redistribution permitted subject to
   8:  * the terms of the Berkeley Software License Agreement.
   9:  */
  10: 
  11: #include "ww.h"
  12: #include "tt.h"
  13: #include <sys/signal.h>
  14: 
  15: wwsuspend()
  16: {
  17:     int (*oldsig)();
  18: 
  19:     oldsig = signal(SIGTSTP, SIG_IGN);
  20:     wwend();
  21:     (void) signal(SIGTSTP, SIG_DFL);
  22:     (void) kill(0, SIGTSTP);
  23:     (void) signal(SIGTSTP, SIG_IGN);
  24:     (void) wwsettty(0, &wwnewtty, &wwoldtty);
  25:     (*tt.tt_init)();
  26:     wwredraw();
  27:     (void) signal(SIGTSTP, oldsig);
  28: }

Defined functions

wwsuspend defined in line 15; used 2 times

Defined variables

sccsid defined in line 2; never used
Last modified: 1987-02-17
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1948
Valid CSS Valid XHTML 1.0 Strict