O_NOCTTY
# ifdef O_NOCTTY
# define O_NOTRAVERSE O_NOCTTY
bool makeControllingTTY = (flags & O_NOCTTY) == 0;
fd = open(pty, O_RDWR|O_NOCTTY);
|| (slave = open(ttyName, O_RDWR | O_NOCTTY)) < 0) {
fd = open(pty, O_RDWR|O_NOCTTY);
int master = posix_openpt(O_RDWR | O_NOCTTY);
FLAG_INFO_ENTRY(O_NOCTTY),
p = posix_openpt(O_RDWR|O_NOCTTY);
#ifndef O_NOCTTY
t = open(line, O_RDWR|O_NOCTTY);
|| (slave = open(ttyName, O_RDWR | O_NOCTTY)) < 0) {
int fd = open(path, O_RDWR | (master ? 0 : O_NOCTTY));
SET_OPEN_MODE_FLAG(O_NOCTTY, FSSH_O_NOCTTY)