Relative Content

Tag Archive for linuxpipefilesize

How to get available data in a pipe in linux

In linux, after writing some data in a pipe(yet not readed), when using fstat on read/write side of a pipe, the st_size field is zero. Is it possible to get the size of data available in a pipe?