mirror of
https://git.planet-casio.com/Vhex-Kernel-Core/fxlibc.git
synced 2025-01-01 06:23:37 +01:00
bdf9566723
@update > CMakeLists.txt | remove the generation of the shared version of the fxlibc (deprecated, unused) > include/errno | add some error macros needed in vhex > src/string/strerror | add EINTR support | add EAGAIN support | add ENOMEDIUM support | add EMEDIUMTYPE support @fix > include/target/vhex | add missing headers
20 lines
670 B
C
20 lines
670 B
C
#ifndef __BITS_SIGNUM_H__
|
|
# define __BITS_SIGNUM_H__
|
|
|
|
// Define the number of signals
|
|
#define _NSIG 16
|
|
|
|
/* Fake signal functions. */
|
|
#define SIG_ERR ((__sighandler_t) -1) /* Error return. */
|
|
#define SIG_DFL ((__sighandler_t) 0) /* Default action. */
|
|
#define SIG_IGN ((__sighandler_t) 1) /* Ignore signal. */
|
|
|
|
/* ISO C99 signals. */
|
|
#define SIGINT 2 /* Interactive attention signal. */
|
|
#define SIGILL 4 /* Illegal instruction. */
|
|
#define SIGABRT 6 /* Abnormal termination. */
|
|
#define SIGFPE 8 /* Erroneous arithmetic operation. */
|
|
#define SIGSEGV 11 /* Invalid access to storage. */
|
|
#define SIGTERM 15 /* Termination request. */
|
|
|
|
#endif /*__BITS_SIGNUM_H__*/
|