38 #define IPC_OPEN_NONE 0 39 #define IPC_OPEN_READ 1 40 #define IPC_OPEN_WRITE 2 41 #define IPC_OPEN_RW (IPC_OPEN_READ|IPC_OPEN_WRITE) 43 #define IPC_MAXPATH_LEN 64 47 #define IPC_ENOHEAP -5 49 #define IPC_EQUEUEFULL -8 50 #define IPC_ENOMEM -22 s32 IOS_IoctlvReboot(s32 fd, s32 ioctl, s32 cnt_in, s32 cnt_io, ioctlv *argv)
const GLvoid * ptr
Definition: nx_glsym.h:242
int32_t s32
32bit signed integer
Definition: gctypes.h:24
GLenum mode
Definition: glext.h:6857
s32 IOS_OpenAsync(const char *filepath, u32 mode, ipccallback ipc_cb, void *usrdata)
s32 IOS_Read(s32 fd, void *buf, s32 len)
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:8418
s32 IOS_ReadAsync(s32 fd, void *buf, s32 len, ipccallback ipc_cb, void *usrdata)
u32 usr_data
Definition: gx_regdef.h:5096
s32 IOS_Open(const char *filepath, u32 mode)
GLenum GLsizei len
Definition: glext.h:7389
GLsizeiptr size
Definition: glext.h:6559
void __IPC_Reinitialize(void)
void iosFree(s32 hid, void *ptr)
s32 IOS_IoctlvFormatAsync(s32 hId, s32 fd, s32 ioctl, ipccallback usr_cb, void *usr_data, const char *format,...)
s32 IOS_Write(s32 fd, const void *buf, s32 len)
void IPC_SetBufferLo(void *bufferlo)
s32 IOS_SeekAsync(s32 fd, s32 where, s32 whence, ipccallback ipc_cb, void *usrdata)
s32 iosCreateHeap(s32 size)
s32 IOS_WriteAsync(s32 fd, const void *buf, s32 len, ipccallback ipc_cb, void *usrdata)
s32 IOS_IoctlvAsync(s32 fd, s32 ioctl, s32 cnt_in, s32 cnt_io, ioctlv *argv, ipccallback ipc_cb, void *usrdata)
s32 IOS_Ioctlv(s32 fd, s32 ioctl, s32 cnt_in, s32 cnt_io, ioctlv *argv)
static s32 hId
Definition: usbkeyboard.c:77
s32 IOS_Seek(s32 fd, s32 where, s32 whence)
void * data
Definition: ipc.h:58
s32 IOS_IoctlvRebootBackground(s32 fd, s32 ioctl, s32 cnt_in, s32 cnt_io, ioctlv *argv)
static char * filepath
Definition: mpv-libretro.c:60
GLuint64EXT * result
Definition: glext.h:12211
u32 len
Definition: ipc.h:59
s32 IOS_IoctlvFormat(s32 hId, s32 fd, s32 ioctl, const char *format,...)
s32 IOS_IoctlAsync(s32 fd, s32 ioctl, void *buffer_in, s32 len_in, void *buffer_io, s32 len_io, ipccallback ipc_cb, void *usrdata)
s32 IOS_CloseAsync(s32 fd, ipccallback ipc_cb, void *usrdata)
void * iosAlloc(s32 hid, s32 size)
s32(* ipccallback)(s32 result, void *usrdata)
Definition: ipc.h:64
void IPC_SetBufferHi(void *bufferhi)
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: glext.h:6293
s32 IOS_Ioctl(s32 fd, s32 ioctl, void *buffer_in, s32 len_in, void *buffer_io, s32 len_io)
uint32_t u32
32bit unsigned integer
Definition: gctypes.h:19