summaryrefslogtreecommitdiff
path: root/src/fcntl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/fcntl.rs')
-rw-r--r--src/fcntl.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fcntl.rs b/src/fcntl.rs
index a42a2201..e5263627 100644
--- a/src/fcntl.rs
+++ b/src/fcntl.rs
@@ -267,6 +267,7 @@ pub fn fcntl(fd: RawFd, arg: FcntlArg) -> Result<c_int> {
Errno::result(res)
}
+#[derive(Clone, Copy)]
pub enum FlockArg {
LockShared,
LockExclusive,