Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/sys
File: timerfd.h
/* Copyright (C) 2008-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_TIMERFD_H
[17] Fix | Delete
#define _SYS_TIMERFD_H 1
[18] Fix | Delete
[19] Fix | Delete
#include <time.h>
[20] Fix | Delete
#include <bits/types/struct_itimerspec.h>
[21] Fix | Delete
[22] Fix | Delete
/* Get the platform-dependent flags. */
[23] Fix | Delete
#include <bits/timerfd.h>
[24] Fix | Delete
[25] Fix | Delete
[26] Fix | Delete
/* Bits to be set in the FLAGS parameter of `timerfd_settime'. */
[27] Fix | Delete
enum
[28] Fix | Delete
{
[29] Fix | Delete
TFD_TIMER_ABSTIME = 1 << 0,
[30] Fix | Delete
#define TFD_TIMER_ABSTIME TFD_TIMER_ABSTIME
[31] Fix | Delete
TFD_TIMER_CANCEL_ON_SET = 1 << 1
[32] Fix | Delete
#define TFD_TIMER_CANCEL_ON_SET TFD_TIMER_CANCEL_ON_SET
[33] Fix | Delete
};
[34] Fix | Delete
[35] Fix | Delete
[36] Fix | Delete
__BEGIN_DECLS
[37] Fix | Delete
[38] Fix | Delete
/* Return file descriptor for new interval timer source. */
[39] Fix | Delete
extern int timerfd_create (__clockid_t __clock_id, int __flags) __THROW;
[40] Fix | Delete
[41] Fix | Delete
/* Set next expiration time of interval timer source UFD to UTMR. If
[42] Fix | Delete
FLAGS has the TFD_TIMER_ABSTIME flag set the timeout value is
[43] Fix | Delete
absolute. Optionally return the old expiration time in OTMR. */
[44] Fix | Delete
extern int timerfd_settime (int __ufd, int __flags,
[45] Fix | Delete
const struct itimerspec *__utmr,
[46] Fix | Delete
struct itimerspec *__otmr) __THROW;
[47] Fix | Delete
[48] Fix | Delete
/* Return the next expiration time of UFD. */
[49] Fix | Delete
extern int timerfd_gettime (int __ufd, struct itimerspec *__otmr) __THROW;
[50] Fix | Delete
[51] Fix | Delete
__END_DECLS
[52] Fix | Delete
[53] Fix | Delete
#endif /* sys/timerfd.h */
[54] Fix | Delete
[55] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function