Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 8th, 2012  |  syntax: None  |  size: 0.21 KB  |  hits: 9  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. -SIGCONT does not continue paused process?
  2. #include <stdio.h>
  3.  
  4. int main(int argc, char *argv[])
  5. {
  6.     printf("pausedn");
  7.     pause();
  8.     printf("continuen");
  9.  
  10.     return 0;
  11. }
  12.        
  13. kill(getpid(), SIGSTOP);