github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/src/syscall/proc_emulated.go (about) 1 //go:build baremetal || tinygo.wasm 2 3 // This file emulates some process-related functions that are only available 4 // under a real operating system. 5 6 package syscall 7 8 func Getuid() int { return -1 } 9 func Geteuid() int { return -1 } 10 func Getgid() int { return -1 } 11 func Getegid() int { return -1 } 12 func Getpid() int { return -1 } 13 func Getppid() int { return -1 }