Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * Copyright (c) 1983 Regents of the University of California. | |
3 | * All rights reserved. The Berkeley software License Agreement | |
4 | * specifies the terms and conditions for redistribution. | |
5 | */ | |
6 | ||
7 | #ifndef lint | |
8 | _sccsid:.asciz "@(#)execle.s 5.2 (Berkeley) %G%" | |
9 | #endif not lint | |
10 | ||
11 | #include "SYS.h" | |
12 | ||
13 | ENTRY(execle) | |
14 | movl (ap),r0 | |
15 | pushl (ap)[r0] | |
16 | pushab 8(ap) | |
17 | pushl 4(ap) | |
18 | calls $3,_execve | |
19 | ret # execle(file, arg1, arg2, ..., env); |