Hello gang,
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:
Code:
char data[_POSIX_PIPE_BUF];
I assume that there is a header file somewhere that defines that macro somewhere, but I cannot find it.
A Google search turned up suggestions of limits.h, but of course, no luck. I even did a
Code:
grep _POSIX_PIPE_BUF /usr/include/*
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.
Any ideas?
~arker
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.