Lines Matching defs:com
16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
175 * u_long *com A pointer to the terminal input/output
183 * modified based on *com and *data.
200 ttsetcompat(struct tty *tp, u_long *com, caddr_t data, struct termios *term)
202 switch (*com) {
235 *com = (*com == TIOCSETP) ? TIOCSETAF : TIOCSETA;
256 *com = TIOCSETA;
275 *com = TIOCSETA;
296 if (*com == TIOCLSET)
301 if (*com == TIOCLBIS)
307 *com = TIOCSETA;
324 * u_long com The terminal input/output command
350 ttcompat(struct tty *tp, u_long com, caddr_t data, int flag, struct proc *p)
352 switch (com) {
369 if ((error = ttsetcompat(tp, &com, data, &term)) != 0)
371 return ttioctl(tp, com, (caddr_t) &term, flag, p);