mirror of
https://gitee.com/openharmony/third_party_rust_nix
synced 2024-12-04 13:56:30 +00:00
Fix typo in pread docs
This commit is contained in:
parent
5cd01a1fd7
commit
3b00f37bfb
@ -76,7 +76,7 @@ pub fn pwrite(fd: RawFd, buf: &[u8], offset: off_t) -> Result<usize> {
|
||||
Errno::result(res).map(|r| r as usize)
|
||||
}
|
||||
|
||||
/// Low-level write to a file, with specified offset.
|
||||
/// Low-level read from a file, with specified offset.
|
||||
///
|
||||
/// See also [pread(2)](https://pubs.opengroup.org/onlinepubs/9699919799/functions/pread.html)
|
||||
// TODO: move to unistd
|
||||
|
Loading…
Reference in New Issue
Block a user