Project

General

Profile

Actions

Bug #1131

closed

clock_nanosleep() return EXXX in errno rather than as return value

Added by Dmitry M. about 9 years ago. Updated about 9 years ago.

Status:
Completed
Priority:
High
Assignee:
Category:
libcrystax
Target version:
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.

Actions

Also available in: Atom PDF