ReactOS  0.4.14-dev-49-gfb4591c
time.h File Reference
#include <time.h>
#include <sys/timeb.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.

Classes

struct  timeval
 
struct  timezone
 

Macros

#define _TIMEVAL_DEFINED
 
#define timerisset(tvp)   ((tvp)->tv_sec || (tvp)->tv_usec)
 
#define timercmp(tvp, uvp, cmp)
 
#define timerclear(tvp)   (tvp)->tv_sec = (tvp)->tv_usec = 0
 
#define _TIMEZONE_DEFINED
 
#define _GETTIMEOFDAY_DEFINED
 

Functions

int __cdecl mingw_gettimeofday (struct timeval *p, struct timezone *z)
 
int __cdecl gettimeofday (struct timeval *__restrict__, void *__restrict__)
 

Macro Definition Documentation

◆ _GETTIMEOFDAY_DEFINED

#define _GETTIMEOFDAY_DEFINED

Definition at line 54 of file time.h.

◆ _TIMEVAL_DEFINED

#define _TIMEVAL_DEFINED

This file has no copyright assigned and is placed in the Public Domain. This file is part of the w64 mingw-runtime package. No warranty is given; refer to the file DISCLAIMER within this package.

Definition at line 18 of file time.h.

◆ _TIMEZONE_DEFINED

#define _TIMEZONE_DEFINED

Definition at line 32 of file time.h.

◆ timerclear

#define timerclear (   tvp)    (tvp)->tv_sec = (tvp)->tv_usec = 0

Definition at line 28 of file time.h.

◆ timercmp

#define timercmp (   tvp,
  uvp,
  cmp 
)
Value:
(((tvp)->tv_sec != (uvp)->tv_sec) ? \
((tvp)->tv_sec cmp (uvp)->tv_sec) : \
((tvp)->tv_usec cmp (uvp)->tv_usec))
#define cmp(status, error)
Definition: error.c:114

Definition at line 24 of file time.h.

◆ timerisset

#define timerisset (   tvp)    ((tvp)->tv_sec || (tvp)->tv_usec)

Definition at line 23 of file time.h.

Function Documentation

◆ gettimeofday()

int __cdecl gettimeofday ( struct timeval __restrict__,
void __restrict__ 
)

◆ mingw_gettimeofday()

int __cdecl mingw_gettimeofday ( struct timeval p,
struct timezone z 
)