7 Commits

Author SHA1 Message Date
Rethan 10285c2dd4 examples/cuse_client: add include file to eliminate compiler warning (#568)
Compiler warning about close(fd), add include file to fix.

Signed-off-by: haoyixing <haoyixing@kuaishou.com>
Co-authored-by: haoyixing <haoyixing@kuaishou.com>
2020-11-24 09:28:13 +00:00
Zhiqiang Liu ce2f3be2fd ioctl_client.c: fix potential fd leakage problem
In ioctl_client.c, fd is not closed before return, thus
it will cause fd leakage problem.

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
Signed-off-by: Haotian Li <lihaotian9@huawei.com>
2020-11-06 19:26:03 +00:00
Dr. David Alan Gilbert 4e719a9745 State GPL version in comment (#485)
IN a bunch of comments we say 'under the terms of the GNU GPL', make
it clear this is GPLv2 (as LICENSE says).

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2020-03-13 16:46:44 +00:00
Nikolaus Rath f750abb757 Removed unneccessary #include <config.h> from examples
Fixes: #208.
2017-09-25 10:17:11 +01:00
Banglang c0476a9f54 Fix compiler warnings of gcc-5.4.x
Signed-off-by: Banglang <banglang.huang@foxmail.com>
2017-08-01 16:26:23 +02:00
Nikolaus Rath 7983414b33 Clean-up doxygen documentation
Fixes: #81.
2016-10-28 20:44:39 -07:00
Nikolaus Rath bcad1a6f22 Renamed ioctl and poll examples
The new names should make it more obvious at first glance
what each example demonstrates.
2016-10-09 22:03:07 -07:00