mirror of
https://github.com/openharmony/third_party_rust_nix.git
synced 2026-07-01 21:24:00 -04:00
Merge #1651
1651: Fix typo in pread docs r=rtzoeller a=rtzoeller Fixes #1648. Co-authored-by: Ryan Zoeller <rtzoeller@rtzoeller.com>
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user