Determine the size of a pipe without calling read()

后端 未结 13 952
无人共我
无人共我 2020-12-19 03:56

I need a function called SizeOfPipe() which should return the size of a pipe - I only want to know how much data is in the pipe and not actually read data off t

13条回答
  •  太阳男子
    2020-12-19 04:52

    On Windows you can always use PeekNamedPipe, but I doubt that's what you want to do anyway.

提交回复
热议问题