caps_sys_service 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_SERVICE(2)	    BSD System Calls Manual	   CAPS_SYS_SERVICE(2)

NAME
     caps_sys_service — create a CAPS IPC service

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     #include <sys/caps.h>

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

DESCRIPTION
     Create an IPC service using the specified name, uid, gid, and flags.
     Either uid or gid can be -1 (thereby indicating a wildcard), but not
     both.  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_client(2)

HISTORY
     The caps_sys_service() 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