msgctl() 控制對message queue的操作。

int msgctl(int msqid, int cmd, struct msqid_ds *buf);

第一個參數 int msqid

return 0 成功 、return -1 失敗

http://man7.org/linux/man-pages/man2/msgctl.2.html#COLOPHON

arrow
arrow
    文章標籤
    Message Queue msgctl
    全站熱搜

    S 發表在 痞客邦 留言(0) 人氣()