Execute a vendor-specific command
#include <mmc/sdio.h> #define DCMD_SDIO_VENDOR __DIOTF(_DCMD_MISC, 0x80, int)
| Argument | Value |
|---|---|
| filedes | A file descriptor that you obtained by opening the device |
| dcmd | DCMD_SDIO_VENDOR |
| dev_data_ptr | A pointer to an int, optionally followed by a character buffer |
| n_bytes | sizeof(int) plus the size of the buffer |
| dev_info_ptr | NULL, or a pointer to a buffer where the device can store any data to be returned |
This command executes a vendor-specific command.
The command you want to run.
The results of the command.
devctl() in the QNX Neutrino C Library Reference