Several examples aren't correctly checking mq_open() return value

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • TIRTOS
    • TIRTOS-2022
    • TIRTOS_4_30_00
    • TIRTOS_5_30_00
    • Hide
      CC13x2
      CC26x2
      MSP432E4
      Show
      CC13x2 CC26x2 MSP432E4

      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).

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-2490 - Several examples aren't correctly c...
                SYNCHRONIZED
                • Last Sync Date: