aboutsummaryrefslogtreecommitdiffstats
path: root/include/signal.h
diff options
context:
space:
mode:
authorPeter Dufault <dufault@FreeBSD.org>1998-03-28 11:51:01 +0000
committerPeter Dufault <dufault@FreeBSD.org>1998-03-28 11:51:01 +0000
commit8a6472b7239ccfab9d1ce96671a9837813698499 (patch)
tree6782e79d2d7ebfdd101778e6c8dbb33325c8ebcc /include/signal.h
parent08637435f22f9a440b841624d8f1d32d36a900d3 (diff)
downloadsrc-8a6472b7239ccfab9d1ce96671a9837813698499.tar.gz
src-8a6472b7239ccfab9d1ce96671a9837813698499.zip
Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B and
_KPOSIX_PRIORITY_SCHEDULING options to work. Changes: Change all "posix4" to "p1003_1b". Misnamed files are left as "posix4" until I'm told if I can simply delete them and add new ones; Add _POSIX_PRIORITY_SCHEDULING system calls for FreeBSD and Linux; Add man pages for _POSIX_PRIORITY_SCHEDULING system calls; Add options to LINT; Minor fixes to P1003_1B code during testing.
Notes
Notes: svn path=/head/; revision=34925
Diffstat (limited to 'include/signal.h')
-rw-r--r--include/signal.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/signal.h b/include/signal.h
index f17820be0854..0fb33e820b06 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -37,9 +37,9 @@
#define _SIGNAL_H_
#include <sys/cdefs.h>
+#include <sys/_posix.h>
#include <sys/signal.h>
#include <machine/ansi.h>
-#include <sys/_posix.h>
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
extern __const char *__const sys_signame[NSIG];
@@ -66,13 +66,7 @@ int sigprocmask __P((int, const sigset_t *, sigset_t *));
int sigsuspend __P((const sigset_t *));
-#ifdef _POSIX4_VISIBLE
-
-typedef struct siginfo {
- int si_signo; /* Signal number */
- int si_code; /* Cause of the signal */
- union sigval si_value; /* Signal value */
-} siginfo_t;
+#ifdef _P1003_1B_VISIBLE
__BEGIN_DECLS
int sigqueue __P((_BSD_PID_T_, int, const union sigval));