ptp_detach()

Detach and disable the device's PTP context

Synopsis:

#include <qnx/ptp/ptp_mod.h>
void ptp_detach(struct ptp_ctx *ctx)

Arguments:

ctx
A pointer to the PTP context. Cannot be NULL.

Library:

ptp

Description:

Drain all queues, free mutexes, and free the specified ctx. You cannot use the ctx pointer after this.

Page updated: