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

Function lwp_channel_send

components/lwp/lwp_ipc.c:1174–1184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1172}
1173
1174rt_err_t lwp_channel_send(int fdt_type, int fd, rt_channel_msg_t data)
1175{
1176 rt_channel_t ch;
1177
1178 ch = fd_2_channel(fdt_type, fd);
1179 if (ch)
1180 {
1181 return rt_raw_channel_send(ch, data);
1182 }
1183 return -RT_EIO;
1184}
1185
1186rt_err_t lwp_channel_send_recv_timeout(int fdt_type, int fd, rt_channel_msg_t data, rt_channel_msg_t data_ret, rt_int32_t time)
1187{

Callers 2

rt_channel_sendFunction · 0.85
sys_channel_sendFunction · 0.85

Calls 2

fd_2_channelFunction · 0.85
rt_raw_channel_sendFunction · 0.85

Tested by

no test coverage detected