OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [libgloss/] [xc16x/] [misc.c] - Blame information for rev 557

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

Line No. Rev Author Line
1 207 jeremybenn
/*
2
 * Copyright (C) 2006 KPIT Cummins
3
 * Copyright (C) 2009 Conny Marco Menebröcker
4
 * All rights reserved.
5
 *
6
 * Redistribution and use in source and binary forms is permitted
7
 * provided that the above copyright notice and following paragraph are
8
 * duplicated in all such forms.
9
 *
10
 * This file is distributed WITHOUT ANY WARRANTY; without even the implied
11
 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12
 */
13
#include <_ansi.h>
14
#include <sys/types.h>
15
#include <sys/stat.h>
16
 
17
/* _raise(), getpid(), and kill() are required by abort().
18
   getpid/kill are prefixed with '_' because of MISSING_SYSCALL_NAMES.  */
19
 
20
int _DEFUN(_raise,(sig),
21
           int sig)
22
{
23
  errno = ENOSYS;
24
  return -1;
25
}
26
 
27
int _DEFUN(_getpid,(),)
28
{
29
  errno = ENOSYS;
30
  return -1;
31
}
32
 
33
int _DEFUN(_kill,(pid, sig),
34
           int pid _AND
35
           int sig)
36
{
37
  errno = ENOSYS;
38
  return -1;
39
}

powered by: WebSVN 2.1.0

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