caps_sys_client man page on DragonFly

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

CAPS_SYS_CLIENT(2)	    BSD System Calls Manual	    CAPS_SYS_CLIENT(2)

NAME
     caps_sys_client — create a CAPS IPC client

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     #include <sys/caps.h>

     int
     caps_sys_client(const char *name, uid_t uid, gid_t gid, int upcid,
	 int flags);

DESCRIPTION
     Create an IPC client connected to the service specified by the name argu‐
     ment.  Either uid or gid can be -1 (thereby indicating a wildcard), but
     not both.	Programs connecting to a generic service typically first try
     getuid() and -1, then try -1 and getgid(), then try 0 and 0.  The upcid
     argument can either be an upcall or a kqueue identifier.

RETURN VALUES
     On success, this function returns a port identifier.  On failure, -1 is
     returned and errno is set to indicate the error.

ERRORS
     This function will fail if:

     [EOPNOTSUPP]  The CAPS system has not been enabled with
		   kern.caps_enabled.

     [EINVAL]	   An invalid argument was specified.

SEE ALSO
     caps_sys_service(2)

HISTORY
     The caps_sys_client() function call first appeared in DragonFly 1.0.

AUTHORS
     CAPS IPC was written by Matthew Dillon.  This man page was written by
     Sascha Wildner.

BUGS
     Support for the upcid argument is currently not implemented.

BSD			       February 28, 2006			   BSD
[top]

List of man pages available for DragonFly

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