Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/bits
File: poll.h
/* Copyright (C) 1997-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_POLL_H
[17] Fix | Delete
# error "Never use <bits/poll.h> directly; include <sys/poll.h> instead."
[18] Fix | Delete
#endif
[19] Fix | Delete
[20] Fix | Delete
/* Event types that can be polled for. These bits may be set in `events'
[21] Fix | Delete
to indicate the interesting event types; they will appear in `revents'
[22] Fix | Delete
to indicate the status of the file descriptor. */
[23] Fix | Delete
#define POLLIN 0x001 /* There is data to read. */
[24] Fix | Delete
#define POLLPRI 0x002 /* There is urgent data to read. */
[25] Fix | Delete
#define POLLOUT 0x004 /* Writing now will not block. */
[26] Fix | Delete
[27] Fix | Delete
#if defined __USE_XOPEN || defined __USE_XOPEN2K8
[28] Fix | Delete
/* These values are defined in XPG4.2. */
[29] Fix | Delete
# define POLLRDNORM 0x040 /* Normal data may be read. */
[30] Fix | Delete
# define POLLRDBAND 0x080 /* Priority data may be read. */
[31] Fix | Delete
# define POLLWRNORM 0x100 /* Writing now will not block. */
[32] Fix | Delete
# define POLLWRBAND 0x200 /* Priority data may be written. */
[33] Fix | Delete
#endif
[34] Fix | Delete
[35] Fix | Delete
#ifdef __USE_GNU
[36] Fix | Delete
/* These are extensions for Linux. */
[37] Fix | Delete
# define POLLMSG 0x400
[38] Fix | Delete
# define POLLREMOVE 0x1000
[39] Fix | Delete
# define POLLRDHUP 0x2000
[40] Fix | Delete
#endif
[41] Fix | Delete
[42] Fix | Delete
/* Event types always implicitly polled for. These bits need not be set in
[43] Fix | Delete
`events', but they will appear in `revents' to indicate the status of
[44] Fix | Delete
the file descriptor. */
[45] Fix | Delete
#define POLLERR 0x008 /* Error condition. */
[46] Fix | Delete
#define POLLHUP 0x010 /* Hung up. */
[47] Fix | Delete
#define POLLNVAL 0x020 /* Invalid polling request. */
[48] Fix | Delete
[49] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function