at_aix.mx raw

   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  //go:cgo_import_dynamic libc_fchmodat fchmodat "libc.a/shr_64.o"
   8  //go:cgo_import_dynamic libc_fchownat fchownat "libc.a/shr_64.o"
   9  //go:cgo_import_dynamic libc_fstatat fstatat "libc.a/shr_64.o"
  10  //go:cgo_import_dynamic libc_linkat linkat "libc.a/shr_64.o"
  11  //go:cgo_import_dynamic libc_openat openat "libc.a/shr_64.o"
  12  //go:cgo_import_dynamic libc_renameat renameat "libc.a/shr_64.o"
  13  //go:cgo_import_dynamic libc_symlinkat symlinkat "libc.a/shr_64.o"
  14  //go:cgo_import_dynamic libc_unlinkat unlinkat "libc.a/shr_64.o"
  15  //go:cgo_import_dynamic libc_readlinkat readlinkat "libc.a/shr_64.o"
  16  //go:cgo_import_dynamic libc_mkdirat mkdirat "libc.a/shr_64.o"
  17  
  18  const (
  19  	AT_EACCESS          = 0x1
  20  	AT_FDCWD            = -0x02
  21  	AT_REMOVEDIR        = 0x1
  22  	AT_SYMLINK_NOFOLLOW = 0x1
  23  	UTIME_OMIT          = -0x3
  24  )
  25