...

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

Documentation: internal/syscall/unix

     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_fstatat fstatat "libc.so"
    16  //go:cgo_import_dynamic libc_openat openat "libc.so"
    17  //go:cgo_import_dynamic libc_unlinkat unlinkat "libc.so"
    18  //go:cgo_import_dynamic libc_uname uname "libc.so"
    19  
    20  const (
    21  	AT_REMOVEDIR        = 0x1
    22  	AT_SYMLINK_NOFOLLOW = 0x1000
    23  
    24  	UTIME_OMIT = -0x2
    25  )
    26  

View as plain text