CAPS_SYS_CLOSE(2) BSD System Calls Manual CAPS_SYS_CLOSE(2)NAMEcaps_sys_close — terminate a CAPS IPC link
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <sys/caps.h>
int
caps_sys_close(int portid);
DESCRIPTION
Terminate a CAPS IPC link. The portid argument is a port identifier
returned by a previous call to caps_sys_service() or caps_sys_client().
Any unreplied messages will be automatically replied to by the kernel.
RETURN VALUES
The caps_sys_close() function returns the value 0 if successful; other‐
wise the value -1 is returned and the global variable errno is set to
indicate the error.
ERRORS
This function will fail if:
[EINVAL] The portid could not be found.
SEE ALSOcaps_sys_client(2), caps_sys_service(2)HISTORY
The caps_sys_close() function call first appeared in DragonFly 1.0.
AUTHORS
CAPS IPC was written by Matthew Dillon. This man page was written by
Sascha Wildner.
BSD February 28, 2006 BSD