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!
Type: Posts; User: crs_zxf
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!
You're right, thank you so much, you remind me of a very good way to solve this problem.
Promble solved! Thanks to salem!
I wrote the following code to test the order in which function arguments are put onto the stack, and I got wired result:
void print_char(char c1, char c2)
{...