Skip to content

Commit 2143ffe

Browse files
bors[bot]rtzoeller
andauthored
Merge #1651
1651: Fix typo in pread docs r=rtzoeller a=rtzoeller Fixes #1648. Co-authored-by: Ryan Zoeller <rtzoeller@rtzoeller.com>
2 parents 5cd01a1 + 3b00f37 commit 2143ffe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sys/uio.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ pub fn pwrite(fd: RawFd, buf: &[u8], offset: off_t) -> Result<usize> {
7676
Errno::result(res).map(|r| r as usize)
7777
}
7878

79-
/// Low-level write to a file, with specified offset.
79+
/// Low-level read from a file, with specified offset.
8080
///
8181
/// See also [pread(2)](https://pubs.opengroup.org/onlinepubs/9699919799/functions/pread.html)
8282
// TODO: move to unistd

0 commit comments

Comments
 (0)