Searched refs:TIOCSCTTY (Results 1 - 19 of 19) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/lldb/source/Host/common/
H A DPseudoTerminal.cpp17 #if defined(TIOCSCTTY)
220 #if defined(TIOCSCTTY)
222 if (::ioctl(m_secondary_fd, TIOCSCTTY, (char *)0) < 0) {
/freebsd-13-stable/crypto/heimdal/appl/telnet/telnetd/
H A Ddefs.h53 #if !defined(TIOCSCTTY) && defined(TCSETCTTY)
54 # define TIOCSCTTY TCSETCTTY macro
H A Dsys_term.c1020 # if defined(TIOCSCTTY) && !defined(__hpux)
1021 if (ioctl(t, TIOCSCTTY, (char *)0) < 0 && !really_stream)
/freebsd-13-stable/contrib/telnet/telnetd/
H A Ddefs.h115 #if !defined(TIOCSCTTY) && defined(TCSETCTTY)
116 # define TIOCSCTTY TCSETCTTY macro
/freebsd-13-stable/crypto/openssh/
H A Dsshpty.c124 #ifdef TIOCSCTTY
125 debug("Setting controlling tty using TIOCSCTTY.");
126 if (ioctl(*ttyfd, TIOCSCTTY, NULL) < 0)
127 error("ioctl(TIOCSCTTY): %.100s", strerror(errno));
128 #endif /* TIOCSCTTY */
/freebsd-13-stable/sys/sys/
H A Dttycom.h82 #define TIOCSCTTY _IO('t', 97) /* become controlling tty */ macro
/freebsd-13-stable/contrib/ntp/libntp/
H A Diosignal.c166 # if defined(TIOCSCTTY) && defined(USE_FSETOWNCTTY)
176 if (ioctl(rio->fd, TIOCSCTTY, 0) == -1)
178 msyslog(LOG_ERR, "ioctl(TIOCSCTTY, 0) fails for clock I/O: %m");
181 # endif /* TIOCSCTTY && USE_FSETOWNCTTY */
/freebsd-13-stable/lib/libc/gen/
H A Dtermios.c121 return (_ioctl(fd, TIOCSCTTY, NULL));
/freebsd-13-stable/contrib/nvi/ex/
H A Dex_script.c150 #ifdef TIOCSCTTY
152 * 4.4BSD allocates a controlling terminal using the TIOCSCTTY
154 * doesn't define a portable way to do this. If TIOCSCTTY is
157 (void)ioctl(sc->sh_slave, TIOCSCTTY, 0);
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_solaris.cpp177 unsigned IOCTL_TIOCSCTTY = TIOCSCTTY;
H A Dsanitizer_platform_limits_freebsd.cpp241 unsigned IOCTL_TIOCSCTTY = TIOCSCTTY;
H A Dsanitizer_common_interceptors_ioctl.inc76 _(TIOCSCTTY, NONE, 0);
H A Dsanitizer_platform_limits_posix.cpp523 unsigned IOCTL_TIOCSCTTY = TIOCSCTTY;
H A Dsanitizer_platform_limits_netbsd.cpp2184 unsigned IOCTL_TIOCSCTTY = TIOCSCTTY;
H A Dsanitizer_interceptors_ioctl_netbsd.inc1263 _(TIOCSCTTY, NONE, 0);
/freebsd-13-stable/sys/kern/
H A Dtty.c582 case TIOCSCTTY:
1809 case TIOCSCTTY: {
/freebsd-13-stable/sys/fs/devfs/
H A Ddevfs_vnops.c951 if (error == 0 && com == TIOCSCTTY) {
/freebsd-13-stable/sys/compat/linux/
H A Dlinux_file.c206 /* XXXPJD: Verify if TIOCSCTTY is allowed. */
207 (void) fo_ioctl(fp, TIOCSCTTY, (caddr_t) 0,
H A Dlinux_ioctl.c827 args->cmd = TIOCSCTTY;

Completed in 314 milliseconds