pwrite64

Function pwrite64 

Source
pub fn pwrite64(fd: usize, buf: *const u8, count: usize, offset: i64) -> isize
Expand description

位置写入:向指定位置写入数据,不改变文件偏移量

§参数

  • fd: 文件描述符
  • buf: 要写入的数据缓冲区
  • count: 要写入的字节数
  • offset: 文件偏移量