Welcome to mirror list, hosted at ThFree Co, Russian Federation.

puts.c « spu « machine « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 06f4b87b65f4e01f3f8e91977c7c7a4ad2e179f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <stdio.h>

#include "c99ppe.h"

#ifndef _REENT_ONLY

int
_DEFUN (puts, (s),
	char _CONST * s)
{
  CHECK_STD_INIT(_REENT);

  /* The return value gets written over s
   */
  return __send_to_ppe(SPE_C99_SIGNALCODE, SPE_C99_PUTS, &s);
}

#endif /* ! _REENT_ONLY */