NAME | SYNOPSIS | PARAMETERS | DESCRIPTION | RETURN VALUES | CONTEXT | SEE ALSO | NOTES
#include <sys/stream.h>int tsol_putnextctl1(queue_t *q, int type, int p, str_attr_t *attrs);
Queue to which the message is to be sent.
Message type (must be control, not data type).
One-byte parameter.
Pointer to the security attributes for the control message.
tsol_putnextctl1() is a replacement for putnextctl1(9F). tsol_putnextctl1() allows a set of attributes to be sent with the control message via attrs. Otherwise it performs the same as putnextctl1().
tsol_putnextctl1() should always be used in preference to putctl1(9F)
tsol_putnextctl1() returns:
On success.
If type is a data type or if a message block cannot be allocated.
tsol_putnextctl1() can be called from user or interrupt context.
These interfaces are uncommitted. Although they are not expected to change between minor releases of the Trusted Solaris environment, they may.
NAME | SYNOPSIS | PARAMETERS | DESCRIPTION | RETURN VALUES | CONTEXT | SEE ALSO | NOTES