xiaoxiang781216 commented on code in PR #8623: URL: https://github.com/apache/nuttx/pull/8623#discussion_r1115292117
########## include/signal.h: ########## @@ -211,41 +206,96 @@ # define SIGPIPE CONFIG_SIG_PIPE #endif -#ifndef CONFIG_SIG_HUP -# define SIGHUP 14 +#ifndef CONFIG_SIG_ALRM +# define SIGALRM 14 /* Default signal used with POSIX timers (used only */ + /* no other signal is provided) */ #else -# define SIGHUP CONFIG_SIG_HUP +# define SIGALRM CONFIG_SIG_ALRM +#endif + +#ifndef CONFIG_SIG_TERM +# define SIGTERM 15 +#else +# define SIGTERM CONFIG_SIG_TERM +#endif + +#ifndef CONFIG_SIG_CHLD +# define SIGCHLD 17 +#else +# define SIGCHLD CONFIG_SIG_CHLD +#endif + +#ifndef CONFIG_SIG_CONT +# define SIGCONT 18 +#else +# define SIGCONT CONFIG_SIG_CONT +#endif + +#ifndef CONFIG_SIG_STOP +# define SIGSTOP 19 +#else +# define SIGSTOP CONFIG_SIG_STOP +#endif + +#ifndef CONFIG_SIG_TSTP +# define SIGTSTP 20 +#else +# define SIGTSTP CONFIG_SIG_TSTP #endif #ifndef CONFIG_SIG_TTIN -# define SIGTTIN 15 +# define SIGTTIN 21 #else # define SIGTTIN CONFIG_SIG_TTIN #endif -#ifndef CONFIG_SIG_FPE -# define SIGFPE 16 +#ifndef CONFIG_SIG_TTOU +# define SIGTTOU 22 #else -# define SIGFPE CONFIG_SIG_FPE +# define SIGTTOU CONFIG_SIG_TTOU #endif -#ifndef CONFIG_SIG_ILL -# define SIGILL 17 +#ifndef CONFIG_SIG_URG +# define SIGURG 23 #else -# define SIGILL CONFIG_SIG_ILL +# define SIGURG CONFIG_SIG_URG #endif -#ifndef CONFIG_SIG_SEGV -# define SIGSEGV 18 +#ifndef CONFIG_SIG_XCPU +# define SIGXCPU 24 #else -# define SIGSEGV CONFIG_SIG_SEGV +# define SIGXCPU CONFIG_SIG_XCPU +#endif + +#ifndef CONFIG_SIG_XFSZ +# define SIGXFSZ 25 +#else +# define SIGXFSZ CONFIG_SIG_XFSZ +#endif + +#ifndef CONFIG_SIG_VTALRM +# define SIGVTALRM 26 +#else +# define SIGVTALRM CONFIG_SIG_VTALRM +#endif + +#ifndef CONFIG_SIG_PROF +# define SIGPROF 27 +#else +# define SIGPROF CONFIG_SIG_PROF +#endif + +#ifndef CONFIG_SIG_POLL +# define SIGPOLL 29 +#else +# define SIGPOLL CONFIG_SIG_POLL #endif Review Comment: #define SIGIO SIGPOLL -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org