Actions
Bug #1131
closedclock_nanosleep() return EXXX in errno rather than as return value
Start date:
11/09/2015
Due date:
% Done:
100%
Estimated time:
CPU Architecture:
Host OS:
Toolchain:
Android version:
CrystaX NDK Version:
Description
According to POSIX, if clock_nanosleep() was failed, it should return EXXX (EINTR, EINVAL, etc) as its return value. On Android, it doesn't. Instead it set errno to EXXX.
Updated by Dmitry M. about 9 years ago
Here are corresponding test cases:
https://github.com/crystax/android-vendor-openpts/blob/master/conformance/interfaces/clock_nanosleep/9-1.c
https://github.com/crystax/android-vendor-openpts/blob/master/conformance/interfaces/clock_nanosleep/10-1.c
https://github.com/crystax/android-vendor-openpts/blob/master/conformance/interfaces/clock_nanosleep/11-1.c
https://github.com/crystax/android-vendor-openpts/blob/master/conformance/interfaces/clock_nanosleep/13-1.c
Updated by Dmitry M. about 9 years ago
- Subject changed from clock_nanosleep() return EINTR in errno rather than as return value to clock_nanosleep() return EXXX in errno rather than as return value
- Description updated (diff)
Updated by Dmitry M. about 9 years ago
- Status changed from In Progress to Completed
- % Done changed from 0 to 100
Actions