Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
79
void close_comm(int fd)
80
{
81
if(fd != -1)
82
{
83
close(fd);
84
}
85
}
86
87
void config_comm(int fd, int speed_baud_rate, char parity, int data_bits, int stop_bits)
88
{
Callers
1
termios_test_entry
Function · 0.85
Calls
1
close
Function · 0.50
Tested by
no test coverage detected