github.com/bored-engineer/go-launchd@v0.0.0-20230905041514-6aff1185c30f/syscall.go (about)

     1  //go:build darwin
     2  // +build darwin
     3  
     4  package launchd
     5  
     6  import (
     7  	"syscall"
     8  	_ "unsafe"
     9  )
    10  
    11  // Implemented in the runtime package (runtime/sys_darwin.go)
    12  func syscall_syscall(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)
    13  
    14  //go:linkname syscall_syscall syscall.syscall