lkml.org 
[lkml]   [1998]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectuse of ioctl(fd, TCFLSH,0) to flush pipe?
Date

I am trying to detect if a pipe created with socketpair() is still
active before I send a message down it. I am using
ioctl(fd, TCFLSH, 0) to accomplish this and it does not seem
to work as it gives me an error everytime (error 22)
and the pipe is active at this point.

Is there a problem using this under 2.0.33 or is there a different
way to accomplish this.

Thanks very much.

Please CC me directly.

jerry
[unhandled content-type:application/ms-tnef]
\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.024 / U:1.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site