github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/internal/syscall/unix/at_libc2.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 //go:build darwin || (openbsd && !mips64) 6 7 package unix 8 9 import ( 10 "github.com/shogo82148/std/syscall" 11 ) 12 13 func Unlinkat(dirfd int, path string, flags int) error 14 15 func Openat(dirfd int, path string, flags int, perm uint32) (int, error) 16 17 func Fstatat(dirfd int, path string, stat *syscall.Stat_t, flags int) error