Break a connection between a process and a channel
#include <sys/neutrino.h> int ConnectDetach( int coid ); int ConnectDetach_r( int coid );
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The ConnectDetach() and ConnectDetach_r() kernel calls detach the connection specified by the coid argument.
When the connection is detached:
These functions are identical except in the way they indicate errors. See the Returns section for details.
These calls don't block.
The only difference between these functions is the way they indicate errors:
Message Passing chapter of Getting Started with QNX Neutrino