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/] [include/] [signal.h] - Blame information for rev 158

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
#ifndef _SIGNAL_H_
2
#define _SIGNAL_H_
3
 
4
#include "_ansi.h"
5
#include <sys/signal.h>
6
 
7
_BEGIN_STD_C
8
 
9
typedef int     sig_atomic_t;           /* Atomic entity type (ANSI) */
10
 
11
#define SIG_DFL ((_sig_func_ptr)0)      /* Default action */
12
#define SIG_IGN ((_sig_func_ptr)1)      /* Ignore action */
13
#define SIG_ERR ((_sig_func_ptr)-1)     /* Error return */
14
 
15
struct _reent;
16
 
17
_sig_func_ptr _EXFUN(_signal_r, (struct _reent *, int, _sig_func_ptr));
18
int     _EXFUN(_raise_r, (struct _reent *, int));
19
 
20
#ifndef _REENT_ONLY
21
_sig_func_ptr _EXFUN(signal, (int, _sig_func_ptr));
22
int     _EXFUN(raise, (int));
23
#endif
24
 
25
_END_STD_C
26
 
27
#endif /* _SIGNAL_H_ */

powered by: WebSVN 2.1.0

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