Thread: send signal every time input comes in on stdin

  1. #1
    Registered User
    Join Date
    Aug 2009
    Posts
    3

    send signal every time input comes in on stdin

    Hi guys.

    how to inform OS to send a signal like SIGIO every time input comes in on stdin, I tried to use ioctl and fcntl, but both failed, so can anyone help me figure it out, thanks!
    Last edited by crs_zxf; 11-04-2009 at 07:56 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Checking stdin for input
    By hawaiian robots in forum C Programming
    Replies: 7
    Last Post: 05-19-2009, 09:06 AM
  2. Another syntax error
    By caldeira in forum C Programming
    Replies: 31
    Last Post: 09-05-2008, 01:01 AM
  3. Closing the input stream after a certain time
    By happyhippo404 in forum C++ Programming
    Replies: 3
    Last Post: 10-08-2005, 12:23 AM
  4. time class
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 12-11-2001, 10:12 PM