this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Handle TIOCISATTY ioctl()

+8
+7
src/kernel/emulation/linux/ioctl/termios.c
··· 206 206 *retval = __real_ioctl(fd, LINUX_TCFLSH, queue); 207 207 return IOCTL_HANDLED; 208 208 } 209 + case BSD_TIOCISATTY: 210 + { 211 + struct linux_termios in; 212 + 213 + *retval = __real_ioctl(fd, LINUX_TCGETS, &in) == 0; 214 + return IOCTL_HANDLED; 215 + } 209 216 default: 210 217 __simple_printf("Passing thru unhandled ioctl 0x%x on fd %d\n", cmd, fd); 211 218 __builtin_trap();
+1
src/kernel/emulation/linux/ioctl/termios.h
··· 84 84 #define BSD_TIOCSETD BSD_IOW('t', 27, int) 85 85 #define BSD_TIOCIXON BSD_IO('t', 129) 86 86 #define BSD_TIOCIXOFF BSD_IO('t', 128) 87 + #define BSD_TIOCISATTY 0x2000745E 87 88 88 89 #define BSD_TIOCSBRK BSD_IO('t', 123) 89 90 #define BSD_TIOCCBRK BSD_IO('t', 122)