Fix whitespace usage and typo in comment.
This commit is contained in:
parent
901da40cf9
commit
22658b0b3a
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: siginfo.h,v 1.5 2003/10/08 00:28:42 thorpej Exp $ */
|
||||
/* $NetBSD: siginfo.h,v 1.6 2003/10/08 23:08:35 enami Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2002 The NetBSD Foundation, Inc.
|
||||
@ -107,7 +107,7 @@ do { \
|
||||
* Old-style signal handler "code" arguments were only non-zero for
|
||||
* signals caused by traps.
|
||||
*/
|
||||
#define KSI_TRAPCODE(ksi) (((ksi)->ksi_flags & KSI_TRAP) ? \
|
||||
#define KSI_TRAPCODE(ksi) (((ksi)->ksi_flags & KSI_TRAP) ? \
|
||||
ksi->ksi_trap : 0)
|
||||
|
||||
/* Predicate macros to test how a ksiginfo_t was generated. */
|
||||
@ -174,8 +174,8 @@ typedef union siginfo {
|
||||
#define FPE_FLTDIV 3 /* Floating point divide by zero */
|
||||
#define FPE_FLTOVF 4 /* Floating point overflow */
|
||||
#define FPE_FLTUND 5 /* Floating point underflow */
|
||||
#define FPE_FLTRES 6 /* Floating poing inexact result */
|
||||
#define FPE_FLTINV 7 /* Invalid Floating poing operation */
|
||||
#define FPE_FLTRES 6 /* Floating point inexact result */
|
||||
#define FPE_FLTINV 7 /* Invalid Floating point operation */
|
||||
#define FPE_FLTSUB 8 /* Subscript out of range */
|
||||
|
||||
/* SIGSEGV */
|
||||
@ -184,7 +184,7 @@ typedef union siginfo {
|
||||
|
||||
/* SIGBUS */
|
||||
#define BUS_ADRALN 1 /* Invalid address alignment */
|
||||
#define BUS_ADRERR 2 /* Non-existant physical address */
|
||||
#define BUS_ADRERR 2 /* Non-existent physical address */
|
||||
#define BUS_OBJERR 3 /* Object specific hardware error */
|
||||
|
||||
/* SIGTRAP */
|
||||
@ -213,7 +213,7 @@ typedef union siginfo {
|
||||
/** si_code */
|
||||
#define SI_USER 0 /* Sent by kill(2) */
|
||||
#define SI_QUEUE -1 /* Sent by the sigqueue(2) */
|
||||
#define SI_TIMER -2 /* Generated by expiration of a timer */
|
||||
#define SI_TIMER -2 /* Generated by expiration of a timer */
|
||||
/* set by timer_settime(2) */
|
||||
#define SI_ASYNCIO -3 /* Generated by completion of an */
|
||||
/* asynchronous I/O signal */
|
||||
|
Loading…
Reference in New Issue
Block a user