Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/compat/osf1 pull up rev 1.21 from trunk. (cgd)
details: https://anonhg.NetBSD.org/src/rev/d557d936d50c
branches: netbsd-1-4
changeset: 469074:d557d936d50c
user: cgd <cgd%NetBSD.org@localhost>
date: Sat Jun 26 01:52:13 1999 +0000
description:
pull up rev 1.21 from trunk. (cgd)
diffstat:
sys/compat/osf1/osf1.h | 23 +++++++++++++++++++++--
1 files changed, 21 insertions(+), 2 deletions(-)
diffs (51 lines):
diff -r a093a7992ee2 -r d557d936d50c sys/compat/osf1/osf1.h
--- a/sys/compat/osf1/osf1.h Fri Jun 25 21:02:26 1999 +0000
+++ b/sys/compat/osf1/osf1.h Sat Jun 26 01:52:13 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: osf1.h,v 1.20.4.2 1999/06/21 19:24:26 cgd Exp $ */
+/* $NetBSD: osf1.h,v 1.20.4.3 1999/06/26 01:52:13 cgd Exp $ */
/*
* Copyright (c) 1999 Christopher G. Demetriou. All rights reserved.
@@ -70,6 +70,7 @@
typedef void *osf1_data_ptr; /* XXX hard to fix size */
typedef void *osf1_fcn_ptr; /* XXX hard to fix size, bogus */
typedef osf1_int osf1_key_t;
+typedef osf1_int osf1_pid_t;
struct osf1_timeval { /* time.h */
osf1_time_t tv_sec;
@@ -156,7 +157,18 @@
#define OSF1_FASYNC 0x00000040
/* struct osf1_flock, for GETLK/SETLK/SETLKW */
-/* XXX */
+struct osf1_flock {
+ osf1_short l_type;
+ osf1_short l_whence;
+ osf1_off_t l_start;
+ osf1_off_t l_len;
+ osf1_pid_t l_pid;
+};
+
+/* GETLK/SETLK/SETLKW locking types */
+#define OSF1_F_RDLCK 1
+#define OSF1_F_WRLCK 2
+#define OSF1_F_UNLCK 8
/* open flags */
#define OSF1_O_RDONLY 0x00000000
@@ -387,6 +399,13 @@
};
+/* seek.h */
+
+#define OSF1_SEEK_SET 0
+#define OSF1_SEEK_CUR 1
+#define OSF1_SEEK_END 2
+
+
/* signal.h (some in machine/signal.h) */
struct osf1_sigaction {
Home |
Main Index |
Thread Index |
Old Index