ReactOS  0.4.12-dev-934-g9a4676f
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.


struct  timeval
struct  timezone


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


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

Macro Definition Documentation



Definition at line 54 of file time.h.



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.



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,
(((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