lab5d
by zabrielo - Sunday, 28 May 2017 19:44:38
  • if cont is 1 and the job's status was SUSPENDED, then set the attributes of the terminal to that of the job's using:¬†tcsetattr (STDIN_FILENO, TCSADRAIN, <job tmodes>);.
  • Use kill, see man 2 kill, to send SIGCONT signal to the process group of the job.


the second flow point is int the case that cont is 1 and status suspended or no Mather what we need to do second flow point