proc_emulated.mx raw

   1  //go:build baremetal || moxie.wasm || nintendoswitch
   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 }
  14