holotko wrote:
> Under Linux Is there a limit on the amount of data that a named pipe
> can hold at any given time??
Yes.
> Is it 4096 bytes?
I believe so. However, the portable way to find out is to use the
result of calling `pathconf(<pathname>, _PC_PIPE_BUF)', where
<pathname> is the name of the FIFO (more precisely, it is used to
select a particular filesystem; the limit can theoretically vary
between filesystems).
> Where is this limit defined?
AFAIK, it's defined by the setting of PIPE_BUF in linux/limits.h.
> I have read once that it is defined as #DEFINE PIPE_BUF in
> limits.h, but upon examining this file I coulld not find anything.
It's linux/limits.h.
--
Glynn Clements <[EMAIL PROTECTED]>