OSDN Git Service

* config/i386/sse.md (sseintprefix): Rename from gthrfirstp.
[pf3gnuchains/gcc-fork.git] / libgo / syscalls / exec_stubs.go
1 // exec_stubs.go -- fork/exec stubs.
2
3 // Copyright 2010 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
6
7 // Stubs for fork, exec and wait.
8
9 package syscall
10
11 func ForkExec(argv0 string, argv []string, envv []string, dir string, fd []int) (pid int, err int) {
12         return -1, ENOSYS;
13 }
14
15 func PtraceForkExec(argv0 string, argv []string, envv []string, dir string, fd []int) (pid int, err int) {
16         return -1, ENOSYS;
17 }
18
19 func Exec(argv0 string, argv []string, envv []string) (err int) {
20         return ENOSYS;
21 }
22
23 func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, errno int) {
24         return -1, ENOSYS;
25 }