On 12 December 2014 at 00:33, Felix Fietkau <n...@openwrt.org> wrote: > On 2014-11-11 11:51, Yousong Zhou wrote: >> Useful in the following use pattern. >> >> int available = ustream_pending_data(s, false); >> if (available >= sizeof(struct msghdr)) { >> struct msghdr h; >> ustream_fill_with_read_buf(s, &h, sizeof(h)); >> } >> >> Signed-off-by: Yousong Zhou <yszhou4t...@gmail.com> > I'd prefer to have this named ustream_read() instead - similar to > ustream_write().
Makes sense. Will adapt the patch. yousong > > - Felix _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel