Project

General

Profile

Actions

Bug #1131

closed

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

Added by Dmitry M. over 8 years ago. Updated over 8 years ago.

Status:
Closed
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