Remove the message queue identifier specified by _m_s_q_i_d from the
system and destroy the message queue and data structure associated
with it. This _c_m_d can only be executed by a process that has an
effective user ID equal to either that of super user, or to the
value of _mmmm_ssss_gggg______pppp_eeee_rrrr_mmmm_...._cccc_uuuu_iiii_dddd or _mmmm_ssss_gggg______pppp_eeee_rrrr_mmmm_...._uuuu_iiii_dddd in the data structure
associated with _m_s_q_i_d.
_mmmm_ssss_gggg_cccc_tttt_llll fails if one or more of the following are true:
_EEEE_AAAA_CCCC_CCCC_EEEE_SSSS _c_m_d is _IIII_PPPP_CCCC______SSSS_TTTT_AAAA_TTTT and operation permission is denied to the
calling process [see _iiii_nnnn_tttt_rrrr_oooo(2)].
_EEEE_FFFF_AAAA_UUUU_LLLL_TTTT _b_u_f points to an illegal address.
_EEEE_IIII_NNNN_VVVV_AAAA_LLLL _m_s_q_i_d is not a valid message queue identifier.
_EEEE_IIII_NNNN_VVVV_AAAA_LLLL _c_m_d is not a valid command.
_EEEE_IIII_NNNN_VVVV_AAAA_LLLL _c_m_d is _IIII_PPPP_CCCC______SSSS_EEEE_TTTT and _mmmm_ssss_gggg______pppp_eeee_rrrr_mmmm_...._uuuu_iiii_dddd or _mmmm_ssss_gggg______pppp_eeee_rrrr_mmmm_...._gggg_iiii_dddd is not
valid.
_EEEE_OOOO_VVVV_EEEE_RRRR_FFFF_LLLL_OOOO_WWWW _c_m_d is _IIII_PPPP_CCCC______SSSS_TTTT_AAAA_TTTT and _u_i_d or _g_i_d is too large to be stored
in the structure pointed to by _b_u_f.
_EEEE_PPPP_EEEE_RRRR_MMMM _c_m_d is _IIII_PPPP_CCCC______RRRR_MMMM_IIII_DDDD or _IIII_PPPP_CCCC______SSSS_EEEE_TTTT, the effective user ID of the
calling process is not equal to the value of _mmmm_ssss_gggg______pppp_eeee_rrrr_mmmm_...._cccc_uuuu_iiii_dddd
or _mmmm_ssss_gggg______pppp_eeee_rrrr_mmmm_...._uuuu_iiii_dddd in the data structure associated with
_m_s_q_i_d and the process does not have the super-user
privilege.
_EEEE_PPPP_EEEE_RRRR_MMMM _c_m_d is _IIII_PPPP_CCCC______SSSS_EEEE_TTTT, an attempt is being made to increase to
the value of _mmmm_ssss_gggg______qqqq_bbbb_yyyy_tttt_eeee_ssss, and the calling process does not