// Copyright 2018 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 dragonfly || (linux && !loong64) || netbsd || (openbsd && mips64)

package unix

import (
	
	
)

func ( int,  string,  *syscall.Stat_t,  int) error {
	var  *byte
	,  := syscall.BytePtrFromString()
	if  != nil {
		return 
	}

	, ,  := syscall.Syscall6(fstatatTrap, uintptr(), uintptr(unsafe.Pointer()), uintptr(unsafe.Pointer()), uintptr(), 0, 0)
	if  != 0 {
		return 
	}

	return nil
}