Tizen RT Libs&Environment  v1.0 D5
time.h File Reference
#include <tinyara/config.h>
#include <sys/types.h>
#include <stdint.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.

Data Structures

struct  timespec
 structure represents an elapsed time More...
 
struct  timeval
 structure represents an elapsed time More...
 
struct  tm
 Structure containing a calendar date and time. More...
 
struct  itimerspec
 Struct itimerspec is used to define settings for an interval timer. More...
 

Macros

#define EXTERN   extern
 

Functions

int clock_settime (clockid_t clockid, FAR const struct timespec *tp)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int clock_gettime (clockid_t clockid, FAR struct timespec *tp)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int clock_getres (clockid_t clockid, FAR struct timespec *res)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
time_t mktime (FAR struct tm *tp)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
FAR struct tmgmtime (FAR const time_t *timer)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
FAR struct tmgmtime_r (FAR const time_t *timer, FAR struct tm *result)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
size_t strftime (char *s, size_t max, FAR const char *format, FAR const struct tm *tm)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
time_t time (FAR time_t *tloc)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int timer_create (clockid_t clockid, FAR struct sigevent *evp, FAR timer_t *timerid)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int timer_delete (timer_t timerid)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int timer_settime (timer_t timerid, int flags, FAR const struct itimerspec *value, FAR struct itimerspec *ovalue)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int timer_gettime (timer_t timerid, FAR struct itimerspec *value)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int nanosleep (FAR const struct timespec *rqtp, FAR struct timespec *rmtp)
 high-resolution sleep More...
 
#define CLK_TCK   (100)
 
#define CLOCKS_PER_SEC   (100)
 
#define CLOCK_REALTIME   0
 
#define TIMER_ABSTIME   1
 
#define localtime(c)   gmtime(c)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
#define localtime_r(c, r)   gmtime_r(c, r)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
typedef uint32_t time_t
 
typedef uint8_t clockid_t
 
typedef FAR void * timer_t
 

Macro Definition Documentation

#define EXTERN   extern

Definition at line 211 of file time.h.