cap_bind 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_BIND(3N)							  CAP_BIND(3N)

NAME
     cap_bind - bind a privileged name to a socket

SYNOPSIS
     #include <cap_net.h>

     int cap_bind(int s, const struct sockaddr *name,
		  int namelen);

DESCRIPTION
     cap_bind asserts appropriate privilege when assigning a name to a socket.
     This is necessary when a process wishes to bind an Internet Domain socket
     to a port whose numeric value is less than 1024, for example.

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

RETURN VALUES
     cap_bind returns 0 if successful, -1 otherwise.

ERRORS
     cap_bind has the same error codes as bind(2).

SEE ALSO
     capability(4), bind(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