Skip to content

Commit

Permalink
revise comments
Browse files Browse the repository at this point in the history
  • Loading branch information
stlankes committed Jan 29, 2024
1 parent 1bba98b commit f0ecc4e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions hermit-abi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,12 @@ pub struct timeval {
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct pollfd {
pub fd: i32, /* file descriptor */
pub events: i16, /* events to look for */
pub revents: i16, /* events returned */
/// file descriptor
pub fd: i32,
/// events to look for
pub events: i16,
/// events returned
pub revents: i16,
}

#[repr(C)]
Expand Down

0 comments on commit f0ecc4e

Please sign in to comment.