#include <oskit/fs/fs.h>oskit_error_t fs_gettime([out] oskit_timespec_t *out_tsp);
filesystem library client OS
This function returns the current time. out_tsp is a pointer to an oskit_timespec_t structure, defined as follows:oskit_time_t tv_sec; /* seconds */ oskit_s32_t tv_nsec; /* and nanoseconds */};
- out_tsp
- The current time.
Returns 0 on success, or an error code specified in <oskit/error.h>, on error.