[root@localhost morinaga]# ./a.out fd=3 write=2 fd=3 write=7 fd=3 read=1 val=1 waiting for interrupt...poll=1 revent=0x1 lseek=0 read=1 val=1 OK (1, High) fd=3 read=1 val=1 waiting for interrupt...poll=1 revent=0x1 lseek=0 read=1 val=1 OK (1, High) fd=3 read=1 val=1 waiting for interrupt...poll=1 revent=0x1 lseek=0 read=1 val=1 OK (1, High) [root@localhost morinaga]#