mirror of
https://github.com/golang/go
synced 2024-11-02 11:50:30 +00:00
syscall: document that Exec wraps execve(2)
Change-Id: I611511434f37c75f77c22f61f469108243bc0101 Reviewed-on: https://go-review.googlesource.com/29121 Reviewed-by: Russ Cox <rsc@golang.org>
This commit is contained in:
parent
6899843355
commit
8d1d9292ff
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue