SIGSUSPE.2
Upload User: jnzhq888
Upload Date: 2007-01-18
Package Size: 51694k
Code Size: 1k
Category:

OS Develop

Development Platform:

WINDOWS

  1. .TH SIGSUSPEND 2
  2. .SH NAME
  3. sigsuspend - suspend until signalled
  4. .SH SYNOPSIS
  5. .ft B
  6. #include <signal.h>
  7. int sigsuspend(const sigset_t *fIsetfP)
  8. .ft P
  9. .SH DESCRIPTION
  10. .B Sigsuspend()
  11. installs the signal mask referenced by
  12. .I set
  13. and suspends the process until signalled.  The signal is handled, the signal
  14. mask is restored to the value it had before the
  15. .B sigsuspend()
  16. call and call returns.
  17. .SH "SEE ALSO"
  18. .BR pause (2),
  19. .BR sigaction (2),
  20. .BR sigpending (2),
  21. .BR sigprocmask (2),
  22. .BR sigset (3).
  23. .SH DIAGNOSTICS
  24. .B Sigsuspend()
  25. never returns normally, so it always returns
  26. .BR -1 .
  27. The error code is either
  28. .B EINTR
  29. indicating that a signal has arrived, or
  30. .B EFAULT
  31. for a bad
  32. .I set
  33. address.
  34. .SH AUTHOR
  35. Kees J. Bot (kjb@cs.vu.nl)