2023-05-20 12:05:22 +02:00
|
|
|
/* bits/timespec.h: The timespec and timeval structures. */
|
2023-01-07 11:21:53 +01:00
|
|
|
|
2023-01-07 00:21:08 +01:00
|
|
|
#ifndef _BITS_TIMESPEC_H
|
|
|
|
#define _BITS_TIMESPEC_H
|
|
|
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
|
|
|
struct timespec
|
|
|
|
{
|
|
|
|
time_t tv_sec;
|
|
|
|
long tv_nsec;
|
|
|
|
};
|
|
|
|
|
2023-05-20 12:05:22 +02:00
|
|
|
struct timeval
|
|
|
|
{
|
|
|
|
time_t tv_sec;
|
|
|
|
suseconds_t tv_usec;
|
|
|
|
};
|
|
|
|
|
2023-01-07 00:21:08 +01:00
|
|
|
#endif
|