You are right about _PC_SOCK_MAXBUF is not being listed in unistd.h and is not 
listed as one of "name"'s for fpathconf. However Single Unix Spec is pretty 
clear about its usage.  Here are the quotes from SVSv3 (2004 edition)...

"The maximum value for the option for a socket may be obtained by the use of 
the fpathconf() function, using the value _PC_SOCK_MAXBUF."
...

"The SO_SNDBUF option requests that the buffer space allocated for send 
operations on this socket be set to the value, in bytes, of the option value. 
The default value for the SO_SNDBUF option value is implementation-defined, and 
may vary by protocol. The maximum value for the option for a socket may be 
obtained by the use of the fpathconf() function, using the value 
_PC_SOCK_MAXBUF."

I'm going to send an inquiry to Open Groups' discussion group tonight (can't 
use personal mail account from work).
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to