Browse Source

The open POSIX test suite reveals that sigpause(int sigmask) from

4.2 BSD takes a signal mask as argument while POSIX sigpause(int
sig) expects a single signal.  Do not expose our traditional BSD
sigpause(3) to XPG/POSIX sources.
OK guenther@
OPENBSD_6_4
bluhm 6 years ago
parent
commit
45e07ff629
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      src/include/signal.h

+ 3
- 2
src/include/signal.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: signal.h,v 1.25 2016/05/09 23:55:52 guenther Exp $ */
/* $OpenBSD: signal.h,v 1.26 2018/05/30 13:20:38 bluhm Exp $ */
/* $NetBSD: signal.h,v 1.8 1996/02/29 00:04:57 jtc Exp $ */
/*-
@ -117,11 +117,12 @@ __only_inline int sigfillset(sigset_t *__set)
#if __BSD_VISIBLE || __XPG_VISIBLE >= 420
int killpg(pid_t, int);
int siginterrupt(int, int);
int sigpause(int);
int sigaltstack(const struct sigaltstack *__restrict,
struct sigaltstack *__restrict);
#if __BSD_VISIBLE
int sigblock(int);
/* This is the traditional BSD sigpause() and not the XPG/POSIX sigpause(). */
int sigpause(int);
int sigsetmask(int);
int sigvec(int, struct sigvec *, struct sigvec *);
int thrkill(pid_t _tid, int _signum, void *_tcb);


Loading…
Cancel
Save