MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / flush_comm

Function flush_comm

examples/libc/termios_test.c:275–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273}
274
275int flush_comm(int fd)
276{
277 if(fd == -1)
278 {
279 return -1;
280 }
281 tcflush(fd,TCIFLUSH);
282 return 0;
283}
284
285void termios_test_entry(void *p)
286{

Callers 1

termios_test_entryFunction · 0.85

Calls 1

tcflushFunction · 0.85

Tested by

no test coverage detected