PollFd

class PollFd(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null) : ProxyInstance

Represents a file descriptor, which events to poll for, and which events occurred.

Skipped during bindings generation

  • field events: gushort

  • field revents: gushort

Constructors

Link copied to clipboard
constructor()

Allocate a new PollFd.

constructor(scope: <Error class: unknown class>)

Allocate a new PollFd using the provided AutofreeScope.

constructor(fd: <Error class: unknown class>)

Allocate a new PollFd.

constructor(fd: <Error class: unknown class>, scope: <Error class: unknown class>)

Allocate a new PollFd using the provided AutofreeScope.

constructor(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var fd: <Error class: unknown class>

the file descriptor to poll (or a HANDLE on Win32)

Link copied to clipboard
val glibPollFDPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open override val handle: <Error class: unknown class>?

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Compare two proxy instances for equality. This will compare both the type of the instances, and their memory addresses.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String