posix-next API 0.1.0
Out-of-tree Zephyr POSIX module
Loading...
Searching...
No Matches
time.h File Reference

POSIX time-of-day types and functions (<sys/time.h>) More...

#include <sys/select.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.

Functions

int gettimeofday (struct timeval *tv, void *tz)
 Get the current time with microsecond resolution.
 
int utimes (const char *path, const struct timeval times[2])
 Set file access and modification times (obsolescent).
 
int settimeofday (const struct timeval *tv, const void *tz)
 Set the current time (legacy; removed from POSIX.1-2001).
 

Detailed Description

POSIX time-of-day types and functions (<sys/time.h>)

See also
POSIX.1-2017 <sys/time.h>

Definition in file time.h.