Lines Matching refs:mode
20 mode = tcgetattr(fd)
21 mode[IFLAG] = mode[IFLAG] & ~(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
22 mode[OFLAG] = mode[OFLAG] & ~(OPOST)
23 mode[CFLAG] = mode[CFLAG] & ~(CSIZE | PARENB)
24 mode[CFLAG] = mode[CFLAG] | CS8
25 mode[LFLAG] = mode[LFLAG] & ~(ECHO | ICANON | IEXTEN | ISIG)
26 mode[CC][VMIN] = 1
27 mode[CC][VTIME] = 0
28 tcsetattr(fd, when, mode)
32 mode = tcgetattr(fd)
33 mode[LFLAG] = mode[LFLAG] & ~(ECHO | ICANON)
34 mode[CC][VMIN] = 1
35 mode[CC][VTIME] = 0
36 tcsetattr(fd, when, mode)