tsix_get_uid(3N)
tsix_get_uid - get the User ID of incoming data
Showing IRIX 6.5.30 (default release). Last changed in IRIX 6.5.15.
NAME tsix_get_uid - get the User ID of incoming data SYNOPSIS #include <t6net.h> int tsix_get_uid(int fd, uid_t *uidp); DESCRIPTION tsix_get_uid retrieves the User ID associated with data incoming on fd, which must be associated with a socket. If tsix_get_uid is successful, that User ID will be contained in the object pointed to by uidp. If _SC_IP_SECOPTS is not in effect, tsix_get_uid always returns success. RETURN VALUES tsix_get_uid returns 0 if successful, otherwise it will set errno with the appropriate error and return -1. ERRORS [ENOSYS] Function not implemented. [ENOTSOCK] Attempted to perform a socket operation on a non-socket. [EFAULT] Invalid pointer address. [EINVAL] Invalid argument. [ENOTCONN] Socket is not connected. [EWOULDBLOCK] Operation would block. SEE ALSO sysconf(3c), tsix_set_uid(3c)