I have a C assignment for school where in the specifications it says that a particular char array must be declared to a size of _POSIX_PIPE_BUF like this:
I assume that there is a header file somewhere that defines that macro somewhere, but I cannot find it.Code:char data[_POSIX_PIPE_BUF];
A Google search turned up suggestions of limits.h, but of course, no luck. I even did a
which again, turned up nothing. There is no indication that we need to define that size ourselves in the specs, but I haven't ruled that out.Code:grep _POSIX_PIPE_BUF /usr/include/*
Edit: I forgot to mention that I am running on a Linux box, Gentoo to be specific, but the result needs to run on a Solaris 8 box. I only assume that the macro is defined on both breeds.