Whence

WASI Preview1 type $whence

The position relative to which to set the offset of the file descriptor.

TAG: u8

Definition:

(typename $whence
(enum (@witx tag u8)
;;; Seek relative to start-of-file.
$set
;;; Seek relative to current position.
$cur
;;; Seek relative to end-of-file.
$end
)
)

Entries

Link copied to clipboard

Seek relative to start-of-file.

Link copied to clipboard

Seek relative to current position.

Link copied to clipboard

Seek relative to end-of-file.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val code: Int

Functions

Link copied to clipboard
fun valueOf(value: String): Whence

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.