Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/linux
File: time.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
[0] Fix | Delete
#ifndef _LINUX_TIME_H
[1] Fix | Delete
#define _LINUX_TIME_H
[2] Fix | Delete
[3] Fix | Delete
#include <linux/types.h>
[4] Fix | Delete
#include <linux/time_types.h>
[5] Fix | Delete
[6] Fix | Delete
#ifndef _STRUCT_TIMESPEC
[7] Fix | Delete
#define _STRUCT_TIMESPEC
[8] Fix | Delete
struct timespec {
[9] Fix | Delete
__kernel_time_t tv_sec; /* seconds */
[10] Fix | Delete
long tv_nsec; /* nanoseconds */
[11] Fix | Delete
};
[12] Fix | Delete
#endif
[13] Fix | Delete
[14] Fix | Delete
struct timeval {
[15] Fix | Delete
__kernel_time_t tv_sec; /* seconds */
[16] Fix | Delete
__kernel_suseconds_t tv_usec; /* microseconds */
[17] Fix | Delete
};
[18] Fix | Delete
[19] Fix | Delete
struct timezone {
[20] Fix | Delete
int tz_minuteswest; /* minutes west of Greenwich */
[21] Fix | Delete
int tz_dsttime; /* type of dst correction */
[22] Fix | Delete
};
[23] Fix | Delete
[24] Fix | Delete
/*
[25] Fix | Delete
* Names of the interval timers, and structure
[26] Fix | Delete
* defining a timer setting:
[27] Fix | Delete
*/
[28] Fix | Delete
#define ITIMER_REAL 0
[29] Fix | Delete
#define ITIMER_VIRTUAL 1
[30] Fix | Delete
#define ITIMER_PROF 2
[31] Fix | Delete
[32] Fix | Delete
struct itimerspec {
[33] Fix | Delete
struct timespec it_interval; /* timer period */
[34] Fix | Delete
struct timespec it_value; /* timer expiration */
[35] Fix | Delete
};
[36] Fix | Delete
[37] Fix | Delete
struct itimerval {
[38] Fix | Delete
struct timeval it_interval; /* timer interval */
[39] Fix | Delete
struct timeval it_value; /* current value */
[40] Fix | Delete
};
[41] Fix | Delete
[42] Fix | Delete
/*
[43] Fix | Delete
* The IDs of the various system clocks (for POSIX.1b interval timers):
[44] Fix | Delete
*/
[45] Fix | Delete
#define CLOCK_REALTIME 0
[46] Fix | Delete
#define CLOCK_MONOTONIC 1
[47] Fix | Delete
#define CLOCK_PROCESS_CPUTIME_ID 2
[48] Fix | Delete
#define CLOCK_THREAD_CPUTIME_ID 3
[49] Fix | Delete
#define CLOCK_MONOTONIC_RAW 4
[50] Fix | Delete
#define CLOCK_REALTIME_COARSE 5
[51] Fix | Delete
#define CLOCK_MONOTONIC_COARSE 6
[52] Fix | Delete
#define CLOCK_BOOTTIME 7
[53] Fix | Delete
#define CLOCK_REALTIME_ALARM 8
[54] Fix | Delete
#define CLOCK_BOOTTIME_ALARM 9
[55] Fix | Delete
/*
[56] Fix | Delete
* The driver implementing this got removed. The clock ID is kept as a
[57] Fix | Delete
* place holder. Do not reuse!
[58] Fix | Delete
*/
[59] Fix | Delete
#define CLOCK_SGI_CYCLE 10
[60] Fix | Delete
#define CLOCK_TAI 11
[61] Fix | Delete
[62] Fix | Delete
#define MAX_CLOCKS 16
[63] Fix | Delete
#define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC)
[64] Fix | Delete
#define CLOCKS_MONO CLOCK_MONOTONIC
[65] Fix | Delete
[66] Fix | Delete
/*
[67] Fix | Delete
* The various flags for setting POSIX.1b interval timers:
[68] Fix | Delete
*/
[69] Fix | Delete
#define TIMER_ABSTIME 0x01
[70] Fix | Delete
[71] Fix | Delete
#endif /* _LINUX_TIME_H */
[72] Fix | Delete
[73] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function