aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/syscall/proc_emulated.go
blob: bcf8eabe942c49f270052bbfa4062f8f1ff51009 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//go:build baremetal || tinygo.wasm || nintendoswitch

// 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 }