Define SI_NOINFO to indicate that no signal specific code is available.

It is a large positive value (same as in Solaris) to distinguish a trap
for which the standard qualifiers do not fit, from a user- or other
"software"-generated signal.
This commit is contained in:
pk 2003-10-12 20:00:39 +00:00
parent 46166f9be5
commit 4370fdf30f

View File

@ -1,4 +1,4 @@
/* $NetBSD: siginfo.h,v 1.6 2003/10/08 23:08:35 enami Exp $ */
/* $NetBSD: siginfo.h,v 1.7 2003/10/12 20:00:39 pk Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -211,6 +211,7 @@ typedef union siginfo {
/** si_code */
#define SI_NOINFO 32767 /* No signal specific info available */
#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 */