Skip to content

Commit f2942c6

Browse files
Define struct flock64 for riscv64-linux-gnu
1 parent 01ca4a4 commit f2942c6

File tree

1 file changed

+8
-0
lines changed
  • src/unix/linux_like/linux/gnu/b64/riscv64

1 file changed

+8
-0
lines changed

src/unix/linux_like/linux/gnu/b64/riscv64/mod.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,14 @@ s! {
205205
pub l_len: ::off_t,
206206
pub l_pid: ::pid_t,
207207
}
208+
209+
pub struct flock64 {
210+
pub l_type: ::c_short,
211+
pub l_whence: ::c_short,
212+
pub l_start: ::off64_t,
213+
pub l_len: ::off64_t,
214+
pub l_pid: ::pid_t,
215+
}
208216
}
209217

210218
pub const POSIX_FADV_DONTNEED: ::c_int = 4;

0 commit comments

Comments
 (0)