Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QPOLL_P_H
6
#
define
QPOLL_P_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists for the convenience
13
// of Qt code on Unix. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
QtCore
/
private
/
qglobal_p
.
h
>
20
21
QT_BEGIN_NAMESPACE
22
23
#
ifdef
QT_NO_NATIVE_POLL
24
25
#
include
<
unistd
.
h
>
26
#
include
<
time
.
h
>
27
28
struct
pollfd
{
29
int
fd
;
30
short
events
,
revents
;
31
};
32
33
typedef
unsigned
long
int
nfds_t
;
34
35
#
define
POLLIN
0x001
36
#
define
POLLPRI
0x002
37
#
define
POLLOUT
0x004
38
#
define
POLLERR
0x008
39
#
define
POLLHUP
0x010
40
#
define
POLLNVAL
0x020
41
#
define
POLLRDNORM
0x040
42
#
define
POLLRDBAND
0x080
43
#
define
POLLWRNORM
0x100
44
#
define
POLLWRBAND
0x200
45
46
#
endif
// QT_NO_NATIVE_POLL
47
48
QT_END_NAMESPACE
49
50
#
endif
// QPOLL_P_H
QSqlRelationalDelegate
\inmodule QtSql
qtbase
src
corelib
kernel
qpoll_p.h
Generated on
for Qt by
1.16.1