Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/osf1 systeminfo.h SI_* constants, wait.h W{NOHANG...



details:   https://anonhg.NetBSD.org/src/rev/fcefd3898497
branches:  trunk
changeset: 472460:fcefd3898497
user:      cgd <cgd%NetBSD.org@localhost>
date:      Fri Apr 30 02:12:03 1999 +0000

description:
systeminfo.h SI_* constants, wait.h W{NOHANG,UNTRACED}, plus spacing cleanup

diffstat:

 sys/compat/osf1/osf1.h |  42 ++++++++++++++++++++++++++++++++++--------
 1 files changed, 34 insertions(+), 8 deletions(-)

diffs (72 lines):

diff -r 9b1104b3a902 -r fcefd3898497 sys/compat/osf1/osf1.h
--- a/sys/compat/osf1/osf1.h    Fri Apr 30 01:57:27 1999 +0000
+++ b/sys/compat/osf1/osf1.h    Fri Apr 30 02:12:03 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: osf1.h,v 1.11 1999/04/29 05:54:13 cgd Exp $ */
+/* $NetBSD: osf1.h,v 1.12 1999/04/30 02:12:03 cgd Exp $ */
 
 /*
  * Copyright (c) 1999 Christopher G. Demetriou.  All rights reserved.
@@ -194,7 +194,7 @@
 #define OSF1_IOCPARM_MASK      0x1fff
 #define OSF1_IOCPARM_LEN(x)    (((x) >> 16) & OSF1_IOCPARM_MASK)
 #define OSF1_IOCGROUP(x)       (((x) >> 8) & 0xff)
-#define OSF1_IOCCMD(x)          ((x) & 0xff)
+#define OSF1_IOCCMD(x)         ((x) & 0xff)
 
 #define OSF1_IOCPARM_MAX       8192
 #define OSF1_IOC_VOID          0x20000000
@@ -462,6 +462,22 @@
 };
 
 
+/* systeminfo.h */
+
+#define OSF1_SI_SYSNAME                1
+#define OSF1_SI_HOSTNAME       2
+#define OSF1_SI_RELEASE                3
+#define OSF1_SI_VERSION                4
+#define OSF1_SI_MACHINE                5
+#define OSF1_SI_ARCHITECTURE   6
+#define OSF1_SI_HW_SERIAL      7
+#define OSF1_SI_HW_PROVIDER    8
+#define OSF1_SI_SRPC_DOMAIN    9
+#define OSF1_SI_SET_HOSTNAME   258
+#define OSF1_SI_SET_SYSNAME    259
+#define OSF1_SI_SET_SRPC_DOMAIN        265
+
+
 /* time.h */
 
 struct osf1_itimerval {
@@ -500,14 +516,24 @@
 
 /* utsname.h */
 
-#define        OSF1__SYS_NMLN                  32
+#define        OSF1__SYS_NMLN          32
 
 struct osf1_utsname {
-        char    sysname[OSF1__SYS_NMLN];
-        char    nodename[OSF1__SYS_NMLN];
-        char    release[OSF1__SYS_NMLN];
-        char    version[OSF1__SYS_NMLN];
-        char    machine[OSF1__SYS_NMLN];
+       char            sysname[OSF1__SYS_NMLN];
+       char            nodename[OSF1__SYS_NMLN];
+       char            release[OSF1__SYS_NMLN];
+       char            version[OSF1__SYS_NMLN];
+       char            machine[OSF1__SYS_NMLN];
 };
 
+
+/* wait.h */
+
+/* wait3() and wait4() options. */
+#define        OSF1_WNOHANG            0x01
+#define        OSF1_WUNTRACED          0x02
+
+/* XXX should have status word bits */
+
+
 #endif /* _COMPAT_OSF1_OSF1_H_ */



Home | Main Index | Thread Index | Old Index