FD_CLOSE
WASI Preview1 function fd_close
Definition:
;;; Close a file descriptor.
;;; Note: This is similar to `close` in POSIX.
(@interface func (export "fd_close")
(param $fd $fd)
(result $error (expected (error $errno)))
)
Content copied to clipboard