libtransistor
A userland library for the Nintendo Switch
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
include
libtransistor
ipc
nv.h
Go to the documentation of this file.
1
6
#pragma once
7
8
#ifdef __cplusplus
9
extern
"C"
{
10
#endif
11
12
#include<
libtransistor/types.h
>
13
14
extern
result_t
nv_result;
15
extern
int
nv_errno;
16
20
result_t
nv_init
();
21
28
int
nv_open
(
const
char
*path);
29
38
int
nv_ioctl
(
int
fd, uint32_t rq,
void
*arg,
size_t
size);
39
45
int
nv_close
(
int
fd);
46
50
void
nv_finalize
();
51
52
#ifdef __cplusplus
53
}
54
#endif
types.h
Various system types.
nv_open
int nv_open(const char *path)
Open a device.
result_t
uint32_t result_t
Function result.
Definition:
types.h:51
nv_finalize
void nv_finalize()
Finalize NV service.
nv_init
result_t nv_init()
Initialize NV service.
nv_close
int nv_close(int fd)
Close the device.
nv_ioctl
int nv_ioctl(int fd, uint32_t rq, void *arg, size_t size)
Issues an ioctl on the device.
Generated on Thu Oct 3 2019 01:41:37 for libtransistor by
1.8.6