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

Subversion Repositories altor32

[/] [altor32/] [trunk/] [gcc-x64/] [or1knd-elf/] [or1knd-elf/] [include/] [signal.h] - Blame information for rev 35

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 35 ultra_embe
#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
#ifndef _POSIX_SOURCE
11
typedef _sig_func_ptr sig_t;            /* BSD naming */
12
typedef _sig_func_ptr sighandler_t;     /* glibc naming */
13
#endif /* !_POSIX_SOURCE */
14
 
15
#define SIG_DFL ((_sig_func_ptr)0)      /* Default action */
16
#define SIG_IGN ((_sig_func_ptr)1)      /* Ignore action */
17
#define SIG_ERR ((_sig_func_ptr)-1)     /* Error return */
18
 
19
struct _reent;
20
 
21
_sig_func_ptr _EXFUN(_signal_r, (struct _reent *, int, _sig_func_ptr));
22
int     _EXFUN(_raise_r, (struct _reent *, int));
23
 
24
#ifndef _REENT_ONLY
25
_sig_func_ptr _EXFUN(signal, (int, _sig_func_ptr));
26
int     _EXFUN(raise, (int));
27
void    _EXFUN(psignal, (int, const char *));
28
#endif
29
 
30
_END_STD_C
31
 
32
#endif /* _SIGNAL_H_ */

powered by: WebSVN 2.1.0

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