From 629418435556641ef953964a5b5901759362f9a3 Mon Sep 17 00:00:00 2001 From: equal-l2 Date: Mon, 19 Jun 2017 16:27:55 +0900 Subject: [PATCH] Add O_TTY_INIT for FreeBSD --- src/unix/bsd/freebsdlike/freebsd/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/unix/bsd/freebsdlike/freebsd/mod.rs b/src/unix/bsd/freebsdlike/freebsd/mod.rs index 92375dbb..fa32eefb 100644 --- a/src/unix/bsd/freebsdlike/freebsd/mod.rs +++ b/src/unix/bsd/freebsdlike/freebsd/mod.rs @@ -141,6 +141,7 @@ pub const SF_SYNC: ::c_int = 0x00000004; pub const O_CLOEXEC: ::c_int = 0x00100000; pub const O_DIRECTORY: ::c_int = 0x00020000; pub const O_EXEC: ::c_int = 0x00040000; +pub const O_TTY_INIT: ::c_int = 0x00080000; pub const F_GETLK: ::c_int = 11; pub const F_SETLK: ::c_int = 12; pub const F_SETLKW: ::c_int = 13;