libtransistor
A userland library for the Nintendo Switch
|
Twili Services See https://github.com/misson20000/twili. More...
Go to the source code of this file.
Data Structures | |
struct | twili_pipe_t |
Functions | |
result_t | twili_init () |
Initialize Twili services. | |
result_t | twili_open_stdin (twili_pipe_t *pipe) |
Open Twili stdin. | |
result_t | twili_open_stdout (twili_pipe_t *pipe) |
Open Twili stdout. | |
result_t | twili_open_stderr (twili_pipe_t *pipe) |
Open Twili stderr. | |
result_t | twili_create_named_output_pipe (const char *name, twili_pipe_t *pipe) |
Open Twili named output pipe. | |
result_t | twili_pipe_read (twili_pipe_t *pipe, void *buffer, size_t limit, size_t *bytes_read) |
Read from a Twili pipe. | |
result_t | twili_pipe_write (twili_pipe_t *pipe, const void *buffer, size_t size) |
Write to a Twili pipe Errors if not all bytes can be written. | |
int | twili_pipe_fd (twili_pipe_t *pipe) |
Creates a file descriptor for a Twili pipe Copies and takes ownership of pipe. | |
void | twili_finalize () |
Finalize Twili services. | |
Twili Services See https://github.com/misson20000/twili.