Close a server connection that was opened by name_open()
#include <sys/iofunc.h> #include <sys/dispatch.h> int name_close( int coid );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The name_close() function closes a server connection that was opened by name_open().
Zero for success, or -1 if an error occurs (errno is set).
See the "Client side of the code" section in name_attach().
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |