pub unsafe fn fd_tell(fd: Fd) -> Result<Filesize, Errno>
Expand description
Return the current offset of a file descriptor.
Note: This is similar to lseek(fd, 0, SEEK_CUR)
in POSIX.
ยงReturn
The current offset of the file descriptor, relative to the start of the file.