github.com/bir3/gocompiler@v0.9.2202/src/internal/syscall/unix/at_solaris.go (about) 1 // Copyright 2018 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 unix 6 7 import "syscall" 8 9 // Implemented as sysvicall6 in runtime/syscall_solaris.go. 10 func syscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) 11 12 //go:cgo_import_dynamic libc_fstatat fstatat "libc.so" 13 //go:cgo_import_dynamic libc_openat openat "libc.so" 14 //go:cgo_import_dynamic libc_unlinkat unlinkat "libc.so" 15 16 const ( 17 AT_REMOVEDIR = 0x1 18 AT_SYMLINK_NOFOLLOW = 0x1000 19 20 UTIME_OMIT = -0x2 21 )