event_new 사용법과 같은데, 파일 디스크립터 대신 시그널 번호만 넘겨주는 것이 다르다. Example. struct event *hup_event; struct event_base *base = ...
確定! 回上一頁