mirror of
https://review.haiku-os.org/buildtools
synced 2025-01-31 10:34:41 +01:00
92b3138b83
Updated dependencies: * GMP 6.2.1 * ISL 0.24 * MPL 1.2.1 * MPFR 4.1.0 The dependencies were pulled in by running the ./contrib/download_prerequisites script and then manually removing the symbolic links and archives, and renaming the directories (i.e mv isl-0.24 to isl)
16 lines
466 B
Go
16 lines
466 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.
|
|
|
|
//go:build (solaris && amd64) || (solaris && sparc64)
|
|
// +build solaris,amd64 solaris,sparc64
|
|
|
|
package syscall
|
|
|
|
//sys Getdents(fd int, buf []byte) (n int, err error)
|
|
//getdents(fd _C_int, buf *byte, nbyte Size_t) _C_int
|
|
|
|
func ReadDirent(fd int, buf []byte) (n int, err error) {
|
|
return Getdents(fd, buf)
|
|
}
|