OSDN Git Service

2011-01-13 Paolo Carlini <paolo.carlini@oracle.com>
[pf3gnuchains/gcc-fork.git] / libgo / syscalls / errstr_decl_rtems.go
1 // errstr.go -- Declare strerror_r for RTEMS.
2
3 // Copyright 2010 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
6
7 package syscall
8
9 // RTEMS uses strerror_r in newlib, which is a GNU extension returning a char *.
10 func libc_strerror_r(int, *byte, Size_t) *byte __asm__ ("strerror_r")