Найдено документов: 665 (1 сайтов) ---- Время поиска: 0.08сек. |
Показаны документы, содержащие фрагменты текста из документа
http://mavr.sao.ru/hq/sts/linux/doc/rubini/ch09.html.
http://mavr.sao.ru/hq/sts/linux/doc/rubini/ch09.html.
1. IPC:Interrupts and Signals: <signal.h>
... int kill(int pid, int signal) - a system call that send a signal to a process, pid . ... sig_talk.c --- Example of how 2 processes can talk */ /* to each other using kill () and signal () */ /* We will fork() 2 process and let the parent send a few */ /* signals to it`s child */ /* cc sig_talk.c -o sig_talk */ #include stdio.h #include signal.h void sighup(); /* routines child will call upon sigtrap */ void sigint (); void sigquit(); main() { int pid ; /* get child process */ if ((...
[
Сохраненная копия
]
Ссылки http://mavr.sao.ru/hq/sts/linux/book/c_marshall/node24.html -- 13.3 Кб -- 28.12.2007
Похожие документы
Похожие документы
Еще в разделе:
(Показать все результаты (>665) - jet.sao.ru/ )
Астронет | Научная сеть | ГАИШ МГУ | Поиск по МГУ | О проекте | Авторам
Комментарии, вопросы? Пишите: info@astronet.ru или сюда