See also: msg_remove_queue(), msg_receive(), msg_stat_queue() and msg_set_queue().
Upon successful completion the message queue data structure is updated as follows: msg_lspid is set to the process-ID of the calling process, msg_qnum is incremented by 1 and msg_stime is set to the current time.