libc/newlib/libc/machine/spu/puts.c
Jeff Johnston 505ccc75c4 2006-12-18 Joel Schopp <jschopp@austin.ibm.com>
* libc/machine/spu/c99ppe.h: New file
        * libc/machine/spu/perror.c: New file to override libc/stdio version.
        * libc/machine/spu/printf.c: New file
        * libc/machine/spu/putchar.c: New file
        * libc/machine/spu/puts.c: New file
        * libc/machine/spu/vprintf.c: New file
        * libc/machine/spu/vsnprintf.c: New file
        * libc/machine/spu/vsprintf.c: New file
        * libc/machine/spu/Makefile.am: Add new targets.
        * libc/machine/spu/Makefile.in: Regenerated.
2006-12-18 20:39:02 +00:00

17 lines
207 B
C

#include <stdio.h>
#include "c99ppe.h"
int
_DEFUN (puts, (s),
char _CONST * s)
{
/* The return value gets written over s
*/
send_to_ppe(SPE_C99_SIGNALCODE, SPE_C99_PUTS, &s);
return (int)s;
}