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.
5 // +build darwin freebsd openbsd netbsd
11 func direntNamlen(dirent *syscall.Dirent) uint64 {
12 return uint64(dirent.Namlen)