File:  [Research Unix] / researchv9 / libc / nsys / execle.s
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:22:00 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv9-SUN3_old, researchv9-SUN3, HEAD
researchv9-SUN3(old)

# C library -- execle

# execle(file, arg1, arg2, ... , env);
#

.globl	_execle

_execle:
	linkw	a6,#0
	lea	sp@(8),a0
L1:
	movl	a0@+,d0		| traverse the args
	tstl	d0
	bne	L1
	movl	a0@,sp@-	| env
	pea	sp@(16)		| argv
	movl	sp@(16),sp@-	| file
	jsr	_execve
	addl	#12,sp
	unlk	a6
	rts

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.