On 15.11.19 13:42, Lange Norbert wrote:
Hello,
Just for consideration, If you can pass both error value and # of successfully
sent packets out of the kernel function,
perhaps you could return the # (if > 0) and still set errno in case of an
(real) error?
It would be somewhat different to Linux, but that would not be the only
difference (like theres no way to block until all msgs are sent/received).
I rather prefer finding and fixing what differentiates us from the kernel.
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux