Skip to contentSkip to conversation

Question: Returning values from kernel FIFO to userspace

DISCUSSION \"shaheed r. haque\ 1 participant 1 message Nov 8, 2003

lore
Share & tools
lore
#0 lore raw

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