libtransistor
A userland library for the Nintendo Switch
|
USB Serial Console. More...
#include <libtransistor/types.h>
Go to the source code of this file.
Functions | |
result_t | usb_serial_init () |
Initialize USB serial console. | |
result_t | usb_serial_write (const void *data, size_t size, size_t *bytes_written) |
Write data over the USB serial console. | |
result_t | usb_serial_read (void *data, size_t size, size_t *bytes_read) |
Read data from the USB serial console. | |
int | usb_serial_open_fd () |
Create a file descriptor for the USB serial console Does not require usb_serial_init to have been called. | |
void | usb_serial_finalize () |
Finalize USB serial console. | |
USB Serial Console.