logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

sigpending.3p (2232B)


  1. '\" et
  2. .TH SIGPENDING "3P" 2017 "IEEE/The Open Group" "POSIX Programmer's Manual"
  3. .\"
  4. .SH PROLOG
  5. This manual page is part of the POSIX Programmer's Manual.
  6. The Linux implementation of this interface may differ (consult
  7. the corresponding Linux manual page for details of Linux behavior),
  8. or the interface may not be implemented on Linux.
  9. .\"
  10. .SH NAME
  11. sigpending
  12. \(em examine pending signals
  13. .SH SYNOPSIS
  14. .LP
  15. .nf
  16. #include <signal.h>
  17. .P
  18. int sigpending(sigset_t *\fIset\fP);
  19. .fi
  20. .SH DESCRIPTION
  21. The
  22. \fIsigpending\fR()
  23. function shall store, in the location referenced by the
  24. .IR set
  25. argument, the set of signals that are blocked from delivery to the
  26. calling thread and that are pending on the process or the calling
  27. thread.
  28. .SH "RETURN VALUE"
  29. Upon successful completion,
  30. \fIsigpending\fR()
  31. shall return 0; otherwise, \-1 shall be returned and
  32. .IR errno
  33. set to indicate the error.
  34. .SH ERRORS
  35. No errors are defined.
  36. .LP
  37. .IR "The following sections are informative."
  38. .SH EXAMPLES
  39. None.
  40. .SH "APPLICATION USAGE"
  41. None.
  42. .SH RATIONALE
  43. None.
  44. .SH "FUTURE DIRECTIONS"
  45. None.
  46. .SH "SEE ALSO"
  47. .IR "\fIexec\fR\^",
  48. .IR "\fIpthread_sigmask\fR\^(\|)",
  49. .IR "\fIsigaddset\fR\^(\|)",
  50. .IR "\fIsigdelset\fR\^(\|)",
  51. .IR "\fIsigemptyset\fR\^(\|)",
  52. .IR "\fIsigfillset\fR\^(\|)",
  53. .IR "\fIsigismember\fR\^(\|)"
  54. .P
  55. The Base Definitions volume of POSIX.1\(hy2017,
  56. .IR "\fB<signal.h>\fP"
  57. .\"
  58. .SH COPYRIGHT
  59. Portions of this text are reprinted and reproduced in electronic form
  60. from IEEE Std 1003.1-2017, Standard for Information Technology
  61. -- Portable Operating System Interface (POSIX), The Open Group Base
  62. Specifications Issue 7, 2018 Edition,
  63. Copyright (C) 2018 by the Institute of
  64. Electrical and Electronics Engineers, Inc and The Open Group.
  65. In the event of any discrepancy between this version and the original IEEE and
  66. The Open Group Standard, the original IEEE and The Open Group Standard
  67. is the referee document. The original Standard can be obtained online at
  68. http://www.opengroup.org/unix/online.html .
  69. .PP
  70. Any typographical or formatting errors that appear
  71. in this page are most likely
  72. to have been introduced during the conversion of the source files to
  73. man page format. To report such errors, see
  74. https://www.kernel.org/doc/man-pages/reporting_bugs.html .