DCMD_SDIO_DETACH_DEVICE
QNX SDP8.0Devctl and Ioctl CommandsDeveloper
Detach a device
Synopsis:
#include <mmc/sdio.h>
#define DCMD_SDIO_DETACH_DEVICE __DIOT (_DCMD_MISC, 0x13, int)
Arguments to devctl():
Argument | Value |
---|---|
filedes | A file descriptor that you obtained by opening the device |
dcmd | DCMD_SDIO_DETACH_DEVICE |
dev_data_ptr | A pointer to an int |
n_bytes | sizeof(int) |
dev_info_ptr | NULL |
Description:
This command detaches a device.
Input:
The function number for the device that you want to detach.
Output:
None.
See also:
devctl() in the QNX OS C Library Reference
Page updated: