Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man9 document passing of signo to fownsignal
details: https://anonhg.NetBSD.org/src/rev/9b205d057ed5
branches: trunk
changeset: 552249:9b205d057ed5
user: christos <christos%NetBSD.org@localhost>
date: Mon Sep 22 13:00:45 2003 +0000
description:
document passing of signo to fownsignal
diffstat:
share/man/man9/fsetown.9 | 16 +++++++++++-----
1 files changed, 11 insertions(+), 5 deletions(-)
diffs (48 lines):
diff -r 1b7cf1d815a8 -r 9b205d057ed5 share/man/man9/fsetown.9
--- a/share/man/man9/fsetown.9 Mon Sep 22 12:59:55 2003 +0000
+++ b/share/man/man9/fsetown.9 Mon Sep 22 13:00:45 2003 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: fsetown.9,v 1.2 2003/09/21 20:05:23 wiz Exp $
+.\" $NetBSD: fsetown.9,v 1.3 2003/09/22 13:00:45 christos Exp $
.\"
.\" Copyright (c) 2003 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -49,7 +49,7 @@
.Ft int
.Fn fgetown "struct proc *p" "pid_t pgid" "int cmd" "void *data"
.Ft void
-.Fn fownsignal "pid_t pgid" "int code" "int band" "void *fdescdata"
+.Fn fownsignal "pid_t pgid" "int signo" "int code" "int band" "void *fdescdata"
.Sh DESCRIPTION
These functions handle file descriptor owner related ioctls and
related signal delivery.
@@ -108,13 +108,18 @@
.Pp
.Fn fownsignal
schedules the
+.Fa signo
+signal to be sent to the current file descriptor owner.
+The signals typically used with this function are
.Dv SIGIO
-signal to be sent to the current file descriptor owner.
+and
+.Dv SIGURG .
+The
.Fa code
and
.Fa band
-are sent along with the signal as additional signal specific information
-if
+arguments are sent along with the signal as additional signal specific
+information if
.Dv SA_SIGINFO
is activated.
If the information is not available from the context of the
@@ -145,6 +150,7 @@
subsystem-specific ioctl entry function is called.
.Sh SEE ALSO
.Xr fcntl 2 ,
+.Xr siginfo 5 ,
.Xr signal 7 ,
.Xr ioctl 9 ,
.Xr signal 9
Home |
Main Index |
Thread Index |
Old Index