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

sigdelset.3p (2884B)


  1. '\" et
  2. .TH SIGDELSET "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. sigdelset
  12. \(em delete a signal from a signal set
  13. .SH SYNOPSIS
  14. .LP
  15. .nf
  16. #include <signal.h>
  17. .P
  18. int sigdelset(sigset_t *\fIset\fP, int \fIsigno\fP);
  19. .fi
  20. .SH DESCRIPTION
  21. The
  22. \fIsigdelset\fR()
  23. function deletes the individual signal specified by
  24. .IR signo
  25. from the signal set pointed to by
  26. .IR set .
  27. .P
  28. Applications should call either
  29. \fIsigemptyset\fR()
  30. or
  31. \fIsigfillset\fR()
  32. at least once for each object of type
  33. .BR sigset_t
  34. prior to any other use of that object. If such an object is not
  35. initialized in this way, but is nonetheless supplied as an argument to
  36. any of
  37. \fIpthread_sigmask\fR(),
  38. \fIsigaction\fR(),
  39. \fIsigaddset\fR(),
  40. \fIsigdelset\fR(),
  41. \fIsigismember\fR(),
  42. \fIsigpending\fR(),
  43. \fIsigprocmask\fR(),
  44. \fIsigsuspend\fR(),
  45. \fIsigtimedwait\fR(),
  46. \fIsigwait\fR(),
  47. or
  48. \fIsigwaitinfo\fR(),
  49. the results are undefined.
  50. .SH "RETURN VALUE"
  51. Upon successful completion,
  52. \fIsigdelset\fR()
  53. shall return 0; otherwise, it shall return \-1 and set
  54. .IR errno
  55. to indicate the error.
  56. .SH ERRORS
  57. The
  58. \fIsigdelset\fR()
  59. function may fail if:
  60. .TP
  61. .BR EINVAL
  62. The
  63. .IR signo
  64. argument is not a valid signal number, or is an unsupported signal
  65. number.
  66. .LP
  67. .IR "The following sections are informative."
  68. .SH EXAMPLES
  69. None.
  70. .SH "APPLICATION USAGE"
  71. None.
  72. .SH RATIONALE
  73. None.
  74. .SH "FUTURE DIRECTIONS"
  75. None.
  76. .SH "SEE ALSO"
  77. .IR "Section 2.4" ", " "Signal Concepts",
  78. .IR "\fIpthread_sigmask\fR\^(\|)",
  79. .IR "\fIsigaction\fR\^(\|)",
  80. .IR "\fIsigaddset\fR\^(\|)",
  81. .IR "\fIsigemptyset\fR\^(\|)",
  82. .IR "\fIsigfillset\fR\^(\|)",
  83. .IR "\fIsigismember\fR\^(\|)",
  84. .IR "\fIsigpending\fR\^(\|)",
  85. .IR "\fIsigsuspend\fR\^(\|)"
  86. .P
  87. The Base Definitions volume of POSIX.1\(hy2017,
  88. .IR "\fB<signal.h>\fP"
  89. .\"
  90. .SH COPYRIGHT
  91. Portions of this text are reprinted and reproduced in electronic form
  92. from IEEE Std 1003.1-2017, Standard for Information Technology
  93. -- Portable Operating System Interface (POSIX), The Open Group Base
  94. Specifications Issue 7, 2018 Edition,
  95. Copyright (C) 2018 by the Institute of
  96. Electrical and Electronics Engineers, Inc and The Open Group.
  97. In the event of any discrepancy between this version and the original IEEE and
  98. The Open Group Standard, the original IEEE and The Open Group Standard
  99. is the referee document. The original Standard can be obtained online at
  100. http://www.opengroup.org/unix/online.html .
  101. .PP
  102. Any typographical or formatting errors that appear
  103. in this page are most likely
  104. to have been introduced during the conversion of the source files to
  105. man page format. To report such errors, see
  106. https://www.kernel.org/doc/man-pages/reporting_bugs.html .