date and time created 90/04/23 19:38:46 by william
authorWilliam Nesheim <william@ucbvax.Berkeley.EDU>
Tue, 24 Apr 1990 10:38:46 +0000 (02:38 -0800)
committerWilliam Nesheim <william@ucbvax.Berkeley.EDU>
Tue, 24 Apr 1990 10:38:46 +0000 (02:38 -0800)
SCCS-vsn: lib/libc/i386/sys/execv.s 5.1

usr/src/lib/libc/i386/sys/execv.s [new file with mode: 0644]

diff --git a/usr/src/lib/libc/i386/sys/execv.s b/usr/src/lib/libc/i386/sys/execv.s
new file mode 100644 (file)
index 0000000..077f73a
--- /dev/null
@@ -0,0 +1,26 @@
+/*-
+ * Copyright (c) 1990 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * William Jolitz.
+ *
+ * %sccs.include.redist.c%
+ */
+
+#if defined(SYSLIBC_SCCS) && !defined(lint)
+       .asciz "@(#)execv.s     5.1 (Berkeley) %G%"
+#endif /* SYSLIBC_SCCS and not lint */
+
+#include "SYS.h"
+
+ENTRY(execv)
+       .globl  _environ
+       pushl   _environ
+       movl    8+4(%esp),%eax
+       pushl   %eax
+       movl    4+8(%esp),%eax
+       pushl   %eax
+       call    _execve
+       addl    $12,%esp
+       ret                     /* execv(file, argv); */