Skip to content

Commit

Permalink
Auto merge of #24306 - l0kod:libc-noctty, r=alexcrichton
Browse files Browse the repository at this point in the history
cf. open(2): If the open file refers to a terminal device it will not become the process's controlling terminal even if the process does not have one.
  • Loading branch information
bors committed Apr 16, 2015
2 parents 288809c + 008b3de commit 798fa22
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/liblibc/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2856,6 +2856,7 @@ pub mod consts {
pub const O_APPEND : c_int = 1024;
pub const O_CREAT : c_int = 64;
pub const O_EXCL : c_int = 128;
pub const O_NOCTTY : c_int = 256;
pub const O_TRUNC : c_int = 512;
pub const S_IFIFO : mode_t = 4096;
pub const S_IFCHR : mode_t = 8192;
Expand Down Expand Up @@ -3077,6 +3078,7 @@ pub mod consts {
pub const O_APPEND : c_int = 8;
pub const O_CREAT : c_int = 256;
pub const O_EXCL : c_int = 1024;
pub const O_NOCTTY : c_int = 2048;
pub const O_TRUNC : c_int = 512;
pub const S_IFIFO : mode_t = 4096;
pub const S_IFCHR : mode_t = 8192;
Expand Down Expand Up @@ -3824,6 +3826,7 @@ pub mod consts {
pub const O_APPEND : c_int = 8;
pub const O_CREAT : c_int = 512;
pub const O_EXCL : c_int = 2048;
pub const O_NOCTTY : c_int = 32768;
pub const O_TRUNC : c_int = 1024;
pub const S_IFIFO : mode_t = 4096;
pub const S_IFCHR : mode_t = 8192;
Expand Down Expand Up @@ -4278,6 +4281,7 @@ pub mod consts {
pub const O_APPEND : c_int = 8;
pub const O_CREAT : c_int = 512;
pub const O_EXCL : c_int = 2048;
pub const O_NOCTTY : c_int = 32768;
pub const O_TRUNC : c_int = 1024;
pub const S_IFIFO : mode_t = 4096;
pub const S_IFCHR : mode_t = 8192;
Expand Down Expand Up @@ -4698,6 +4702,7 @@ pub mod consts {
pub const O_APPEND : c_int = 8;
pub const O_CREAT : c_int = 512;
pub const O_EXCL : c_int = 2048;
pub const O_NOCTTY : c_int = 131072;
pub const O_TRUNC : c_int = 1024;
pub const S_IFIFO : mode_t = 4096;
pub const S_IFCHR : mode_t = 8192;
Expand Down

0 comments on commit 798fa22

Please sign in to comment.