Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/sys Lint stubs for clone(2).



details:   https://anonhg.NetBSD.org/src/rev/cadb2787b8b5
branches:  trunk
changeset: 512787:cadb2787b8b5
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Jul 17 03:05:43 2001 +0000

description:
Lint stubs for clone(2).

diffstat:

 lib/libc/sys/Lint___clone.c |  15 +++++++++++++++
 lib/libc/sys/Lint_clone.c   |  15 +++++++++++++++
 2 files changed, 30 insertions(+), 0 deletions(-)

diffs (38 lines):

diff -r 7bf97db71e88 -r cadb2787b8b5 lib/libc/sys/Lint___clone.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lib/libc/sys/Lint___clone.c       Tue Jul 17 03:05:43 2001 +0000
@@ -0,0 +1,15 @@
+/* $NetBSD: Lint___clone.c,v 1.1 2001/07/17 03:05:43 thorpej Exp $ */
+
+/*
+ * This file placed in the public domain.
+ * Jason R. Thorpe, July 16, 2001.
+ */
+
+#include <sched.h>
+
+/*ARGSUSED*/
+pid_t
+__clone(int (*func)(void *), void *stack, int flags, void *arg)
+{
+       return (0);
+}
diff -r 7bf97db71e88 -r cadb2787b8b5 lib/libc/sys/Lint_clone.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lib/libc/sys/Lint_clone.c Tue Jul 17 03:05:43 2001 +0000
@@ -0,0 +1,15 @@
+/* $NetBSD: Lint_clone.c,v 1.1 2001/07/17 03:05:43 thorpej Exp $ */
+
+/*
+ * This file placed in the public domain.
+ * Jason R. Thorpe, July 16, 2001.
+ */
+
+#include <sched.h>
+
+/*ARGSUSED*/
+pid_t
+clone(int (*func)(void *), void *stack, int flags, void *arg)
+{
+       return (0);
+}



Home | Main Index | Thread Index | Old Index