[PATCH v2 1/5] signal: Add signum-{generic,arch}.h

Andreas Schwab schwab@linux-m68k.org
Tue Apr 28 07:30:17 GMT 2020


On Apr 27 2020, Adhemerval Zanella via Libc-alpha wrote:

> +/* Historical signals specified by POSIX. */
> +#define SIGBUS		10	/* Bus error.  */
> +#define	SIGSYS		12	/* Bad system call.  */
> +
> +/* New(er) POSIX signals (1003.1-2008, 1003.1-2013).  */
> +#define	SIGURG		16	/* Urgent data is available at a socket.  */
> +#define	SIGSTOP		17	/* Stop, unblockable.  */
> +#define	SIGTSTP		18	/* Keyboard stop.  */
> +#define	SIGCONT		19	/* Continue.  */
> +#define SIGCHLD         20      /* Child terminated or stopped.  */
> +#define	SIGTTIN		21	/* Background read from control terminal.  */
> +#define	SIGTTOU		22	/* Background write to control terminal.  */
> +#define	SIGPOLL		23	/* Pollable event occurred (System V).  */
> +#define	SIGXCPU		24	/* CPU time limit exceeded.  */
> +#define	SIGVTALRM	26	/* Virtual timer expired.  */
> +#define	SIGPROF		27	/* Profiling timer expired.  */
> +#define	SIGXFSZ		25	/* File size limit exceeded.  */
> +#define	SIGUSR1		30	/* User-defined signal 1.  */
> +#define	SIGUSR2		31	/* User-defined signal 2.  */

Please be consistent with tab vs. space after #define (I'd prefer a
single space there).

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Libc-alpha mailing list