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

Function close_comm

examples/libc/termios_test.c:79–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79void close_comm(int fd)
80{
81 if(fd != -1)
82 {
83 close(fd);
84 }
85}
86
87void config_comm(int fd, int speed_baud_rate, char parity, int data_bits, int stop_bits)
88{

Callers 1

termios_test_entryFunction · 0.85

Calls 1

closeFunction · 0.50

Tested by

no test coverage detected