FD_TELL

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)))
)