pwrite
写入起始地址的偏移量,写入地址=文件开始+offset
注意:执行后,文件偏移指针不变
ssize_t pread(int fd, void *buf, size_t count, off_t offset);
ssize_t pwrite(int fd, const void *buf, size_t count, off_t offset);
写入起始地址的偏移量,写入地址=文件开始+offset
注意:执行后,文件偏移指针不变
ssize_t pread(int fd, void *buf, size_t count, off_t offset);
ssize_t pwrite(int fd, const void *buf, size_t count, off_t offset);