Module Name:    src
Committed By:   jruoho
Date:           Fri Apr 30 04:15:49 UTC 2010

Modified Files:
        src/lib/libc/sys: getitimer.2

Log Message:
Add STANDARDS section. Note that both functions were marked as obsolescent
in POSIX (2008); "timer_gettime(2) and timer_settime(2) should be used".


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/lib/libc/sys/getitimer.2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/sys/getitimer.2
diff -u src/lib/libc/sys/getitimer.2:1.22 src/lib/libc/sys/getitimer.2:1.23
--- src/lib/libc/sys/getitimer.2:1.22	Sat Aug 14 11:04:29 2004
+++ src/lib/libc/sys/getitimer.2	Fri Apr 30 04:15:49 2010
@@ -1,4 +1,4 @@
-.\"	$NetBSD: getitimer.2,v 1.22 2004/08/14 11:04:29 wiz Exp $
+.\"	$NetBSD: getitimer.2,v 1.23 2010/04/30 04:15:49 jruoho Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)getitimer.2	8.3 (Berkeley) 5/16/95
 .\"
-.Dd August 14, 2004
+.Dd April 30, 2010
 .Dt GETITIMER 2
 .Os
 .Sh NAME
@@ -167,6 +167,21 @@
 .Xr poll 2 ,
 .Xr select 2 ,
 .Xr sigaction 2
+.Sh STANDARDS
+The
+.Fn getitimer
+and
+.Fn setitimer
+functions conform to
+.St -p1003.1-2001 .
+The later
+.St -p1003.1-2008
+revision however marked both functions as obsolescent,
+recommending the use of
+.Xr timer_gettime 2
+and
+.Xr timer_settime 2
+instead.
 .Sh HISTORY
 The
 .Fn getitimer

Reply via email to