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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uC-libc/] [include/] [bsd/] [signal.h] - Rev 1765

Compare with Previous | Blame | View Log

#ifndef _BSD_SIGNAL_H
#define _BSD_SIGNAL_H
 
/* make sure we get BSD style signals (that don't need to be reset) */
 
#define __USE_BSD_SIGNAL
#include_next <signal.h>
 
/* use rough approximation of sigaction to sigvec, not completely safe! */
 
#define sigvec		sigaction
#define sv_mask		sa_mask
#define sv_flags	sa_flags
#define sv_handler	sa_handler
#define sv_onstack	sa_mask /* ouch, this one really hurts */
 
/* BSD uses some non-POSIX signals without ifdefs */
 
#define SIGSYS		SIGUNUSED
 
/* BSD wants this typedef for signal handlers */
 
#define sig_t		__sighandler_t 
 
#endif /* _BSD_SIGNAL_H */
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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