Commit 8d1d9292 authored by Kevin Burke's avatar Kevin Burke Committed by Russ Cox

syscall: document that Exec wraps execve(2)

Change-Id: I611511434f37c75f77c22f61f469108243bc0101
Reviewed-on: https://go-review.googlesource.com/29121Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
parent 68998433
......@@ -241,7 +241,7 @@ func StartProcess(argv0 string, argv []string, attr *ProcAttr) (pid int, handle
return pid, 0, err
}
// Ordinary exec.
// Exec invokes the execve(2) system call.
func Exec(argv0 string, argv []string, envv []string) (err error) {
argv0p, err := BytePtrFromString(argv0)
if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment