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

Function sync

src/backend/linux_raw/fs/syscalls.rs:483–485  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

481
482#[inline]
483pub(crate) fn sync() {
484 unsafe { ret_infallible(syscall_readonly!(__NR_sync)) }
485}
486
487#[inline]
488pub(crate) fn fstat(fd: BorrowedFd<'_>) -> io::Result<Stat> {

Callers

nothing calls this directly

Calls 1

ret_infallibleFunction · 0.50

Tested by

no test coverage detected