vitasdk
Documentation of the vitasdk
devctl.h
Go to the documentation of this file.
1 
7 #ifndef _PSP2_IO_DEVCTL_H_
8 #define _PSP2_IO_DEVCTL_H_
9 
10 #include <psp2/types.h>
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 
35 int sceIoDevctl(const char *dev, unsigned int cmd, void *indata, int inlen, void *outdata, int outlen);
36 
48 int sceIoIoctl(SceUID fd, unsigned int cmd, void *indata, int inlen, void *outdata, int outlen);
49 
61 int sceIoIoctlAsync(SceUID fd, unsigned int cmd, void *indata, int inlen, void *outdata, int outlen);
62 
63 #ifdef __cplusplus
64 }
65 #endif
66 
67 #endif /* _PSP2_IO_DEVCTL_H_ */
68 
int sceIoIoctlAsync(SceUID fd, unsigned int cmd, void *indata, int inlen, void *outdata, int outlen)
Perform an ioctl on a device.
int sceIoDevctl(const char *dev, unsigned int cmd, void *indata, int inlen, void *outdata, int outlen)
Send a devctl command to a device.
int sceIoIoctl(SceUID fd, unsigned int cmd, void *indata, int inlen, void *outdata, int outlen)
Perform an ioctl on a device.
int SceUID
UIDs are used to describe many different kernel objects.
Definition: types.h:90