Skip to content

Commit

Permalink
Merge #1651
Browse files Browse the repository at this point in the history
1651: Fix typo in pread docs r=rtzoeller a=rtzoeller

Fixes #1648.

Co-authored-by: Ryan Zoeller <rtzoeller@rtzoeller.com>
  • Loading branch information
bors[bot] and rtzoeller committed Jan 30, 2022
2 parents 5cd01a1 + 3b00f37 commit 2143ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sys/uio.rs
Expand Up @@ -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
Expand Down

0 comments on commit 2143ffe

Please sign in to comment.