poll

package
v1.11.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2021 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	POLLERR            = 0x008
	POLLHUP            = 0x010
	POLLIN             = 0x001
	POLLNVAL           = 0x020
	POLLOUT            = 0x004
	POLLPRI            = 0x002
	POLLRDBAND         = 0x080
	POLLRDNORM         = 0x040
	POLLWRBAND         = 0x200
	POLLWRNORM         = 0x100
	X_ATFILE_SOURCE    = 1
	X_DEFAULT_SOURCE   = 1
	X_FEATURES_H       = 1
	X_FILE_OFFSET_BITS = 64
	X_LP64             = 1
	X_POSIX_C_SOURCE   = 200809
	X_POSIX_SOURCE     = 1
	X_STDC_PREDEF_H    = 1
	X_SYS_CDEFS_H      = 1
	X_SYS_POLL_H       = 1
	Linux              = 1
	Unix               = 1
)

Variables

View Source
var CAPI = map[string]struct{}{}

Functions

This section is empty.

Types

type Nfds_t

type Nfds_t = uint64 /* poll.h:33:27 */

Type used for the number of file descriptors.

type Pollfd

type Pollfd = struct {
	Ffd      int32
	Fevents  int16
	Frevents int16

} /* poll.h:36:1 */

Data structure describing a polling request.

type Ptrdiff_t

type Ptrdiff_t = int64 /* <builtin>:3:26 */

type Size_t

type Size_t = uint64 /* <builtin>:9:23 */

type Wchar_t

type Wchar_t = int32 /* <builtin>:15:24 */

type X__builtin_va_list

type X__builtin_va_list = uintptr /* <builtin>:46:14 */

type X__float128

type X__float128 = float64 /* <builtin>:47:21 */

type X__int128_t

type X__int128_t = struct {
	Flo int64
	Fhi int64

} /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128

type X__uint128_t

type X__uint128_t = struct {
	Flo uint64
	Fhi uint64

} /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL