MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / tell

Function tell

src/backend/linux_raw/fs/syscalls.rs:280–282  ·  view source on GitHub ↗
(fd: BorrowedFd<'_>)

Source from the content-addressed store, hash-verified

278
279#[inline]
280pub(crate) fn tell(fd: BorrowedFd<'_>) -> io::Result<u64> {
281 _seek(fd, 0, SEEK_CUR).map(|x| x as u64)
282}
283
284#[inline]
285pub(crate) fn ftruncate(fd: BorrowedFd<'_>, length: u64) -> io::Result<()> {

Callers

nothing calls this directly

Calls 1

_seekFunction · 0.85

Tested by

no test coverage detected