OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libgo/] [go/] [syscall/] [exec_stubs.go] - Blame information for rev 867

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 747 jeremybenn
// 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.
4
 
5
// Stubs for fork, exec and wait.
6
 
7
package syscall
8
 
9
func ForkExec(argv0 string, argv []string, envv []string, dir string, fd []int) (pid int, err int) {
10
        return -1, ENOSYS
11
}
12
 
13
func Exec(argv0 string, argv []string, envv []string) (err int) {
14
        return ENOSYS
15
}
16
 
17
func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) {
18
        return -1, ENOSYS
19
}
20
 
21
func (w WaitStatus) Exited() bool    { return false }
22
func (w WaitStatus) Signaled() bool  { return false }
23
func (w WaitStatus) Stopped() bool   { return false }
24
func (w WaitStatus) Continued() bool { return false }
25
func (w WaitStatus) CoreDump() bool  { return false }
26
func (w WaitStatus) ExitStatus() int { return 0 }
27
func (w WaitStatus) Signal() int     { return 0 }
28
func (w WaitStatus) StopSignal() int { return 0 }
29
func (w WaitStatus) TrapCause() int  { return 0 }
30
 
31
func raw_ptrace(request int, pid int, addr *byte, data *byte) Errno {
32
        return ENOSYS
33
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.