version 1.31, 2018/10/30 16:28:42 |
version 1.32, 2022/10/25 16:30:30 |
|
|
#include <sys/cdefs.h> |
#include <sys/cdefs.h> |
#include <sys/_null.h> |
#include <sys/_null.h> |
#include <sys/_types.h> |
#include <sys/_types.h> |
|
#include <sys/_time.h> |
|
|
#ifndef _CLOCK_T_DEFINED_ |
#ifndef _CLOCK_T_DEFINED_ |
#define _CLOCK_T_DEFINED_ |
#define _CLOCK_T_DEFINED_ |
|
|
#define CLK_TCK 100 |
#define CLK_TCK 100 |
#endif |
#endif |
|
|
#define CLOCKS_PER_SEC 100 /* frequency of ticks reported by clock(). */ |
|
|
|
#if __POSIX_VISIBLE >= 199309 || __ISO_C_VISIBLE >= 2011 |
|
#ifndef _TIMESPEC_DECLARED |
|
#define _TIMESPEC_DECLARED |
|
struct timespec { |
|
time_t tv_sec; /* seconds */ |
|
long tv_nsec; /* and nanoseconds */ |
|
}; |
|
#endif |
|
#endif |
|
|
|
#if __POSIX_VISIBLE >= 199309 |
#if __POSIX_VISIBLE >= 199309 |
#include <sys/_time.h> |
|
|
|
#ifndef _CLOCKID_T_DEFINED_ |
#ifndef _CLOCKID_T_DEFINED_ |
#define _CLOCKID_T_DEFINED_ |
#define _CLOCKID_T_DEFINED_ |
typedef __clockid_t clockid_t; |
typedef __clockid_t clockid_t; |