Added MSG_R and MSG_W value and struct msgbuf structure