diff options
Diffstat (limited to 'src/unistd.rs')
-rw-r--r-- | src/unistd.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unistd.rs b/src/unistd.rs index e1a2b61e..2c2d7c66 100644 --- a/src/unistd.rs +++ b/src/unistd.rs @@ -822,6 +822,7 @@ pub fn write(fd: RawFd, buf: &[u8]) -> Result<usize> { /// [`lseek`]: ./fn.lseek.html /// [`lseek64`]: ./fn.lseek64.html #[repr(i32)] +#[derive(Clone, Copy)] pub enum Whence { /// Specify an offset relative to the start of the file. SeekSet = libc::SEEK_SET, |