Skip to content

Commit

Permalink
WIP missing illumos libc pieces for the nix crate
Browse files Browse the repository at this point in the history
  • Loading branch information
papertigers committed Dec 18, 2018
1 parent 89faefe commit 6b9b207
Show file tree
Hide file tree
Showing 2 changed files with 297 additions and 7 deletions.
2 changes: 2 additions & 0 deletions src/unix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1077,9 +1077,11 @@ extern {
pub fn tcdrain(fd: ::c_int) -> ::c_int;
pub fn cfgetispeed(termios: *const ::termios) -> ::speed_t;
pub fn cfgetospeed(termios: *const ::termios) -> ::speed_t;
#[cfg(not(target_os = "solaris"))]
pub fn cfmakeraw(termios: *mut ::termios);
pub fn cfsetispeed(termios: *mut ::termios, speed: ::speed_t) -> ::c_int;
pub fn cfsetospeed(termios: *mut ::termios, speed: ::speed_t) -> ::c_int;
#[cfg(not(target_os = "solaris"))]
pub fn cfsetspeed(termios: *mut ::termios, speed: ::speed_t) -> ::c_int;
pub fn tcgetattr(fd: ::c_int, termios: *mut ::termios) -> ::c_int;
pub fn tcsetattr(fd: ::c_int,
Expand Down
Loading

0 comments on commit 6b9b207

Please sign in to comment.