Home
last modified time | relevance | path

Searched refs:TIOCCONS (Results 1 – 6 of 6) sorted by relevance

/xnu-12377.41.6/tests/
H A Dtty_ioctl.c64 T_ASSERT_POSIX_SUCCESS(ioctl(primary, TIOCCONS, (char *)&on), "ioctl TIOCCONS on"); in tty_ioctl_tioccons()
66 T_ASSERT_POSIX_ERROR(ioctl(primary, TIOCCONS, (char *)&on), -EPERM, "ioctl TIOCCONS on"); in tty_ioctl_tioccons()
68 T_ASSERT_POSIX_SUCCESS(ioctl(primary, TIOCCONS, (char *)&off), "ioctl TIOCCONS off"); in tty_ioctl_tioccons()
/xnu-12377.41.6/bsd/sys/
H A Dttycom.h159 #define TIOCCONS _IOW('t', 98, int) /* become virtual console */ macro
/xnu-12377.41.6/bsd/dev/arm/
H A Dcons.c165 if ((unsigned) cmd == TIOCCONS && constty) { in cnioctl()
/xnu-12377.41.6/bsd/dev/i386/
H A Dcons.c199 if ((unsigned) cmd == TIOCCONS && constty) { in cnioctl()
/xnu-12377.41.6/bsd/kern/
H A Dtty_compat.c506 return ttioctl_locked(tp, TIOCCONS, data, flag, p); in ttcompat()
H A Dtty.c1171 case TIOCCONS: { /* become virtual console */ in ttioctl_locked()