// Copyright 2026 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build aix || darwin || dragonfly || freebsd || wasip1 || linux || netbsd || openbsd || solaris

package os

import (
	
)

func ( *File) ( string) (FileInfo, error) {
	var  fileStat
	if  := .pfd.Fstatat(, &.sys, unix.AT_SYMLINK_NOFOLLOW);  != nil {
		return nil, .wrapErr("fstatat", )
	}
	fillFileStatFromSys(&, )
	return &, nil
}