libosmocore 1.9.0.192-1c24
Osmocom core library
timer_compat.h File Reference

Compatibility header with some helpers. More...

Go to the source code of this file.

Macros

#define timerisset(tvp)   ((tvp)->tv_sec || (tvp)->tv_usec)
 
#define timerclear(tvp)   ((tvp)->tv_sec = (tvp)->tv_usec = 0)
 
#define timercmp(a, b, CMP)
 
#define timeradd(a, b, result)
 
#define timersub(a, b, result)
 
#define timespecisset(tvp)   ((tvp)->tv_sec || (tvp)->tv_nsec)
 
#define timespecclear(tvp)   ((tvp)->tv_sec = (tvp)->tv_nsec = 0)
 
#define timespeccmp(a, b, CMP)
 
#define timespecadd(a, b, result)
 
#define timespecsub(a, b, result)
 

Detailed Description

Compatibility header with some helpers.