Skip to content

Commit 864910a

Browse files
authored
Merge pull request rust-lang#329 from sateffen/master
Added linger struct
2 parents f1a3f91 + 69e89a1 commit 864910a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/unix/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,11 @@ s! {
109109
pub ws_xpixel: ::c_ushort,
110110
pub ws_ypixel: ::c_ushort,
111111
}
112+
113+
pub struct linger {
114+
pub l_onoff: ::c_int,
115+
pub l_linger: ::c_int,
116+
}
112117
}
113118

114119
pub const SIG_DFL: sighandler_t = 0 as sighandler_t;

0 commit comments

Comments
 (0)