libtransistor
A userland library for the Nintendo Switch
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Typedefs | Functions | Variables
time.h File Reference

Time Services. More...

#include <libtransistor/types.h>
Include dependency graph for time.h:
This graph shows which files directly or indirectly include this file:

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
 

Detailed Description

Time Services.