| Issue 127: | errors returned from kernel not the same in userspace | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Hi Manish, All the predefined system errors from kernel are returned by ioctl() as -1. For example, when we try to re-enable OHSM on an already enabled system. It returns -EEXIST, the message gets printed in dmesg. ret = ioctl (IOC_ENABLE_OHSM....) ret comes out to be -1. |