From 3b00f37bfbb2947bce628815663924844661323f Mon Sep 17 00:00:00 2001 From: Ryan Zoeller Date: Sat, 29 Jan 2022 22:50:29 -0600 Subject: Fix typo in pread docs --- src/sys/uio.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sys/uio.rs') diff --git a/src/sys/uio.rs b/src/sys/uio.rs index a1fc8e5f..d9b3bb16 100644 --- a/src/sys/uio.rs +++ b/src/sys/uio.rs @@ -76,7 +76,7 @@ pub fn pwrite(fd: RawFd, buf: &[u8], offset: off_t) -> Result { 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 -- cgit v1.2.3