package
1.9.0
Repository: https://github.com/tetratelabs/wazero.git
Documentation: pkg.go.dev

# Functions

NewStat_t fills a new Stat_t from `info`, including any runtime.GOOS-specific details from fs.FileInfo `Sys`.

# Constants

ExitCodeContextCanceled corresponds to context.Canceled and returned by ExitError.ExitCode in that case.
ExitCodeDeadlineExceeded corresponds to context.DeadlineExceeded and returned by ExitError.ExitCode in that case.

# Structs

ExitError is returned to a caller of api.Function when api.Module CloseWithExitCode was invoked, or context.Context passed to api.Function Call was canceled or reached the Timeout.
Stat_t is similar to syscall.Stat_t, except available on all operating systems, including Windows.

# Type aliases

ClockResolution is a positive granularity of clock precision in nanoseconds.
EpochNanos is a timestamp in epoch nanoseconds, or zero if unknown.
Inode is the file serial number, or zero if unknown.
Nanosleep puts the current goroutine to sleep for at least ns nanoseconds.
Nanotime returns nanoseconds since an arbitrary start point, used to measure elapsed time.
Osyield yields the processor, typically to implement spin-wait loops.
Walltime returns the current unix/epoch time, seconds since midnight UTC 1 January 1970, with a nanosecond fraction.