2011-05-31 Gabriel Charette <gchare@google.com>
[official-gcc.git] / libgo / syscalls / errstr_decl_rtems.go
blobb83eedc8e1cfd30cb861c537ccf25de3e6c7393f
1 // errstr.go -- Declare strerror_r for RTEMS.
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.
7 package syscall
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")