Files
tinygo/src/syscall/proc_emulated.go
T
2022-12-19 23:20:11 +01:00

14 lines
365 B
Go

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