This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Free all resources consumed by a Photon channel
int PhDetach( struct _Ph_ctrl *Ph );
ph
This function frees all resources consumed by the Photon channel Ph. If Ph is the current channel, no current channel will exist after this function is called.
Ph is a pointer to a Photon control structure returned by a previous call to PhAttach().
See PhAttach().
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |