Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/sys
File: timex.h
/* Copyright (C) 1995-2018 Free Software Foundation, Inc.
[0] Fix | Delete
This file is part of the GNU C Library.
[1] Fix | Delete
[2] Fix | Delete
The GNU C Library is free software; you can redistribute it and/or
[3] Fix | Delete
modify it under the terms of the GNU Lesser General Public
[4] Fix | Delete
License as published by the Free Software Foundation; either
[5] Fix | Delete
version 2.1 of the License, or (at your option) any later version.
[6] Fix | Delete
[7] Fix | Delete
The GNU C Library is distributed in the hope that it will be useful,
[8] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[9] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[10] Fix | Delete
Lesser General Public License for more details.
[11] Fix | Delete
[12] Fix | Delete
You should have received a copy of the GNU Lesser General Public
[13] Fix | Delete
License along with the GNU C Library; if not, see
[14] Fix | Delete
<http://www.gnu.org/licenses/>. */
[15] Fix | Delete
[16] Fix | Delete
#ifndef _SYS_TIMEX_H
[17] Fix | Delete
#define _SYS_TIMEX_H 1
[18] Fix | Delete
[19] Fix | Delete
#include <features.h>
[20] Fix | Delete
#include <sys/time.h>
[21] Fix | Delete
[22] Fix | Delete
/* These definitions from linux/timex.h as of 2.6.30. */
[23] Fix | Delete
[24] Fix | Delete
#include <bits/timex.h>
[25] Fix | Delete
[26] Fix | Delete
#define NTP_API 4 /* NTP API version */
[27] Fix | Delete
[28] Fix | Delete
struct ntptimeval
[29] Fix | Delete
{
[30] Fix | Delete
struct timeval time; /* current time (ro) */
[31] Fix | Delete
long int maxerror; /* maximum error (us) (ro) */
[32] Fix | Delete
long int esterror; /* estimated error (us) (ro) */
[33] Fix | Delete
long int tai; /* TAI offset (ro) */
[34] Fix | Delete
[35] Fix | Delete
long int __glibc_reserved1;
[36] Fix | Delete
long int __glibc_reserved2;
[37] Fix | Delete
long int __glibc_reserved3;
[38] Fix | Delete
long int __glibc_reserved4;
[39] Fix | Delete
};
[40] Fix | Delete
[41] Fix | Delete
/* Clock states (time_state) */
[42] Fix | Delete
#define TIME_OK 0 /* clock synchronized, no leap second */
[43] Fix | Delete
#define TIME_INS 1 /* insert leap second */
[44] Fix | Delete
#define TIME_DEL 2 /* delete leap second */
[45] Fix | Delete
#define TIME_OOP 3 /* leap second in progress */
[46] Fix | Delete
#define TIME_WAIT 4 /* leap second has occurred */
[47] Fix | Delete
#define TIME_ERROR 5 /* clock not synchronized */
[48] Fix | Delete
#define TIME_BAD TIME_ERROR /* bw compat */
[49] Fix | Delete
[50] Fix | Delete
/* Maximum time constant of the PLL. */
[51] Fix | Delete
#define MAXTC 6
[52] Fix | Delete
[53] Fix | Delete
__BEGIN_DECLS
[54] Fix | Delete
[55] Fix | Delete
extern int __adjtimex (struct timex *__ntx) __THROW;
[56] Fix | Delete
extern int adjtimex (struct timex *__ntx) __THROW;
[57] Fix | Delete
[58] Fix | Delete
#ifdef __REDIRECT_NTH
[59] Fix | Delete
extern int __REDIRECT_NTH (ntp_gettime, (struct ntptimeval *__ntv),
[60] Fix | Delete
ntp_gettimex);
[61] Fix | Delete
#else
[62] Fix | Delete
extern int ntp_gettimex (struct ntptimeval *__ntv) __THROW;
[63] Fix | Delete
# define ntp_gettime ntp_gettimex
[64] Fix | Delete
#endif
[65] Fix | Delete
extern int ntp_adjtime (struct timex *__tntx) __THROW;
[66] Fix | Delete
[67] Fix | Delete
__END_DECLS
[68] Fix | Delete
[69] Fix | Delete
#endif /* sys/timex.h */
[70] Fix | Delete
[71] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function