Ignore:
Timestamp:
Jan 12, 2000, 6:47:22 PM (22 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
ea2c1d6
Parents:
68b05694
Message:

Debugged and yellow line tested routines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/posix/src/mqueuetranslatereturncode.c

    r68b05694 re38cb52  
    4545    case  CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL:
    4646      return 0;
     47
     48      /*
     49       *  Bad message size
     50       */
    4751    case  CORE_MESSAGE_QUEUE_STATUS_INVALID_SIZE:
    4852      return EMSGSIZE;
     53
     54      /*
     55       *  Queue is full of pending messages.
     56       */
    4957    case  CORE_MESSAGE_QUEUE_STATUS_TOO_MANY:
    5058      return EAGAIN;
     59
     60      /*
     61       *  Out of message buffers to queue pending message
     62       */
    5163    case CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED:
    52       return ENOSYS;                  /* XXX */
     64      return ENOMEM;
     65
     66      /*
     67       *  No message available on receive poll
     68       */
    5369    case CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_NOWAIT:
    54       return ENOSYS;                  /* XXX */
     70      return EAGAIN;
     71
     72      /*
     73       *  Queue was deleted while thread blocked on it.
     74       */
    5575    case CORE_MESSAGE_QUEUE_STATUS_WAS_DELETED:
    5676      return EBADF;
     77
     78      /*
     79       *  POSIX Real-Time Extensions add timeouts to send and receive.
     80       */
    5781    case CORE_MESSAGE_QUEUE_STATUS_TIMEOUT:
    58       return ENOSYS;                  /* XXX */
     82      return ETIMEDOUT;
     83
     84      /*
     85       *  RTEMS POSIX API implementation does not support multiprocessing.
     86       */
    5987    case THREAD_STATUS_PROXY_BLOCKING:
    60       return ENOSYS;                  /* XXX */
     88      return ENOSYS;
    6189  }
    62   _Internal_error_Occurred(         /* XXX */
     90  _Internal_error_Occurred(
    6391    INTERNAL_ERROR_POSIX_API,
    6492    TRUE,
Note: See TracChangeset for help on using the changeset viewer.