projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
BSD 4 development
[unix-history]
/
usr
/
src
/
libc
/
sys
/
execv.s
# C library -- execv
# execv(file, argv);
#
# where argv is a vector argv[0] ... argv[x], 0
# last vector element must be 0
.globl _execv
.globl _environ
_execv:
.word 0x0000
pushl _environ # default environ
pushl 8(ap) # argv
pushl 4(ap) # file
calls $3,_execve
ret