-
Bug
-
Resolution: Fixed
-
Medium
-
TIRTOS
-
TIRTOS-2022
-
TIRTOS_4_30_00
-
TIRTOS_5_30_00
-
mq_open() returns a descriptor in case of success, or -1 in case of failure (with errno set to a relevant error code).
Some examples incorrectly check if the return code is NULL (which is not a valid return code). The error check should instead be for (rc <= 0).