Thread: popen debug

  1. #16
    Registered User
    Join Date
    Aug 2001
    Posts
    11
    http://www.cis.temple.edu/~ingargio/...s/signals.html

    bytesread = read(input_fd, buf, BLKSIZE);
    if (bytesread < 0)
    if (errno == EINTR)
    printf("The read was interrupted. You can try to read again\n");
    else
    printf("Error in read. Don't know what to do about it\n");


    NOW I KNOW WHAT IT IS AND WHY IT OCCAR, BUT I DON'T KNOW HOW TO CATCH THE SIGNAL AND IGNORE IT .OR JUST SET THE SA_RESTART.
    Last edited by clark_x; 09-04-2001 at 12:20 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. popen and fgets, underflow!
    By henrikstolpe in forum Linux Programming
    Replies: 0
    Last Post: 02-06-2009, 03:39 AM
  2. makefiles - debug & release?
    By cpjust in forum C Programming
    Replies: 6
    Last Post: 10-26-2007, 04:00 PM
  3. Results in Debug and Release mode are different
    By jaro in forum C Programming
    Replies: 11
    Last Post: 05-27-2006, 11:08 AM
  4. Ask about Debug Assert Failed
    By ooosawaddee3 in forum C++ Programming
    Replies: 0
    Last Post: 04-24-2002, 11:07 PM