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

  man pages->IRIX man pages -> cap_dup (3c)              
Title
Content
Arch
Section
 

Contents


CAP_DUP(3C)							   CAP_DUP(3C)


NAME    [Toc]    [Back]

     cap_dup - make a copy of a	capability

SYNOPSIS    [Toc]    [Back]

     #include <sys/capability.h>

     cap_t cap_dup( cap_t cap);

DESCRIPTION    [Toc]    [Back]

     Returns a pointer to an allocated capability that is a copy of the
     capability	supplied as an argument.  The returned capability should be
     deallocated using cap_free(3c) when no longer needed.

RETURN VALUES    [Toc]    [Back]

     Returns a pointer or null.

ERRORS    [Toc]    [Back]

     EINVAL	     cap is null.

     ENOMEM	     allocation	of the cap_t failed.

SEE ALSO    [Toc]    [Back]

      
      
     capabilities(4)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
acl_dup IRIX make a copy of an ACL
pw_dup OpenBSD make a copy of a struct passwd
cap_get_flag IRIX get or set the value of a capability flag in a capability
cap_copy_ext IRIX copy capability from system to user space or from user to system space
scp FreeBSD secure copy (remote file copy program)
scp OpenBSD secure copy (remote file copy program)
capabilities IRIX Capability Mechanism
clear OpenBSD terminal capability interface
cap_mkdb FreeBSD create capability database
tput FreeBSD terminal capability interface
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service