summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authordufault <dufault@FreeBSD.org>1998-03-28 11:51:01 +0000
committerdufault <dufault@FreeBSD.org>1998-03-28 11:51:01 +0000
commit8ed0defc6e5c9d291026302e0d45357454484c5d (patch)
tree805e852c0dbabdcdb6254773c9023caa32928e3a /include
parentcd450d67141a2e84500ff624dc9d39c255a7de77 (diff)
downloadFreeBSD-src-8ed0defc6e5c9d291026302e0d45357454484c5d.zip
FreeBSD-src-8ed0defc6e5c9d291026302e0d45357454484c5d.tar.gz
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.
Diffstat (limited to 'include')
-rw-r--r--include/Makefile4
-rw-r--r--include/limits.h4
-rw-r--r--include/signal.h10
-rw-r--r--include/time.h8
4 files changed, 13 insertions, 13 deletions
diff --git a/include/Makefile b/include/Makefile
index 21c92a2..63021b6 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -1,5 +1,5 @@
# From: @(#)Makefile 8.2 (Berkeley) 1/4/94
-# $Id: Makefile,v 1.74 1998/03/08 02:17:25 jb Exp $
+# $Id: Makefile,v 1.75 1998/03/08 21:35:29 jb Exp $
#
# Doing a make install builds /usr/include
#
@@ -35,7 +35,7 @@ RPCFILES= auth.h auth_unix.h clnt.h pmap_clnt.h pmap_prot.h pmap_rmt.h \
MFILES= float.h floatingpoint.h stdarg.h varargs.h
# posix4/aio.h conflicts with dysons and isn't installed:
-PFILES= mqueue.h posix4.h sched.h semaphore.h \
+PFILES= mqueue.h sched.h semaphore.h \
# aio.h
LFILES= errno.h fcntl.h poll.h syslog.h termios.h
diff --git a/include/limits.h b/include/limits.h
index 251010b..2d4012f 100644
--- a/include/limits.h
+++ b/include/limits.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)limits.h 8.2 (Berkeley) 1/4/94
- * $Id: limits.h,v 1.7 1998/03/08 17:24:31 dufault Exp $
+ * $Id: limits.h,v 1.8 1998/03/08 22:29:56 dufault Exp $
*/
#ifndef _LIMITS_H_
@@ -63,7 +63,7 @@
#define _POSIX2_RE_DUP_MAX 255
-#ifdef _POSIX4_VISIBLE
+#ifdef _P1003_1B_VISIBLE
#define _POSIX_AIO_LISTIO_MAX 16
#define _POSIX_AIO_MAX 1
diff --git a/include/signal.h b/include/signal.h
index f17820b..0fb33e8 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));
diff --git a/include/time.h b/include/time.h
index 29cae4c..3ef8360 100644
--- a/include/time.h
+++ b/include/time.h
@@ -42,6 +42,7 @@
#define _TIME_H_
#include <machine/ansi.h>
+#include <sys/_posix.h>
#ifndef _ANSI_SOURCE
/*
@@ -73,7 +74,10 @@ typedef _BSD_SIZE_T_ size_t;
#undef _BSD_SIZE_T_
#endif
-#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
+/* XXX I'm not sure if _ANSI_SOURCE is playing properly
+ * with the setups in _posix.h:
+ */
+#if !defined(_ANSI_SOURCE) && defined(_P1003_1B_VISIBLE_HISTORICALLY)
/*
* New in POSIX 1003.1b-1993.
*/
@@ -140,7 +144,9 @@ char *timezone __P((int, int));
void tzsetwall __P((void));
time_t timelocal __P((struct tm * const));
time_t timegm __P((struct tm * const));
+#endif /* neither ANSI nor POSIX */
+#if !defined(_ANSI_SOURCE) && defined(_P1003_1B_VISIBLE_HISTORICALLY)
/* Introduced in POSIX 1003.1b-1993, not part of 1003.1-1990. */
int clock_getres __P((clockid_t, struct timespec *));
int clock_gettime __P((clockid_t, struct timespec *));
OpenPOWER on IntegriCloud