genl_send_simple return value
Thomas Haller
thaller at redhat.com
Tue May 12 07:00:38 PDT 2015
On Sat, 2015-05-09 at 17:55 -0700, Xiao Jia wrote:
> Hi,
>
> I think the documentation for genl_send_simple
> http://www.infradead.org/~tgr/libnl/doc/api/group__genl.html#ga6a58e94186e70ab8dfa1a5c1d9d91f9d
> is incorrect about the return value. It says
>
> "0 on success or a negative error code."
>
> But should be
>
> "Number of characters sent on success or a negative error code."
>
> Right?
Hi Xiao Jia,
I adjusted the documentation:
https://github.com/thom311/libnl/commit/48182486341d1de7892494f272e892c0b18ebef5
I was considering of fixing it, but changing behavior
might break some users. Just keep the current behavior.
Thanks for the report!!
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20150512/7249ddf5/attachment.sig>
More information about the libnl
mailing list