cap_socket man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



CAP_SOCKET(3N)							CAP_SOCKET(3N)

NAME
     cap_socket - create a socket with privilege

SYNOPSIS
     #include <cap_net.h>

     int cap_socket(int domain, int type, int protocol);

DESCRIPTION
     cap_socket asserts appropriate privilege for the creation of sockets with
     privileged protocol types, like SOCK_RAW or SOCK_IGMP .

     If _POSIX_CAP is in effect, a process calling this function should have
     CAP_NETWORK_MGT capability in the permitted vector of its capability set.

RETURN VALUES
     cap_socket returns a descriptor referencing the socket if successful, -1
     otherwise.

ERRORS
     cap_socket has the same error codes as socket(2).

SEE ALSO
     capability(4), socket(2), sysconf(3c).

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net