libnx v4.9.0
Loading...
Searching...
No Matches
channel.h
1#pragma once
2#include "types.h"
3#include "ioctl.h"
4
5typedef struct NvChannel {
6 u32 fd;
7 bool has_init;
9
10Result nvChannelCreate(NvChannel* c, const char* dev);
11void nvChannelClose(NvChannel* c);
12
13Result nvChannelSetPriority(NvChannel* c, NvChannelPriority prio);
14Result 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