send signal every time input comes in on stdin

This is a discussion on send signal every time input comes in on stdin within the C Programming forums, part of the General Programming Boards category; Hi guys. how to inform OS to send a signal like SIGIO every time input comes in on stdin, I ...

  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 06: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, 09:12 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21