Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/sys Refer to sigevent(3).
details: https://anonhg.NetBSD.org/src/rev/f4bc4478141d
branches: trunk
changeset: 754994:f4bc4478141d
user: jruoho <jruoho%NetBSD.org@localhost>
date: Wed May 19 06:44:51 2010 +0000
description:
Refer to sigevent(3).
diffstat:
lib/libc/sys/timer_create.2 | 23 ++++++++++++-----------
1 files changed, 12 insertions(+), 11 deletions(-)
diffs (53 lines):
diff -r 61f46db58460 -r f4bc4478141d lib/libc/sys/timer_create.2
--- a/lib/libc/sys/timer_create.2 Wed May 19 06:35:20 2010 +0000
+++ b/lib/libc/sys/timer_create.2 Wed May 19 06:44:51 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: timer_create.2,v 1.10 2010/03/22 19:30:55 joerg Exp $
+.\" $NetBSD: timer_create.2,v 1.11 2010/05/19 06:44:51 jruoho Exp $
.\"
.\" Copyright (c) 2003 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd September 13, 2003
+.Dd May 19, 2010
.Dt TIMER_CREATE 2
.Os
.Sh NAME
@@ -60,24 +60,25 @@
.Pp
An optional
.Pq non- Ns Dv NULL
-sigevent argument can be specified by the
+.Em struct sigevent
+argument can be specified by the
.Ar evp
argument.
If the
.Ar evp
argument is
.Dv NULL ,
-then it defaults to
-.Fa sigev_notify
-set to
+then
+.Fa evp-\*[Gt]sigev_notify
+defaults to
.Dv SIGEV_SIGNAL
and
-.Fa sigev_value
-set to
+.Fa evp-\*[Gt]sigev_value
+is set to
.Ar timerid .
-See
-.Xr siginfo 2
-for accessing those values from a signal handler.
+Refer to
+.Xr sigevent 3
+for more details.
.Sh NOTES
Timers are not inherited after a
.Xr fork 2
Home |
Main Index |
Thread Index |
Old Index