PrestatDir

data class PrestatDir(val tag: Preopentype, val prNameLen: Size) : Prestat(source)

WASI Preview1 type $prestat_dir

The contents of a prestat when type is preopentype::dir.

Parameters

prNameLen

The length of the directory name for use with fd_prestat_dir_name.

Definition:

(typename $prestat_dir
(record
;;; The length of the directory name for use with `fd_prestat_dir_name`.
(field $pr_name_len $size)
)
)

Constructors

Link copied to clipboard
constructor(tag: Preopentype, prNameLen: Size)

Properties

Link copied to clipboard
Link copied to clipboard
open override val tag: Preopentype