libtransistor
A userland library for the Nintendo Switch
|
Time Services. More...
#include <libtransistor/types.h>
Go to the source code of this file.
Typedefs | |
typedef struct system_clock_t | system_clock_t |
Functions | |
result_t | time_init () |
Initialize Time service. | |
result_t | time_system_clock_get_current_time (system_clock_t *system_clock, uint64_t *time) |
Get the current system time from one of the system clocks. | |
result_t | time_system_clock_set_current_time (system_clock_t *system_clock, uint64_t time) |
Set the current system time for one of the system clocks. | |
void | time_finalize () |
Finalize Time service. | |
Variables | |
system_clock_t * | time_system_clock_user |
system_clock_t * | time_system_clock_network |
system_clock_t * | time_system_clock_local |
Time Services.