source: trunk/libs/newlib/src/newlib/libc/machine/spu/puts.c @ 444

Last change on this file since 444 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 257 bytes
Line 
1#include <stdio.h>
2
3#include "c99ppe.h"
4
5#ifndef _REENT_ONLY
6
7int
8puts (char const * s)
9{
10  CHECK_STD_INIT(_REENT);
11
12  /* The return value gets written over s
13   */
14  return __send_to_ppe(SPE_C99_SIGNALCODE, SPE_C99_PUTS, &s);
15}
16
17#endif /* ! _REENT_ONLY */
Note: See TracBrowser for help on using the repository browser.