summaryrefslogtreecommitdiffstats
path: root/newlib/libc/machine/spu/perror.c
blob: 63e7fe82cd43d89ad37b24d60d8f0c2e6277c0d2 (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

void
_DEFUN (perror, (s),
	_CONST char *s)

{
  CHECK_STD_INIT(_REENT);

  __send_to_ppe(SPE_C99_SIGNALCODE, SPE_C99_PERROR, &s);

  return;
}
#endif /* ! _REENT_ONLY */