tsix_get_uid(3N)

tsix_get_uid - get the User ID of incoming data

As shipped in IRIX 6.5.5. Last changed in IRIX 6.5.5.

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, -1 otherwise.

SEE ALSO
     sysconf(3c), tsix_set_uid(3c)