/dports/security/gnome-ssh-askpass/openssh-6.6p1/openbsd-compat/ |
H A D | bsd-openpty.c | 68 #ifndef O_NOCTTY 69 #define O_NOCTTY 0 macro 87 if ((*aslave = open(slave, O_RDWR | O_NOCTTY)) == -1) { in openpty() 102 if ((ptm = open("/dev/ptmx", O_RDWR | O_NOCTTY)) == -1) in openpty() 119 if ((*aslave = open(pts, O_RDWR | O_NOCTTY)) == -1) { in openpty() 144 if ((*aslave = open(ttname, O_RDWR | O_NOCTTY)) == -1) { in openpty() 164 if ((*amaster = open(ptbuf, O_RDWR|O_NOCTTY)) == -1) in openpty() 167 if ((*aslave = open(ttbuf, O_RDWR|O_NOCTTY)) == -1) { in openpty() 192 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1) { in openpty() 196 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1) in openpty() [all …]
|
/dports/security/pam_ssh_agent_auth/pam_ssh_agent_auth-7ff7858/openbsd-compat/ |
H A D | bsd-openpty.c | 68 #ifndef O_NOCTTY 69 #define O_NOCTTY 0 macro 87 if ((*aslave = open(slave, O_RDWR | O_NOCTTY)) == -1) { in openpty() 102 if ((ptm = open("/dev/ptmx", O_RDWR | O_NOCTTY)) == -1) in openpty() 119 if ((*aslave = open(pts, O_RDWR | O_NOCTTY)) == -1) { in openpty() 144 if ((*aslave = open(ttname, O_RDWR | O_NOCTTY)) == -1) { in openpty() 164 if ((*amaster = open(ptbuf, O_RDWR|O_NOCTTY)) == -1) in openpty() 167 if ((*aslave = open(ttbuf, O_RDWR|O_NOCTTY)) == -1) { in openpty() 192 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1) { in openpty() 196 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1) in openpty() [all …]
|
/dports/security/openssh-portable/openssh-8.8p1/openbsd-compat/ |
H A D | bsd-openpty.c | 70 #ifndef O_NOCTTY 71 #define O_NOCTTY 0 macro 89 if ((*aslave = open(slave, O_RDWR | O_NOCTTY)) == -1) { in openpty() 104 if ((ptm = open("/dev/ptmx", O_RDWR | O_NOCTTY)) == -1) in openpty() 121 if ((*aslave = open(pts, O_RDWR | O_NOCTTY)) == -1) { in openpty() 151 if ((*amaster = open("/dev/ptc", O_RDWR | O_NOCTTY)) == -1) in openpty() 155 if ((*aslave = open(ttname, O_RDWR | O_NOCTTY)) == -1) { in openpty() 178 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1) { in openpty() 182 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1) in openpty() 187 if ((*aslave = open(ttbuf, O_RDWR | O_NOCTTY)) == -1) { in openpty()
|
/dports/security/stunnel/stunnel-5.60/src/ |
H A D | pty.c | 62 #ifndef O_NOCTTY 63 #define O_NOCTTY 0 macro 103 *ttyfd=open(namebuf, O_RDWR|O_NOCTTY); in pty_allocate() 119 ptm=open("/dev/ptmx", O_RDWR|O_NOCTTY); in pty_allocate() 140 *ttyfd=open(namebuf, O_RDWR|O_NOCTTY); in pty_allocate() 159 *ptyfd=open("/dev/ptc", O_RDWR|O_NOCTTY); in pty_allocate() 170 *ttyfd=open(name, O_RDWR|O_NOCTTY); in pty_allocate() 194 *ptyfd=open(buf, O_RDWR|O_NOCTTY); in pty_allocate() 206 *ttyfd=open(namebuf, O_RDWR | O_NOCTTY); in pty_allocate()
|
/dports/shells/viewglob/viewglob-2.0.4/vgseer/ |
H A D | ptytty.c | 86 if ((pfd = posix_openpt(O_RDWR | O_NOCTTY)) != -1) in rxvt_get_pty() 101 *ttydev = _getpty(&pfd, O_RDWR | O_NDELAY | O_NOCTTY, 0622, 0); in rxvt_get_pty() 110 if ((pfd = open(ptydev, O_RDWR | O_NOCTTY, 0)) >= 0) { in rxvt_get_pty() 124 pfd = open("/dev/ptmx", O_RDWR | O_NOCTTY, 0); in rxvt_get_pty() 139 if ((pfd = open("/dev/ptc", O_RDWR | O_NOCTTY, 0)) >= 0) { in rxvt_get_pty() 146 if ((pfd = open("/dev/ptym/clone", O_RDWR | O_NOCTTY, 0)) >= 0) { in rxvt_get_pty() 168 if ((pfd = open(pty_name, O_RDWR | O_NOCTTY, 0)) >= 0) { in rxvt_get_pty() 196 if ((pfd = open(pty_name, O_RDWR | O_NOCTTY, 0)) >= 0) { in rxvt_get_pty() 218 return open(ttydev, O_RDWR | O_NOCTTY, 0); in rxvt_get_tty() 248 fd = open("/dev/tty", O_RDWR | O_NOCTTY); in rxvt_control_tty() [all …]
|
/dports/x11/mrxvt-devel/mrxvt-0.5.4/src/ |
H A D | ptytty.c | 58 char* ptr = _getpty(&pfd, O_RDWR|O_NDELAY|O_NOCTTY, 0622, 0); in rxvt_get_pty() 71 if ((pfd = open(ptydev, O_RDWR | O_NOCTTY, 0)) >= 0) { in rxvt_get_pty() 87 pfd = open("/dev/ptmx", O_RDWR | O_NOCTTY, 0); in rxvt_get_pty() 106 if ((pfd = open("/dev/ptc", O_RDWR | O_NOCTTY, 0)) >= 0) { in rxvt_get_pty() 115 if ((pfd = open("/dev/ptym/clone", O_RDWR | O_NOCTTY, 0)) >= 0) { in rxvt_get_pty() 140 if ((pfd = open(pty_name, O_RDWR | O_NOCTTY, 0)) >= 0) { in rxvt_get_pty() 169 if ((pfd = open(pty_name, O_RDWR | O_NOCTTY, 0)) >= 0) { in rxvt_get_pty() 191 return open(ttydev, O_RDWR | O_NOCTTY, 0); in rxvt_get_tty() 217 fd = open("/dev/tty", O_RDWR | O_NOCTTY); in rxvt_control_tty() 225 fd = open("/dev/tty", O_RDWR | O_NOCTTY); in rxvt_control_tty()
|
/dports/x11/mrxvt/mrxvt-0.4.2/src/ |
H A D | ptytty.c | 73 char* ptr = _getpty(&pfd, O_RDWR|O_NDELAY|O_NOCTTY, 0622, 0); in rxvt_get_pty() 86 if ((pfd = open(ptydev, O_RDWR | O_NOCTTY, 0)) >= 0) { in rxvt_get_pty() 102 pfd = open("/dev/ptmx", O_RDWR | O_NOCTTY, 0); in rxvt_get_pty() 121 if ((pfd = open("/dev/ptc", O_RDWR | O_NOCTTY, 0)) >= 0) { in rxvt_get_pty() 130 if ((pfd = open("/dev/ptym/clone", O_RDWR | O_NOCTTY, 0)) >= 0) { in rxvt_get_pty() 155 if ((pfd = open(pty_name, O_RDWR | O_NOCTTY, 0)) >= 0) { in rxvt_get_pty() 184 if ((pfd = open(pty_name, O_RDWR | O_NOCTTY, 0)) >= 0) { in rxvt_get_pty() 206 return open(ttydev, O_RDWR | O_NOCTTY, 0); in rxvt_get_tty() 232 fd = open("/dev/tty", O_RDWR | O_NOCTTY); in rxvt_control_tty() 240 fd = open("/dev/tty", O_RDWR | O_NOCTTY); in rxvt_control_tty()
|
/dports/x11/xvt/xvt-3.0.1/src/ |
H A D | ptytty.c | 84 *ttydev = _getpty(&pfd, O_RDWR | O_NDELAY | O_NOCTTY, 0622, 0); in xvt_get_pty() 93 if ((pfd = open(ptydev, O_RDWR | O_NOCTTY, 0)) >= 0) { in xvt_get_pty() 107 pfd = open("/dev/ptmx", O_RDWR | O_NOCTTY, 0); in xvt_get_pty() 122 if ((pfd = open("/dev/ptc", O_RDWR | O_NOCTTY, 0)) >= 0) { in xvt_get_pty() 129 if ((pfd = open("/dev/ptym/clone", O_RDWR | O_NOCTTY, 0)) >= 0) { in xvt_get_pty() 151 if ((pfd = open(pty_name, O_RDWR | O_NOCTTY, 0)) >= 0) { in xvt_get_pty() 179 if ((pfd = open(pty_name, O_RDWR | O_NOCTTY, 0)) >= 0) { in xvt_get_pty() 201 return open(ttydev, O_RDWR | O_NOCTTY, 0); in xvt_get_tty() 227 fd = open("/dev/tty", O_RDWR | O_NOCTTY); in xvt_control_tty() 235 fd = open("/dev/tty", O_RDWR | O_NOCTTY); in xvt_control_tty()
|
/dports/x11-clocks/rclock/rxvt-2.7.10/src/ |
H A D | ptytty.c | 84 *ttydev = _getpty(&pfd, O_RDWR | O_NDELAY | O_NOCTTY, 0622, 0); in rxvt_get_pty() 93 if ((pfd = open(ptydev, O_RDWR | O_NOCTTY, 0)) >= 0) { in rxvt_get_pty() 107 pfd = open("/dev/ptmx", O_RDWR | O_NOCTTY, 0); in rxvt_get_pty() 122 if ((pfd = open("/dev/ptc", O_RDWR | O_NOCTTY, 0)) >= 0) { in rxvt_get_pty() 129 if ((pfd = open("/dev/ptym/clone", O_RDWR | O_NOCTTY, 0)) >= 0) { in rxvt_get_pty() 151 if ((pfd = open(pty_name, O_RDWR | O_NOCTTY, 0)) >= 0) { in rxvt_get_pty() 179 if ((pfd = open(pty_name, O_RDWR | O_NOCTTY, 0)) >= 0) { in rxvt_get_pty() 201 return open(ttydev, O_RDWR | O_NOCTTY, 0); in rxvt_get_tty() 227 fd = open("/dev/tty", O_RDWR | O_NOCTTY); in rxvt_control_tty() 235 fd = open("/dev/tty", O_RDWR | O_NOCTTY); in rxvt_control_tty()
|
/dports/lang/gcc9-devel/gcc-9-20211007/libphobos/libdruntime/core/sys/posix/ |
H A D | fcntl.d | 182 enum O_NOCTTY = 0x0800; in version() local 234 enum O_NOCTTY = 0x8000; in version() local 311 enum O_NOCTTY = 0; in version() local 362 enum O_NOCTTY = 0x8000; in version() local 424 enum O_NOCTTY = 0x8000; in version() local 496 enum O_NOCTTY = 0x8000; in version() local 543 enum O_NOCTTY = 0x0008000; in version() local 654 enum O_NOCTTY = 0x0800; in version() local 746 enum O_NOCTTY = 0x100; // octal 0400 785 O_NOCTTY = 0x100, // octal 0400 [all …]
|
/dports/lang/gcc9-aux/gcc-9.1.0/libphobos/libdruntime/core/sys/posix/ |
H A D | fcntl.d | 182 enum O_NOCTTY = 0x0800; in version() local 234 enum O_NOCTTY = 0x8000; in version() local 311 enum O_NOCTTY = 0; in version() local 362 enum O_NOCTTY = 0x8000; in version() local 424 enum O_NOCTTY = 0x8000; in version() local 496 enum O_NOCTTY = 0x8000; in version() local 543 enum O_NOCTTY = 0x0008000; in version() local 654 enum O_NOCTTY = 0x0800; in version() local 746 enum O_NOCTTY = 0x100; // octal 0400 785 O_NOCTTY = 0x100, // octal 0400 [all …]
|
/dports/lang/gcc9/gcc-9.4.0/libphobos/libdruntime/core/sys/posix/ |
H A D | fcntl.d | 182 enum O_NOCTTY = 0x0800; in version() local 234 enum O_NOCTTY = 0x8000; in version() local 311 enum O_NOCTTY = 0; in version() local 362 enum O_NOCTTY = 0x8000; in version() local 424 enum O_NOCTTY = 0x8000; in version() local 496 enum O_NOCTTY = 0x8000; in version() local 543 enum O_NOCTTY = 0x0008000; in version() local 654 enum O_NOCTTY = 0x0800; in version() local 746 enum O_NOCTTY = 0x100; // octal 0400 785 O_NOCTTY = 0x100, // octal 0400 [all …]
|
/dports/security/dropbear/dropbear-2020.81/ |
H A D | sshpty.c | 37 #ifndef O_NOCTTY 38 #define O_NOCTTY 0 macro 85 *ttyfd = open(namebuf, O_RDWR | O_NOCTTY); in pty_allocate() 104 ptm = open("/dev/ptmx", O_RDWR | O_NOCTTY); in pty_allocate() 129 *ttyfd = open(namebuf, O_RDWR | O_NOCTTY); in pty_allocate() 173 *ttyfd = open(name, O_RDWR | O_NOCTTY); in pty_allocate() 199 *ptyfd = open(buf, O_RDWR | O_NOCTTY); in pty_allocate() 204 *ptyfd = open(buf, O_RDWR | O_NOCTTY); in pty_allocate() 211 *ttyfd = open(namebuf, O_RDWR | O_NOCTTY); in pty_allocate() 278 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); in pty_make_controlling_tty() [all …]
|
/dports/lang/gcc12-devel/gcc-12-20211205/libphobos/libdruntime/core/sys/posix/ |
H A D | fcntl.d | 185 enum O_NOCTTY = 0x0800; in version() local 241 enum O_NOCTTY = 0x8000; in version() local 320 enum O_NOCTTY = 0; in version() local 371 enum O_NOCTTY = 0x8000; in version() local 433 enum O_NOCTTY = 0x8000; in version() local 505 enum O_NOCTTY = 0x8000; in version() local 552 enum O_NOCTTY = 0x0008000; in version() local 663 enum O_NOCTTY = 0x0800; in version() local 755 enum O_NOCTTY = 0x100; // octal 0400 889 O_NOCTTY = 0x100, // octal 0400 [all …]
|
/dports/lang/gcc11/gcc-11.2.0/libphobos/libdruntime/core/sys/posix/ |
H A D | fcntl.d | 183 enum O_NOCTTY = 0x0800; in version() local 235 enum O_NOCTTY = 0x8000; in version() local 312 enum O_NOCTTY = 0; in version() local 363 enum O_NOCTTY = 0x8000; in version() local 425 enum O_NOCTTY = 0x8000; in version() local 497 enum O_NOCTTY = 0x8000; in version() local 544 enum O_NOCTTY = 0x0008000; in version() local 655 enum O_NOCTTY = 0x0800; in version() local 747 enum O_NOCTTY = 0x100; // octal 0400 881 O_NOCTTY = 0x100, // octal 0400 [all …]
|
/dports/lang/gcc10/gcc-10.3.0/libphobos/libdruntime/core/sys/posix/ |
H A D | fcntl.d | 182 enum O_NOCTTY = 0x0800; in version() local 234 enum O_NOCTTY = 0x8000; in version() local 311 enum O_NOCTTY = 0; in version() local 362 enum O_NOCTTY = 0x8000; in version() local 424 enum O_NOCTTY = 0x8000; in version() local 496 enum O_NOCTTY = 0x8000; in version() local 543 enum O_NOCTTY = 0x0008000; in version() local 654 enum O_NOCTTY = 0x0800; in version() local 746 enum O_NOCTTY = 0x100; // octal 0400 880 O_NOCTTY = 0x100, // octal 0400 [all …]
|
/dports/lang/gcc11-devel/gcc-11-20211009/libphobos/libdruntime/core/sys/posix/ |
H A D | fcntl.d | 183 enum O_NOCTTY = 0x0800; in version() local 235 enum O_NOCTTY = 0x8000; in version() local 312 enum O_NOCTTY = 0; in version() local 363 enum O_NOCTTY = 0x8000; in version() local 425 enum O_NOCTTY = 0x8000; in version() local 497 enum O_NOCTTY = 0x8000; in version() local 544 enum O_NOCTTY = 0x0008000; in version() local 655 enum O_NOCTTY = 0x0800; in version() local 747 enum O_NOCTTY = 0x100; // octal 0400 881 O_NOCTTY = 0x100, // octal 0400 [all …]
|
/dports/devel/avr-gcc/gcc-10.2.0/libphobos/libdruntime/core/sys/posix/ |
H A D | fcntl.d | 182 enum O_NOCTTY = 0x0800; in version() local 234 enum O_NOCTTY = 0x8000; in version() local 311 enum O_NOCTTY = 0; in version() local 362 enum O_NOCTTY = 0x8000; in version() local 424 enum O_NOCTTY = 0x8000; in version() local 496 enum O_NOCTTY = 0x8000; in version() local 543 enum O_NOCTTY = 0x0008000; in version() local 654 enum O_NOCTTY = 0x0800; in version() local 746 enum O_NOCTTY = 0x100; // octal 0400 880 O_NOCTTY = 0x100, // octal 0400 [all …]
|
/dports/lang/gcc10-devel/gcc-10-20211008/libphobos/libdruntime/core/sys/posix/ |
H A D | fcntl.d | 182 enum O_NOCTTY = 0x0800; in version() local 234 enum O_NOCTTY = 0x8000; in version() local 311 enum O_NOCTTY = 0; in version() local 362 enum O_NOCTTY = 0x8000; in version() local 424 enum O_NOCTTY = 0x8000; in version() local 496 enum O_NOCTTY = 0x8000; in version() local 543 enum O_NOCTTY = 0x0008000; in version() local 654 enum O_NOCTTY = 0x0800; in version() local 746 enum O_NOCTTY = 0x100; // octal 0400 880 O_NOCTTY = 0x100, // octal 0400 [all …]
|
/dports/misc/cxx_atomics_pic/gcc-11.2.0/libphobos/libdruntime/core/sys/posix/ |
H A D | fcntl.d | 183 enum O_NOCTTY = 0x0800; in version() local 235 enum O_NOCTTY = 0x8000; in version() local 312 enum O_NOCTTY = 0; in version() local 363 enum O_NOCTTY = 0x8000; in version() local 425 enum O_NOCTTY = 0x8000; in version() local 497 enum O_NOCTTY = 0x8000; in version() local 544 enum O_NOCTTY = 0x0008000; in version() local 655 enum O_NOCTTY = 0x0800; in version() local 747 enum O_NOCTTY = 0x100; // octal 0400 881 O_NOCTTY = 0x100, // octal 0400 [all …]
|
/dports/sysutils/libptytty/libptytty-2.0/src/ |
H A D | ptytty.C | 55 #ifndef O_NOCTTY 56 # define O_NOCTTY 0 macro 79 pfd = posix_openpt (O_RDWR | O_NOCTTY); in get_pty() 82 pfd = open ("/dev/ptc", O_RDWR | O_NOCTTY, 0); in get_pty() 84 pfd = open ("/dev/ptmx", O_RDWR | O_NOCTTY, 0); in get_pty() 131 slave = _getpty (&pfd, O_RDWR | O_NOCTTY, 0622, 0); in get_pty() 161 if ((pfd = open (pty_name, O_RDWR | O_NOCTTY, 0)) == -1) in get_pty() 165 if ((pfd = open (pty_name, O_RDWR | O_NOCTTY, 0)) == -1) in get_pty() 190 return open (ttydev, O_RDWR | O_NOCTTY, 0); in get_tty()
|
/dports/ftp/lftp/lftp-4.9.2/src/ |
H A D | lftp_pty.c | 63 name=_getpty(ptyfd,O_RDWR|O_NOCTTY,0600,0); in open_pty() 70 *ptyfd=open("/dev/ptmx",O_RDWR|O_NOCTTY); in open_pty() 82 *ptyfd=open("/dev/ptc",O_RDWR|O_NOCTTY); in open_pty() 102 *ptyfd=open(master,O_RDWR|O_NOCTTY); in open_pty() 108 *ptyfd=open(master,O_RDWR|O_NOCTTY); in open_pty() 122 *ttyfd=open(name,O_RDWR|O_NOCTTY); in open_pty()
|
/dports/devel/cgdb/cgdb-0.8.0/lib/util/ |
H A D | pseudo.cpp | 85 #ifndef O_NOCTTY 86 #define O_NOCTTY 0 macro 256 if ((*slavefd = open(slavename, O_RDWR | O_NOCTTY)) == -1) { in pty_open() 280 if ((*masterfd = open("/dev/ptmx", O_RDWR | O_NOCTTY)) == -1) in pty_open() 320 if ((*slavefd = open(slavename, O_RDWR | O_NOCTTY)) == -1) { in pty_open() 371 if ((*masterfd = open("/dev/ptc", O_RDWR | O_NOCTTY)) == -1) in pty_open() 397 if ((*slavefd = open(name, O_RDWR | O_NOCTTY)) == -1) { in pty_open() 423 if ((*masterfd = open(buf, O_RDWR | O_NOCTTY)) == -1) { in pty_open() 428 if ((*masterfd = open(buf, O_RDWR | O_NOCTTY)) == -1) in pty_open() 568 if ((fd = open(PATH_TTY, O_RDWR | O_NOCTTY)) >= 0) { in pty_make_controlling_tty() [all …]
|
/dports/net/freebsd-uucp/freebsd-uucp-r1_07_4/uucp/libunix/ |
H A D | efopen.c | 32 #ifndef O_NOCTTY 33 #define O_NOCTTY 0 macro 62 O_WRONLY | O_APPEND | O_CREAT | O_NOCTTY, 65 o = open ((char *) zfile, O_WRONLY | O_NOCTTY); 83 O_WRONLY | O_APPEND | O_CREAT | O_NOCTTY,
|
/dports/devel/redo/redo-1.5/source/ |
H A D | lockfile.cpp | 19 return openat(dir_fd, name, O_NOCTTY|O_CLOEXEC|O_WRONLY|O_CREAT|O_APPEND|O_EXLOCK, 0600); in open_lockfile_exclusive_or_wait_at() 21 …FileDescriptorOwner lock_fd(openat(dir_fd, name, O_NOCTTY|O_CLOEXEC|O_WRONLY|O_CREAT|O_APPEND, 060… in open_lockfile_exclusive_or_wait_at() 37 return openat(dir_fd, name, O_NOCTTY|O_CLOEXEC|O_WRONLY|O_CREAT|O_APPEND|O_SHLOCK, 0600); in open_lockfile_shared_or_wait_at() 39 …FileDescriptorOwner lock_fd(openat(dir_fd, name, O_NOCTTY|O_CLOEXEC|O_WRONLY|O_CREAT|O_APPEND, 060… in open_lockfile_shared_or_wait_at()
|