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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [newlib/] [libc/] [machine/] [spu/] [puts.c] - Blame information for rev 455

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 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.