1 // Copyright 2016 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.
5 //go:build freebsd || openbsd || netbsd
6 // +build freebsd openbsd netbsd
12 func direntInode(dirent *syscall.Dirent) uint64 {
13 return uint64(dirent.Fileno)