aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/syscall/proc_emulated.go
blob: d8e7ff7a92f4271904df31d392ec75658b8f6ce9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//go:build baremetal || tinygo.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 }