unix: add Getdents on dragonfly

Add a syscall wrapper for Getdents on dragonfly and use it to
implement ReadDirent

Change-Id: Ie54c0edeaf89491cab2355557fb442bd5bec2987
Reviewed-on: https://go-review.googlesource.com/c/sys/+/183227
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Benny Siegert <bsiegert@gmail.com>
This commit is contained in:
Tobias Klauser authored and Tobias Klauser committed 2019-06-24 14:20:23 +00:00
1 parent e93b963712
commit c5567b49c5
4 files changed
+20 -2

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build aix freebsd linux netbsd openbsd
// +build aix dragonfly freebsd linux netbsd openbsd
package unix