source:
trunk/libs/newlib/src/newlib/libc/machine/spu/puts.c
@
444
Last change on this file since 444 was 444, checked in by , 6 years ago | |
---|---|
File size: 257 bytes |
Line | |
---|---|
1 | #include <stdio.h> |
2 | |
3 | #include "c99ppe.h" |
4 | |
5 | #ifndef _REENT_ONLY |
6 | |
7 | int |
8 | puts (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.