libnx  v4.6.0
channel.h
1 #pragma once
2 #include "types.h"
3 #include "ioctl.h"
4 
5 typedef struct NvChannel {
6  u32 fd;
7  bool has_init;
8 } NvChannel;
9 
10 Result nvChannelCreate(NvChannel* c, const char* dev);
11 void nvChannelClose(NvChannel* c);
12 
13 Result nvChannelSetPriority(NvChannel* c, NvChannelPriority prio);
14 Result nvChannelSetTimeout(NvChannel* c, u32 timeout);
Definition: channel.h:5
Various system types.
u32 Result
Function error code result type.
Definition: types.h:44
uint32_t u32
32-bit unsigned integer.
Definition: types.h:21