next up previous contents index
Next: 7.7.7 fs_tsleep: Wait for Up: 7.7 Dependencies on the Previous: 7.7.5 fs_panic: Cleanup and

7.7.6 fs_gettime: Get the current time

 

SYNOPSIS

#include <oskit/fs/fs.h>

oskit_error_t fs_gettime([out] oskit_timespec_t *out_tsp);

DIRECTION

filesystem library tex2html_wrap_inline32841 client OS

DESCRIPTION

This function returns the current time. out_tsp is a pointer to an oskit_timespec_t structure, defined as follows:

struct oskit_timespec  {

		oskit_time_t	tv_sec;		/* seconds */
		oskit_s32_t	tv_nsec;	/* and nanoseconds */
	 
};

PARAMETERS

out_tsp
The current time.

RETURNS

Returns 0 on success, or an error code specified in <oskit/error.h>, on error.



University of Utah Flux Research Group