poll

package
v1.16.12 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
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

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