summaryrefslogtreecommitdiff
path: root/sys/compat/linux/common/linux_misc.h
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>1999-05-13 00:31:57 +0000
committerthorpej <thorpej@NetBSD.org>1999-05-13 00:31:57 +0000
commit5512f35a124e20bf3a8975a511fd4485517e66c8 (patch)
tree11eb80aa65cc648e0843b19a717ea25c8b3c0b47 /sys/compat/linux/common/linux_misc.h
parent2fc0e437600dd54a1a86e03d7837d8ecc9b27d66 (diff)
Define the flags used by the Linux wait4() system call.
Diffstat (limited to 'sys/compat/linux/common/linux_misc.h')
-rw-r--r--sys/compat/linux/common/linux_misc.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/compat/linux/common/linux_misc.h b/sys/compat/linux/common/linux_misc.h
index 237ecf8b796..831f97a77cd 100644
--- a/sys/compat/linux/common/linux_misc.h
+++ b/sys/compat/linux/common/linux_misc.h
@@ -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 *));