Skip to content
Snippets Groups Projects
Commit 77e0da5e authored by bors's avatar bors
Browse files

Auto merge of #635 - Susurrus:termios_again, r=alexcrichton

Finish off termios (hopefully!)

`cfmakesane` for FreeBSD and `tcgetsid` for everyone!
parents 83f5543e e591c6f0
No related branches found
No related tags found
No related merge requests found
......@@ -576,6 +576,7 @@ extern {
msgtyp: ::c_long, msgflg: ::c_int) -> ::c_int;
pub fn msgsnd(msqid: ::c_int, msgp: *const ::c_void, msgsz: ::size_t,
msgflg: ::c_int) -> ::c_int;
pub fn cfmakesane(termios: *mut ::termios);
}
cfg_if! {
......
......@@ -863,6 +863,7 @@ extern {
termios: *const ::termios) -> ::c_int;
pub fn tcflow(fd: ::c_int, action: ::c_int) -> ::c_int;
pub fn tcflush(fd: ::c_int, action: ::c_int) -> ::c_int;
pub fn tcgetsid(fd: ::c_int) -> ::pid_t;
pub fn tcsendbreak(fd: ::c_int, duration: ::c_int) -> ::c_int;
pub fn mkstemp(template: *mut ::c_char) -> ::c_int;
pub fn mkdtemp(template: *mut ::c_char) -> *mut ::c_char;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment