Source file src/internal/syscall/unix/at_solaris.go

     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  // Implemented as rawsysvicall6 in runtime/syscall_solaris.go.
    13  func rawSyscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
    14  
    15  //go:cgo_import_dynamic libc_faccessat faccessat "libc.so"
    16  //go:cgo_import_dynamic libc_fstatat fstatat "libc.so"
    17  //go:cgo_import_dynamic libc_openat openat "libc.so"
    18  //go:cgo_import_dynamic libc_unlinkat unlinkat "libc.so"
    19  //go:cgo_import_dynamic libc_readlinkat readlinkat "libc.so"
    20  //go:cgo_import_dynamic libc_mkdirat mkdirat "libc.so"
    21  //go:cgo_import_dynamic libc_uname uname "libc.so"
    22  
    23  const (
    24  	AT_EACCESS          = 0x4
    25  	AT_FDCWD            = 0xffd19553
    26  	AT_REMOVEDIR        = 0x1
    27  	AT_SYMLINK_NOFOLLOW = 0x1000
    28  
    29  	UTIME_OMIT = -0x2
    30  )
    31  

View as plain text