gcc/libgo/go/os/dir_libc64_gccgo.go
Ian Lance Taylor b3a7fdc3ea os: use opendir64 and closedir64 on AIX
When using readdir64 on AIX, we must also use
    opendir64 and closedir64.
    
    Issue golang/go#19200
    
    Reviewed-on: https://go-review.googlesource.com/43251

From-SVN: r247947
2017-05-12 00:59:15 +00:00

16 lines
320 B
Go

// Copyright 2017 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.
// +build aix
package os
import "syscall"
//extern opendir64
func libc_opendir(*byte) *syscall.DIR
//extern closedir64
func libc_closedir(*syscall.DIR) int