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

/macosx-10.9.5/Libc-997.90.3/util/
H A Dlogin_tty.c42 if (ioctl(fd, TIOCSCTTY, (char *)NULL) == -1)
/macosx-10.9.5/zsh-60/zsh/Src/Modules/
H A Dclone.c80 #ifdef TIOCSCTTY
81 ioctl(cttyfd, TIOCSCTTY, 0);
H A Dzpty.c378 #ifdef TIOCSCTTY
379 ioctl(slave, TIOCSCTTY, 0);
/macosx-10.9.5/Heimdal-323.92.1/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)
/macosx-10.9.5/remote_cmds-41.90.1/telnetd.tproj/
H A Ddefs.h119 #if !defined(TIOCSCTTY) && defined(TCSETCTTY)
120 # define TIOCSCTTY TCSETCTTY macro
/macosx-10.9.5/xnu-2422.115.4/bsd/sys/
H A Dttycom.h161 #define TIOCSCTTY _IO('t', 97) /* become controlling tty */ macro
/macosx-10.9.5/OpenSSH-186/openssh/
H A Dsshpty.c151 #ifdef TIOCSCTTY
152 debug("Setting controlling tty using TIOCSCTTY.");
153 if (ioctl(*ttyfd, TIOCSCTTY, NULL) < 0)
154 error("ioctl(TIOCSCTTY): %.100s", strerror(errno));
155 #endif /* TIOCSCTTY */
/macosx-10.9.5/ntp-88/libntp/
H A Diosignal.c188 # if defined(TIOCSCTTY) && defined(USE_FSETOWNCTTY)
198 if (ioctl(rio->fd, TIOCSCTTY, 0) == -1)
200 msyslog(LOG_ERR, "ioctl(TIOCSCTTY, 0) fails for clock I/O: %m");
203 # endif /* TIOCSCTTY && USE_FSETOWNCTTY */
/macosx-10.9.5/Libc-997.90.3/gen/FreeBSD/
H A Dtermios.c136 return (_ioctl(fd, TIOCSCTTY, NULL));
/macosx-10.9.5/tcl-102/tcl_ext/expect/expect/
H A Dpty_termios.c755 #ifdef TIOCSCTTY
756 if (found == TIOCSCTTY) {
757 expDiagLogPtr(" TIOCSCTTY");
H A Dexp_clib.c1875 #if defined(TIOCSCTTY) && !defined(CIBAUD) && !defined(sun) && !defined(hp9000s300)
1931 #if defined(TIOCSCTTY) && !defined(CIBAUD) && !defined(sun) && !defined(hp9000s300)
1932 if (cc == TIOCSCTTY) slave_write_ioctls = 0;
2083 #if defined(TIOCSCTTY) && !defined(sun) && !defined(hpux)
2089 expErrorLog("failed to get controlling terminal using TIOCSCTTY");
2093 (void) ioctl(0,TIOCSCTTY,(char *)0);
H A Dexp_command.c823 #if defined(TIOCSCTTY) && !defined(CIBAUD) && !defined(sun) && !defined(hp9000s300)
1198 /*#if defined(TIOCSCTTY) && !defined(CIBAUD) && !defined(sun) && !defined(hpux)*/
1199 #if defined(TIOCSCTTY) && !defined(sun) && !defined(hpux)
1207 expErrorLog("failed to get controlling terminal using TIOCSCTTY");
1211 (void) ioctl(0,TIOCSCTTY,(char *)0);
/macosx-10.9.5/xnu-2422.115.4/bsd/kern/
H A Dtty_tty.c209 if (cmd == TIOCSCTTY) { /* don't allow controlling tty to be set */
H A Dtty.c1021 * EPERM TIOCSCTTY failed
1386 case TIOCSCTTY: /* become controlling tty */
/macosx-10.9.5/ruby-104/ruby/ext/pty/
H A Dpty.c125 #if defined(TIOCSCTTY)
127 (void) ioctl(slave, TIOCSCTTY, (char *)0);
/macosx-10.9.5/screen-22/screen/
H A Dtty.c999 # if defined(BSD) && defined(TIOCSCTTY) && !defined(__GNU__)
1000 ioctl(fd, TIOCSCTTY, (char *)0);
1001 # endif /* BSD && TIOCSCTTY */
1039 # ifdef TIOCSCTTY
1040 ioctl(fd, TIOCSCTTY, (char *)0);
H A Dtty.c.dist999 # if defined(BSD) && defined(TIOCSCTTY) && !defined(__GNU__)
1000 ioctl(fd, TIOCSCTTY, (char *)0);
1001 # endif /* BSD && TIOCSCTTY */
1039 # ifdef TIOCSCTTY
1040 ioctl(fd, TIOCSCTTY, (char *)0);
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/misc/
H A Dprocopen.c167 #ifndef TIOCSCTTY
195 #ifdef TIOCSCTTY
196 if (ioctl(arg1, TIOCSCTTY, NiL) < 0)
/macosx-10.9.5/sudo-72/src/
H A Dexec_pty.c843 #ifdef TIOCSCTTY
844 if (ioctl(io_fds[SFD_SLAVE], TIOCSCTTY, NULL) != 0)
/macosx-10.9.5/uucp-11/uucp/unix/
H A Dserial.c1287 #ifdef TIOCSCTTY
1289 (void) ioctl (q->o, TIOCSCTTY, 0);
/macosx-10.9.5/xnu-2422.115.4/bsd/vfs/
H A Dvfs_vnops.c1358 if (error == 0 && com == TIOCSCTTY) {
/macosx-10.9.5/vim-53/src/
H A Dos_unix.c4044 # ifdef TIOCSCTTY
4047 ioctl(pty_slave_fd, TIOCSCTTY, (char *)NULL);
/macosx-10.9.5/emacs-92/emacs/src/
H A Dprocess.c2055 #ifdef TIOCSCTTY
2058 ioctl (xforkin, TIOCSCTTY, 0);
2114 or !(defined (HAVE_SETSID) && defined (TIOCSCTTY)).
2117 both HAVE_SETSID and TIOCSCTTY are defined. */
/macosx-10.9.5/ppp-727.90.1/Helpers/pppd/
H A Dsys-MacOSX.c1289 if (ioctl(fd, TIOCSCTTY, (char *)NULL) == -1)

Completed in 302 milliseconds