FD_TELL

WASI Preview1 function fd_tell

Definition:

;;; Return the current offset of a file descriptor.
;;; Note: This is similar to `lseek(fd, 0, SEEK_CUR)` in POSIX.
(@interface func (export "fd_tell")
(param $fd $fd)
;;; The current offset of the file descriptor, relative to the start of the file.
(result $error (expected $filesize (error $errno)))
)