Astronet Поиск по астрономическим сайтам English Russian
       
        Точная форма слов   О проекте   Сайты   Справка
Поиск по:   - Поискать по всем серверам
На этой странице приведены все страницы, которые ссылаются на http://jet.sao.ru/hq/sts/linux/doc/ipc_guide/fifos.html. Показаны документы 1 - 1 из 1.

1. Message Queues
... The call to accomplish this is the msgget() system call: int msgget(key_t key , int msgflg ); msgget() returns the message queue ID on success, or -1 on failure (and it sets errno , of course.) ... And here is a code snippet that shows one of our pirate structures being added to the message queue: #include key_t key; int msqid; struct pirate_msgbuf pmb = {2, "L'Olonais", 'S', 80, 10, 12035}; key = ftok("/home/beej/somefile", 'b'); msqid = msgget(key, 0666 | ... And the message queue is no more. ...
[ Сохраненная копия ]  Ссылки http://mavr.sao.ru/hq/sts/linux/doc/ipc_guide/mq.html -- 15.6 Кб -- 28.12.2007
[ Сохраненная копия ]  Ссылки http://www.sao.ru/hq/sts/linux/doc/ipc_guide/mq.html -- 15.6 Кб -- 02.10.2012
[ Сохраненная копия ]  Ссылки http://jet.sao.ru/hq/sts/linux/doc/ipc_guide/mq.html -- 15.6 Кб -- 02.10.2012
Похожие документы


Астронет | Научная сеть | ГАИШ МГУ | Поиск по МГУ | О проекте | Авторам

Комментарии, вопросы? Пишите: info@astronet.ru или сюда

Rambler's Top100 RFBR Яндекс цитирования