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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uC-libc/] [include/] [bsd/] [signal.h] - Blame information for rev 1778

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

Line No. Rev Author Line
1 199 simons
#ifndef _BSD_SIGNAL_H
2
#define _BSD_SIGNAL_H
3
 
4
/* make sure we get BSD style signals (that don't need to be reset) */
5
 
6
#define __USE_BSD_SIGNAL
7
#include_next <signal.h>
8
 
9
/* use rough approximation of sigaction to sigvec, not completely safe! */
10
 
11
#define sigvec          sigaction
12
#define sv_mask         sa_mask
13
#define sv_flags        sa_flags
14
#define sv_handler      sa_handler
15
#define sv_onstack      sa_mask /* ouch, this one really hurts */
16
 
17
/* BSD uses some non-POSIX signals without ifdefs */
18
 
19
#define SIGSYS          SIGUNUSED
20
 
21
/* BSD wants this typedef for signal handlers */
22
 
23
#define sig_t           __sighandler_t 
24
 
25
#endif /* _BSD_SIGNAL_H */

powered by: WebSVN 2.1.0

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