mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-04 19:17:47 +00:00
14 lines
365 B
Go
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 }
|