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.
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")