Source file src/syscall/linkname_darwin.go
1 // Copyright 2024 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package syscall 6 7 import _ "unsafe" 8 9 // used by os 10 //go:linkname closedir 11 //go:linkname readdir_r 12 13 // used by internal/poll 14 //go:linkname fdopendir 15 16 // used by internal/syscall/unix 17 //go:linkname unlinkat 18 //go:linkname openat 19 //go:linkname fstatat 20 21 // used by cmd/link 22 //go:linkname msync 23 //go:linkname fcntl 24