Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
Merge pull request #86 from satabin/wasi/export-clock-functions
Browse files Browse the repository at this point in the history
Export clock functions
  • Loading branch information
satabin committed Jul 11, 2020
2 parents a4bae3e + 04407c8 commit 7112f80
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions wasi/src/swam/runtime/wasi/Wasi.scala
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ abstract class Wasi[@effect F[_]] {
@effectful(name = "args_sizes_get")
def argsSizesGet(argc: Pointer, argvBufSize: Pointer): F[Errno]

@effectful(name = "clock_res_get")
def clockResGet(id: Clockid, resolution: Pointer): F[Errno]

@effectful(name = "clock_time_get")
def clockTimeGet(id: Clockid, precision: Timestamp, time: Pointer): F[Errno]

@effectful(name = "environ_get")
def environGet(environ: Pointer, buf: Pointer): F[Errno]

Expand Down

0 comments on commit 7112f80

Please sign in to comment.