Skip to content

Commit

Permalink
Add structures for freebsd
Browse files Browse the repository at this point in the history
  • Loading branch information
Жунёва Мария Михайловна committed Jun 21, 2024
1 parent 7d7151c commit be0937f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/unix/bsd/freebsdlike/freebsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,22 @@ s! {
pub sem_flg: ::c_short,
}

pub struct input_event {
pub time: ::timeval,
pub type_: ::u_short,
pub code: ::u_short,
pub value: ::c_int,
}

pub struct input_absinfo {
pub value: ::c_int,
pub minimum: ::c_int,
pub maximum: ::c_int,
pub fuzz: ::c_int,
pub flat: ::c_int,
pub resolution: ::c_int,
}

pub struct msqid_ds {
pub msg_perm: ::ipc_perm,
__unused1: *mut ::c_void,
Expand Down

0 comments on commit be0937f

Please sign in to comment.