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

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

Contents


TSIX_SET_UID(3N)					      TSIX_SET_UID(3N)


NAME    [Toc]    [Back]

     tsix_set_uid - set	the User ID of outgoing	data

SYNOPSIS    [Toc]    [Back]

     #include <t6net.h>

     int tsix_set_uid(int fd, uid_t uid);

DESCRIPTION    [Toc]    [Back]

     tsix_set_uid sets the User	ID of all outgoing communication on fd , which
     must be associated	with a socket, to the User ID contained	in uid .

CAPABILITIES    [Toc]    [Back]

     If	_SC_CAP	is in effect, a	process	calling	this function must have
     CAP_NETWORK_MGT, and CAP_SETUID capabilities in the permitted vector of
     its capability set.

RETURN VALUES    [Toc]    [Back]

     If	_SC_IP_SECOPTS is not in effect, tsix_set_uid always returns success.

     tsix_set_uid returns 0 if successful, -1 otherwise	and the	errno will be
     assigned the appropriate error code.

ERRORS    [Toc]    [Back]

     [ENOMEM]	    Not	enough space.

     [EFAULT]	    If new_attrs contains a NULL pointer.

     [EINVAL]	    Invalid Argument.

     [ENOTSOCK]	    Socket operation on	a Non-Socket not permitted.

SEE ALSO    [Toc]    [Back]

      
      
     sysconf(3c), tsix_get_uid(3c)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
tsix_set_mac IRIX set the MAC label of outgoing data
tsix_set_mac_byrhost IRIX set the MAC label of outgoing data
addpppout IRIX add a PPP outgoing entry.
removepppout IRIX remove a PPP outgoing entry.
getallpppoutmodem IRIX get all PPP outgoing modem entries
getallpppoutisdn IRIX get all PPP outgoing ISDN entries
owners HP-UX list owners of outgoing network connections
ng_split FreeBSD netgraph node to separate incoming and outgoing flows
gluNurbsCallbackDataEXT Tru64 set a user data pointer
glunurbscallbackdata IRIX set a user data pointer
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service