Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Jan 2016 15:24:35 +0000
From:      Malcolm Matalka <mmatalka@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   Can PIPE_BUF be increased?
Message-ID:  <86ziwho1jg.fsf@gmail.com>

next in thread | raw e-mail | index | archive | help
As far as I can tell, PIPE_BUF is 512 bytes by default.  Using getconf
and looking at the header files /usr/include.  I'm writing a program
that would benefit from a larger PIPE_BUF, is it possible to change this
value?  It looks like Linux and OS X have a higher default and OS X will
do some magic to increase the size if necessary.  I haven't found
anything indicating the same in FreeBSD.

Thanks,
/Malcolm




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ziwho1jg.fsf>