Pipe & fifo size limit

Hi guys.

  1. how much is the size of pipe?(i mean the buffer size)
  2. is this size different in various UNIX derivations?
  3. what happens if we write to a full pipe? does it block until get some free space(the other side receive data) or returns an error?
  4. FIFO s are physical files on the system. so their size limit must be limited to the file system. am i right?

As you suspected, this varies. I've heard 64KB stated sometimes, but it's not especially important.

Unless you've configured it as nonblocking, it blocks.

No. Their contents aren't stored on the filesystem.

Thank you very much.