Skip to content

Commit e591c6f

Browse files
committed
Add tcfgetsid for all unices
1 parent 17936dc commit e591c6f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -863,6 +863,7 @@ extern {
863863
termios: *const ::termios) -> ::c_int;
864864
pub fn tcflow(fd: ::c_int, action: ::c_int) -> ::c_int;
865865
pub fn tcflush(fd: ::c_int, action: ::c_int) -> ::c_int;
866+
pub fn tcgetsid(fd: ::c_int) -> ::pid_t;
866867
pub fn tcsendbreak(fd: ::c_int, duration: ::c_int) -> ::c_int;
867868
pub fn mkstemp(template: *mut ::c_char) -> ::c_int;
868869
pub fn mkdtemp(template: *mut ::c_char) -> *mut ::c_char;

0 commit comments

Comments
 (0)