Document SA_NOKERNINFO.

This commit is contained in:
christos 2006-06-03 18:23:52 +00:00
parent 0ca3098868
commit 98f3ad2656
1 changed files with 11 additions and 3 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: sigaction.2,v 1.42 2005/03/30 17:09:28 christos Exp $
.\" $NetBSD: sigaction.2,v 1.43 2006/06/03 18:23:52 christos Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@ -29,7 +29,7 @@
.\"
.\" @(#)sigaction.2 8.2 (Berkeley) 4/3/94
.\"
.Dd March 30, 2005
.Dd June 3, 2006
.Dt SIGACTION 2
.Os
.Sh NAME
@ -171,7 +171,7 @@ of the signal are ignored and discarded.
.Pp
Options may be specified by setting
.Em sa_flags .
.Bl -tag -width SA_NOCLDSTOP
.Bl -tag -width SA_NOKERNINFO
.It Dv SA_NODEFER
If set, then the signal that caused the handler to be executed is not added
to the list of block signals.
@ -277,6 +277,14 @@ argument
is a pointer to the
.Xr ucontext 2
context where the signal handler will return to.
.It Dv SA_NOKERNINFO
This flag is relevant only to
.Dv SIGINFO ,
and turns off printing kernel messages on the tty.
It is similar to the
.Dv NOKERNINFO
flag in
.Xr termios 4 .
.El
.Pp
Only functions that are async-signal-safe can safely be used in signal