Avoid is_constant calls in vectorizable_bswap
[official-gcc.git] / libgo / go / syscall / exec_stubs.go
blobe95b4158e1a073a80370e0b0eebe56fed9f67b33
1 // Copyright 2010 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
5 // +build rtems
7 // Stubs for fork, exec and wait.
9 package syscall
11 func ForkExec(argv0 string, argv []string, envv []string, dir string, fd []int) (pid int, err int) {
12 return -1, ENOSYS
15 func Exec(argv0 string, argv []string, envv []string) (err int) {
16 return ENOSYS
19 func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) {
20 return -1, ENOSYS
23 func (w WaitStatus) Exited() bool { return false }
24 func (w WaitStatus) Signaled() bool { return false }
25 func (w WaitStatus) Stopped() bool { return false }
26 func (w WaitStatus) Continued() bool { return false }
27 func (w WaitStatus) CoreDump() bool { return false }
28 func (w WaitStatus) ExitStatus() int { return 0 }
29 func (w WaitStatus) Signal() int { return 0 }
30 func (w WaitStatus) StopSignal() int { return 0 }
31 func (w WaitStatus) TrapCause() int { return 0 }
33 func raw_ptrace(request int, pid int, addr *byte, data *byte) Errno {
34 return ENOSYS