Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qpoll_p.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#ifndef QPOLL_P_H
5
#define QPOLL_P_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists for the convenience
12
// of Qt code on Unix. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#include <QtCore/private/qglobal_p.h>
19
20
QT_BEGIN_NAMESPACE
21
22
#ifdef QT_NO_NATIVE_POLL
23
24
#include <unistd.h>
25
#include <time.h>
26
27
struct
pollfd {
28
int
fd
;
29
short
events, revents;
30
};
31
32
typedef
unsigned
long
int
nfds_t;
33
34
#define POLLIN 0x001
35
#define POLLPRI 0x002
36
#define POLLOUT 0x004
37
#define POLLERR 0x008
38
#define POLLHUP 0x010
39
#define POLLNVAL 0x020
40
#define POLLRDNORM 0x040
41
#define POLLRDBAND 0x080
42
#define POLLWRNORM 0x100
43
#define POLLWRBAND 0x200
44
45
#endif
// QT_NO_NATIVE_POLL
46
47
QT_END_NAMESPACE
48
49
#endif
// QPOLL_P_H
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
fd
GLuint64 GLenum GLint fd
Definition
qopengles2ext.h:1558
qtbase
src
corelib
kernel
qpoll_p.h
Generated by
1.10.0