about summary refs log tree commit diff
path: root/signal/signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'signal/signal.h')
-rw-r--r--signal/signal.h21
1 files changed, 5 insertions, 16 deletions
diff --git a/signal/signal.h b/signal/signal.h
index bbca812b6d..b42d897f8b 100644
--- a/signal/signal.h
+++ b/signal/signal.h
@@ -318,27 +318,16 @@ extern int sigreturn __P ((struct sigcontext *__scp));
    calls be restarted after signal SIG.  */
 extern int siginterrupt __P ((int __sig, int __interrupt));
 
-
-/* Structure describing a signal stack.  */
-struct sigstack
-  {
-    __ptr_t ss_sp;		/* Signal stack pointer.  */
-    int ss_onstack;		/* Nonzero if executing on this stack.  */
-  };
+# include <bits/sigstack.h>
 
 /* Run signals handlers on the stack specified by SS (if not NULL).
-   If OSS is not NULL, it is filled in with the old signal stack status.  */
+   If OSS is not NULL, it is filled in with the old signal stack status.
+   This interface is obsolete and on many platform not implemented.  */
 extern int sigstack __P ((__const struct sigstack *__ss,
 			  struct sigstack *__oss));
 
-/* Alternate interface.  */
-typedef struct sigaltstack
-  {
-    __ptr_t ss_sp;
-    int ss_flags;
-    size_t ss_size;
-  } stack_t;
-
+/* Alternate signal handler stack interface.
+   This interface should always be preferred over `sigstack'.  */
 extern int sigaltstack __P ((__const struct sigaltstack *__ss,
 			     struct sigaltstack *__oss));