/usr/lib/avr/include/signal.h is in avr-libc 1:2.0.0+Atmel3.6.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | #ifndef _SIGNAL_H
#define _SIGNAL_H
/* A minimal header to allow libstdc++-v3 pre-compiled headers to build.
We just pretend that there are signal / raise functions, even though
they are not implemented. */
typedef void (*sighandler_t)(int);
extern sighandler_t signal(int signum, sighandler_t handler);
#define SIG_DFL ((sighandler_t)0)
#define SIG_ERR ((sighandler_t)((void*)signal+1))
#define SIG_HOLD ((sighandler_t)((void*)signal+2))
#define SIG_IGN ((sighandler_t)((void*)signal+3))
volatile signed char sig_atomic_t;
typedef int sigset_t;
extern int raise(int sig);
#endif /* _SIGNAL_H */
|