Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/linux/common Define the flags used by the Linux w...



details:   https://anonhg.NetBSD.org/src/rev/4684fe3826d5
branches:  trunk
changeset: 472936:4684fe3826d5
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu May 13 00:31:57 1999 +0000

description:
Define the flags used by the Linux wait4() system call.

diffstat:

 sys/compat/linux/common/linux_misc.h |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r a29e2a1548ff -r 4684fe3826d5 sys/compat/linux/common/linux_misc.h
--- a/sys/compat/linux/common/linux_misc.h      Wed May 12 22:55:14 1999 +0000
+++ b/sys/compat/linux/common/linux_misc.h      Thu May 13 00:31:57 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_misc.h,v 1.2 1998/10/03 20:17:42 christos Exp $  */
+/*     $NetBSD: linux_misc.h,v 1.3 1999/05/13 00:31:57 thorpej Exp $   */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -39,6 +39,13 @@
 #ifndef _LINUX_MISC_H
 #define _LINUX_MISC_H
 
+/*
+ * Options passed to the Linux wait4() system call.
+ */
+#define        LINUX_WAIT4_WNOHANG     0x00000001
+#define        LINUX_WAIT4_WUNTRACED   0x00000002
+#define        LINUX_WAIT4_WCLONE      0x80000000
+
 #ifdef _KERNEL
 __BEGIN_DECLS
 void bsd_to_linux_wstat __P((int *));



Home | Main Index | Thread Index | Old Index