aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2009-03-04 03:32:56 +0000
committerDavid Schultz <das@FreeBSD.org>2009-03-04 03:32:56 +0000
commita5e88ed71131aeddae53f2e9b2237007afe8c67b (patch)
tree6a1a43ecb3ff532e6f22fa90905ec29d939d775e
parentb2aa672ecd7125130e590285ccc3b4b79cebc254 (diff)
downloadsrc-a5e88ed71131aeddae53f2e9b2237007afe8c67b.tar.gz
src-a5e88ed71131aeddae53f2e9b2237007afe8c67b.zip
Add psignal to the POSIX.1-2008 namespace.
Notes
Notes: svn path=/head/; revision=189352
-rw-r--r--include/signal.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/signal.h b/include/signal.h
index 3241193ca588..8d7c2813d633 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