1// Copyright 2022 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 freebsd || (linux && loong64)
6
7package unix
8
9import "syscall"
10
11func Fstatat(dirfd int, path string, stat *syscall.Stat_t, flags int) error {
12	return syscall.Fstatat(dirfd, path, stat, flags)
13}
14