DCMD_SDIO_DETACH_DEVICE

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:

DCMD_SDIO_ATTACH_DEVICE

devctl() in the QNX Neutrino C Library Reference