Project

General

Profile

Bug #1131

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

Added by Dmitry Moskalchuk about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
High
Category:
libcrystax
Target version:
Start date:
11/09/2015
Due date:
% Done:

100%

Estimated time:
CPU Architecture:
Host OS:
Toolchain:
Android version:
CrystaX 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.

Also available in: Atom PDF