aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/syscall/proc_emulated.go
blob: 89b22e818e80f6fd8a92451dc756c3926c0b1a0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// +build baremetal wasi wasm

// This file emulates some process-related functions that are only available
// under a real operating system.

package syscall

func Getuid() int  { return -1 }
func Geteuid() int { return -1 }
func Getgid() int  { return -1 }
func Getegid() int { return -1 }
func Getpid() int  { return -1 }
func Getppid() int { return -1 }