summaryrefslogtreecommitdiff
path: root/libgo/go/os/dir_largefile.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/os/dir_largefile.go')
-rw-r--r--libgo/go/os/dir_largefile.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/libgo/go/os/dir_largefile.go b/libgo/go/os/dir_largefile.go
new file mode 100644
index 000000000..c723ec924
--- /dev/null
+++ b/libgo/go/os/dir_largefile.go
@@ -0,0 +1,12 @@
+// dir_largefile.go -- For systems which use the large file interface for
+// readdir_r.
+
+// Copyright 2011 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.
+
+package os
+
+import "syscall"
+
+func libc_readdir_r(*syscall.DIR, *syscall.Dirent, **syscall.Dirent) int __asm__ ("readdir64_r")