qrz/vendor/github.com/karrick/godirwalk/reclenFromNamlen.go

10 lines
147 B
Go
Raw Normal View History

// +build dragonfly
package godirwalk
import "syscall"
func reclen(de *syscall.Dirent) uint64 {
return (16 + uint64(de.Namlen) + 1 + 7) &^ 7
}