poll
v1.82.14
modernc.org/libc/poll
Documentation
pkg.go.dev ↗Constants
POLLERR (22 declarations)
const ( POLLERR = 0x008 // poll.h:47:1: POLLHUP = 0x010 // poll.h:48:1: POLLIN = 0x001 // poll.h:25:1: POLLNVAL = 0x020 // poll.h:49:1: POLLOUT = 0x004 // poll.h:27:1: POLLPRI = 0x002 // poll.h:26:1: POLLRDBAND = 0x080 // poll.h:32:1: POLLRDNORM = 0x040 // poll.h:31:1: POLLWRBAND = 0x200 // poll.h:34:1: POLLWRNORM = 0x100 // poll.h:33:1: X_ATFILE_SOURCE = 1 // features.h:342:1: X_DEFAULT_SOURCE = 1 // features.h:227:1: X_FEATURES_H = 1 // features.h:19:1: X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: X_LP64 = 1 // <predefined>:284:1: X_POSIX_C_SOURCE = 200809 // features.h:281:1: X_POSIX_SOURCE = 1 // features.h:279:1: X_STDC_PREDEF_H = 1 // <predefined>:162:1: X_SYS_CDEFS_H = 1 // cdefs.h:19:1: X_SYS_POLL_H = 1 // poll.h:20:1: Linux = 1 // <predefined>:231:1: Unix = 1 // <predefined>:177:1: )
Variables
CAPI
var CAPI = map[string]struct{}{}
Types
Nfds_t
type Nfds_t = uint64 /* poll.h:33:27 */
Type used for the number of file descriptors.
Pollfd
type Pollfd = struct {
Ffd int32
Fevents int16
Frevents int16
} /* poll.h:36:1 */
Data structure describing a polling request.
Ptrdiff_t
type Ptrdiff_t = int64 /* <builtin>:3:26 */
Size_t
type Size_t = uint64 /* <builtin>:9:23 */
Wchar_t
type Wchar_t = int32 /* <builtin>:15:24 */
X__builtin_va_list
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
X__float128
type X__float128 = float64 /* <builtin>:47:21 */
X__int128_t
type X__int128_t = struct {
Flo int64
Fhi int64
} /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
X__uint128_t
type X__uint128_t = struct {
Flo uint64
Fhi uint64
} /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128