Skip to content

Commit

Permalink
Fix typo in pread docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rtzoeller committed Jan 30, 2022
1 parent 5cd01a1 commit 3b00f37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sys/uio.rs
Original file line number Diff line number Diff line change
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 3b00f37

Please sign in to comment.