BSD 4_1c_2 development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Wed, 29 Dec 1982 06:30:04 +0000 (22:30 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Wed, 29 Dec 1982 06:30:04 +0000 (22:30 -0800)
Work on file usr/src/lib/libc/sys/execle.c
Work on file usr/src/lib/libc/sys/execl.c
Work on file usr/src/lib/libc/sys/exect.c

Synthesized-from: CSRG/cd1/4.1c.2

usr/src/lib/libc/sys/execl.c [new file with mode: 0644]
usr/src/lib/libc/sys/execle.c [new file with mode: 0644]
usr/src/lib/libc/sys/exect.c [new file with mode: 0644]

diff --git a/usr/src/lib/libc/sys/execl.c b/usr/src/lib/libc/sys/execl.c
new file mode 100644 (file)
index 0000000..c34ea56
--- /dev/null
@@ -0,0 +1,9 @@
+/* execl.c 4.1 82/12/04 */
+
+#include "SYS.h"
+
+ENTRY(execl)
+       pushab  8(ap)
+       pushl   4(ap)
+       calls   $2,_execv
+       ret             # execl(file, arg1, arg2, ..., 0);
diff --git a/usr/src/lib/libc/sys/execle.c b/usr/src/lib/libc/sys/execle.c
new file mode 100644 (file)
index 0000000..29eca41
--- /dev/null
@@ -0,0 +1,11 @@
+/* execle.c 4.1 82/12/04 */
+
+#include "SYS.h"
+
+ENTRY(execle)
+       movl    (ap),r0
+       pushl   (ap)[r0]
+       pushab  8(ap)
+       pushl   4(ap)
+       calls   $3,_execve
+       ret             # execle(file, arg1, arg2, ..., env);
diff --git a/usr/src/lib/libc/sys/exect.c b/usr/src/lib/libc/sys/exect.c
new file mode 100644 (file)
index 0000000..283dcc2
--- /dev/null
@@ -0,0 +1,9 @@
+/* exect.c 4.2 82/12/17 */
+
+#include "SYS.h"
+#include <machine/psl.h>
+
+ENTRY(exect)
+       bispsw  $PSL_T
+       chmk    $SYS_execve
+       jmp     cerror          # exect(file, argv, env)