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

Function lwp_channel_reply

components/lwp/lwp_ipc.c:1198–1208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1196}
1197
1198rt_err_t lwp_channel_reply(int fdt_type, int fd, rt_channel_msg_t data)
1199{
1200 rt_channel_t ch;
1201
1202 ch = fd_2_channel(fdt_type, fd);
1203 if (ch)
1204 {
1205 return rt_raw_channel_reply(ch, data);
1206 }
1207 return -RT_EIO;
1208}
1209
1210rt_err_t lwp_channel_recv_timeout(int fdt_type, int fd, rt_channel_msg_t data, rt_int32_t time)
1211{

Callers 2

rt_channel_replyFunction · 0.85
sys_channel_replyFunction · 0.85

Calls 2

fd_2_channelFunction · 0.85
rt_raw_channel_replyFunction · 0.85

Tested by

no test coverage detected