pub fn seek(&mut self, pos: usize) -> off_t {
        let ret = lseek(self.fd, pos as i64, SEEK_SET);
        if ret != !0 {
            self.read = pos;
        }
        ret
    }
/// Seek to a byte position in the file
Seek to a byte position in the file
Seek to a byte position in the file
pub fn seek(&mut self, pos: usize) -> off_t {
        let ret = lseek(self.fd, pos as i64, SEEK_SET);
        if ret != !0 {
            self.read = pos;
        }
        ret
    }
pub fn seek ( & mut self , pos : usize ) -> off_t { let ret = lseek ( self . fd , pos as i64 , SEEK_SET ) ; if ret != ! 0 { self . read = pos ; } ret }
Seek to a byte position in the file
Seek to a byte position in the file
&mut self
pos
usize
&mut self
pos
usize