summaryrefslogtreecommitdiffstats
path: root/include/signal.h
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2009-03-04 03:32:56 +0000
committerdas <das@FreeBSD.org>2009-03-04 03:32:56 +0000
commit8dcc83a1d4116213cc0c5df1b7a162c6730a30e3 (patch)
tree6a1a43ecb3ff532e6f22fa90905ec29d939d775e /include/signal.h
parentea9eb8e7e38a3fe81eabe96d11032a9cab1f13e3 (diff)
downloadFreeBSD-src-8dcc83a1d4116213cc0c5df1b7a162c6730a30e3.zip
FreeBSD-src-8dcc83a1d4116213cc0c5df1b7a162c6730a30e3.tar.gz
Add psignal to the POSIX.1-2008 namespace.
Diffstat (limited to 'include/signal.h')
-rw-r--r--include/signal.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/signal.h b/include/signal.h
index 3241193..8d7c281 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -95,6 +95,10 @@ int sigpause(int);
int siginterrupt(int, int);
#endif
+#if __POSIX_VISIBLE >= 200809 || __BSD_VISIBLE
+void psignal(unsigned int, const char *);
+#endif
+
#if __BSD_VISIBLE
int sigblock(int);
struct __ucontext; /* XXX spec requires a complete declaration. */
@@ -102,7 +106,6 @@ int sigreturn(const struct __ucontext *);
int sigsetmask(int);
int sigstack(const struct sigstack *, struct sigstack *);
int sigvec(int, struct sigvec *, struct sigvec *);
-void psignal(unsigned int, const char *);
#endif
__END_DECLS
OpenPOWER on IntegriCloud