github.com/bored-engineer/go-launchd@v0.0.0-20230905041514-6aff1185c30f/unsupported.go (about) 1 //go:build !darwin 2 // +build !darwin 3 4 package launchd 5 6 import "syscall" 7 8 // Supported is true if launchd socket activation is supported on this platform 9 const Supported = false 10 11 // Always returns syscall.ENOSYS on unsupported platforms 12 func libxpc_launch_activate_socket(name string) ([]int, error) { 13 return nil, syscall.ENOSYS 14 }