Home
last modified time | relevance | path

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

/third_party/musl/libc-test/src/functionalext/supplement/termios/
Dtcdrain.c35 int fd_master, fd_slave, result; in tcdrain_0100() local
56 fd_slave = open(Slave, O_RDWR | O_NONBLOCK); in tcdrain_0100()
57 if (fd_slave < 0) { in tcdrain_0100()
62 if (write(fd_slave, text, strlen(text) + 1) == -1) { in tcdrain_0100()
68 if (tcdrain(fd_slave) != 0) { in tcdrain_0100()
88 close(fd_slave); in tcdrain_0100()