Re: Clogged pipe?
- Reply: Pete Wright : "Re: Clogged pipe?"
- In reply to: Pete Wright : "Re: Clogged pipe?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 06 Apr 2023 19:04:35 UTC
Pete Wright: > > What actually fixes the buffering problem on FreeBSD (it already works fine > > on Linux) is to add the -u flag to the cat command. > > Jan Schaumann had a great blog post on pipes buffer sizes a while back > that may be interesting: > https://www.netmeister.org/blog/ipcbufs.html That is an entirely different issue. Your problem was due to buffering in libc's stdio implementation. Again: See the DESCRIPTION section of setbuf(3) for a terse summary. -- Christian "naddy" Weisgerber naddy@mips.inka.de