gcc/libgo/syscalls/sysfile_stat_regfile.go
Ian Lance Taylor a3dbf764ae Support libgo on Solaris.
From Rainer Orth.

From-SVN: r170355
2011-02-21 04:17:20 +00:00

13 lines
462 B
Go

// sysfile_stat_regfile.go -- For systems which do not use the large file
// interface for *stat.
// 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 syscall
func libc_stat(name *byte, buf *Stat_t) int __asm__ ("stat");
func libc_fstat(fd int, buf *Stat_t) int __asm__ ("fstat");
func libc_lstat(name *byte, buf *Stat_t) int __asm__ ("lstat");