*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> tsix_get_uid (3n)              
Title
Content
Arch
Section
 

Contents


TSIX_GET_UID(3N)					      TSIX_GET_UID(3N)


NAME    [Toc]    [Back]

     tsix_get_uid - get	the User ID of incoming	data

SYNOPSIS    [Toc]    [Back]

     #include <t6net.h>

     int tsix_get_uid(int fd, uid_t *uidp);

DESCRIPTION    [Toc]    [Back]

     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    [Toc]    [Back]

     tsix_get_uid returns 0 if successful, otherwise it	will set errno with
     the appropriate error and return -1.

ERRORS    [Toc]    [Back]

     [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    [Toc]    [Back]

      
      
     sysconf(3c), tsix_set_uid(3c)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
tsix_get_mac IRIX get the MAC label of incoming data
sshd-check-conf Tru64 Checks what the configuration allows or denies based on the incoming user and/or the host name
sshd-check-conf Tru64 Check what the configuration allows or denies based on incoming user and/or host name
accf_data FreeBSD buffer incoming connections until data arrives
addpppin IRIX add a PPP incoming entry.
getallpppinisdn IRIX get all PPP incoming ISDN entries
getallpppinmodem IRIX get all PPP incoming modem entries
accept_filter FreeBSD filter incoming connections
removepppin IRIX remove a PPP incoming entry.
pppoed FreeBSD handle incoming PPP over Ethernet connections
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service