OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [newlib-1.18.0/] [newlib-1.18.0-or32-1.0rc1/] [newlib/] [libc/] [machine/] [spu/] [puts.c] - Blame information for rev 345

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
#include <stdio.h>
2
 
3
#include "c99ppe.h"
4
 
5
#ifndef _REENT_ONLY
6
 
7
int
8
_DEFUN (puts, (s),
9
        char _CONST * s)
10
{
11
  CHECK_STD_INIT(_REENT);
12
 
13
  /* The return value gets written over s
14
   */
15
  return __send_to_ppe(SPE_C99_SIGNALCODE, SPE_C99_PUTS, &s);
16
}
17
 
18
#endif /* ! _REENT_ONLY */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.