SIGSUSPE.2
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- SIGSUSPEND(2) Minix Programmer's Manual SIGSUSPEND(2)
- NAME
- sigsuspend - suspend until signalled
- SYNOPSIS
- #include <signal.h>
- int sigsuspend(const sigset_t *set)
- DESCRIPTION
- Sigsuspend() installs the signal mask referenced by set and suspends the
- process until signalled. The signal is handled, the signal mask is
- restored to the value it had before the sigsuspend() call and call
- returns.
- SEE ALSO
- pause(2), sigaction(2), sigpending(2), sigprocmask(2), sigset(3).
- DIAGNOSTICS
- Sigsuspend() never returns normally, so it always returns -1. The error
- code is either EINTR indicating that a signal has arrived, or EFAULT for
- a bad set address.
- AUTHOR
- Kees J. Bot (kjb@cs.vu.nl)
- 1