msgx_ios.go 399 B

123456789101112
  1. package msgx
  2. import "syscall"
  3. // Available is always false on iOS, so App Store builds never look up private symbols.
  4. func Available() bool { return false }
  5. // Send always returns ENOSYS on iOS.
  6. func Send(uintptr, []Hdr, int) (int, syscall.Errno) { return 0, syscall.ENOSYS }
  7. // Recv always returns ENOSYS on iOS.
  8. func Recv(uintptr, []Hdr, int) (int, syscall.Errno) { return 0, syscall.ENOSYS }