diff options
Diffstat (limited to 'libgo/syscalls/errstr_decl.go')
-rw-r--r-- | libgo/syscalls/errstr_decl.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libgo/syscalls/errstr_decl.go b/libgo/syscalls/errstr_decl.go new file mode 100644 index 000000000..b6bff0fb0 --- /dev/null +++ b/libgo/syscalls/errstr_decl.go @@ -0,0 +1,9 @@ +// errstr.go -- Declare strerror_r. + +// Copyright 2010 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_strerror_r(int, *byte, Size_t) int __asm__ ("strerror_r") |