Trusted Solaris Developer's Guide

Examine Security Attributes

The t6peek_attr(3NSL) routine examines the security attributes in attr_ptr on the next byte of data to be received, and the t6last_attr(3NSL) routine examines the security attributes on the last byte of data received.

int t6peek_attr(int fd, t6attr_t attr_ptr, t6mask_t *new_attrs);

int t6last_attr(int fd, t6attr_t attr_ptr, t6mask_t *new_attrs);