![]() |
vitasdk
Documentation of the vitasdk
|
Exports for Kernel. More...
Functions | |
| int | ksceIoDevctl (const char *dev, unsigned int cmd, void *indata, int inlen, void *outdata, int outlen) |
| Send a devctl command to a device. | |
Exports for Kernel.
Include the header file in your project:
Link the library to the executable:
| int ksceIoDevctl | ( | const char * | dev, |
| unsigned int | cmd, | ||
| void * | indata, | ||
| int | inlen, | ||
| void * | outdata, | ||
| int | outlen | ||
| ) |
Send a devctl command to a device.
| dev | - String for the device to send the devctl to (e.g. "ux0:") |
| cmd | - The command to send to the device |
| indata | - A data block to send to the device, if NULL sends no data |
| inlen | - Length of indata, if 0 sends no data |
| outdata | - A data block to receive the result of a command, if NULL receives no data |
| outlen | - Length of outdata, if 0 receives no data |