[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    Re:Question: Returning values from kernel FIFO to userspace
From:       "\\\"shaheed r. haque\\\"" <srhaque () iee ! org>
Date:       2003-11-08 21:32:09
[Download RAW message or body]


I'm not sure if this is compatible with the zen of /proc, but one technique for 
handling such "destructive reads" from a FIFO, is to only pop the FIFO with an 
explicit operation, such as a write.

Perhaps this can work for you?

Thanks, Shaheed


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic