STRMSGSZ

STRMSGSZ sets the maximum number of data bytes allowed in any streams message on the system.

Acceptable Values:

Minimum
0
Maximum
Memory limited
Default
8192 bytes

Specify integer value. For more information, see Specifying Parameter Values.

Description

This parameter limits the number of bytes of control data that can be inserted by putmsg() or write() in the data portion of any streams message on the system. If the parameter is set to zero, there is no limit on how many bytes can be placed in the data segment of the message.

putmsg() returns ERANGE if the buffer being sent is larger than the current value of STRMSGSZ; write() segments the data into multiple messages.

Additional Information