pub fn sys_fsync(&self, fd: FileDesc) -> SysResult {
        info!("fsync: fd={:?}", fd);
        let proc = self.linux_process();
        proc.get_file(fd)?.sync_all()?;
        Ok(0)
    }
/// transfers ("flushes") all modified in-core data of (i.e., modified buffer cache pages for) the file
/// referred to by the file descriptor fd to the disk device
transfers ("flushes") all modified in-core data of  the file
referred to by the file descriptor fd to the disk device
transfers ( " flushes " ) all modified in - core data of the file referred to by the file descriptor fd to the disk device
pub fn sys_fsync(&self, fd: FileDesc) -> SysResult {
        info!("fsync: fd={:?}", fd);
        let proc = self.linux_process();
        proc.get_file(fd)?.sync_all()?;
        Ok(0)
    }
pub fn sys_fsync ( & self , fd : FileDesc ) -> SysResult { info ! ( " " fd ) ; let proc = self . linux_process ( ) ; proc . get_file ( fd ) ? . sync_all ( ) ? ; Ok ( 0 ) }
transfers ("flushes") all modified in-core data of (i.e., modified buffer cache pages for) the file
referred to by the file descriptor fd to the disk device
transfers ( " flushes " ) all modified in - core data of ( i . e . modified buffer cache pages for ) the file referred to by the file descriptor fd to the disk device
&self
fd
FileDesc
&self
fd
FileDesc