Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Note that the ucontext(2) et. al. were first moved from X/OP...



details:   https://anonhg.NetBSD.org/src/rev/b9e8676e89e1
branches:  trunk
changeset: 754345:b9e8676e89e1
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Wed Apr 28 14:07:03 2010 +0000

description:
Note that the ucontext(2) et. al. were first moved from X/OPEN extensions to
the base POSIX-2001 and later marked as obsolete in POSIX-2008.

diffstat:

 lib/libc/gen/makecontext.3 |  18 +++++++++++++++---
 lib/libc/sys/getcontext.2  |  18 +++++++++++++++---
 share/man/man2/ucontext.2  |  16 +++++++---------
 3 files changed, 37 insertions(+), 15 deletions(-)

diffs (110 lines):

diff -r f35cb61c81f8 -r b9e8676e89e1 lib/libc/gen/makecontext.3
--- a/lib/libc/gen/makecontext.3        Wed Apr 28 14:01:27 2010 +0000
+++ b/lib/libc/gen/makecontext.3        Wed Apr 28 14:07:03 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: makecontext.3,v 1.7 2009/04/20 08:37:22 wiz Exp $
+.\"    $NetBSD: makecontext.3,v 1.8 2010/04/28 14:07:03 jruoho Exp $
 .\"
 .\" Copyright (c) 2001, 2009 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 April 16, 2009
+.Dd April 28, 2010
 .Dt MAKECONTEXT 3
 .Os
 .Sh NAME
@@ -133,7 +133,19 @@
 and
 .Fn swapcontext
 functions conform to
-.St -xsh5 .
+.St -xsh5
+and
+.St -p1003.1-2001 .
+.Pp
+The
+.St -p1003.1-2008
+revision marked the functions
+.Fn makecontext
+and
+.Fn swapcontext
+as obsolete, citing portability issues and recommending the use of
+.Tn POSIX
+threads instead.
 .Pp
 .Bf -symbolic
 The standard does not clearly define the type of integer arguments
diff -r f35cb61c81f8 -r b9e8676e89e1 lib/libc/sys/getcontext.2
--- a/lib/libc/sys/getcontext.2 Wed Apr 28 14:01:27 2010 +0000
+++ b/lib/libc/sys/getcontext.2 Wed Apr 28 14:07:03 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: getcontext.2,v 1.5 2008/04/30 13:10:51 martin Exp $
+.\"    $NetBSD: getcontext.2,v 1.6 2010/04/28 14:07:03 jruoho Exp $
 .\"
 .\" Copyright (c) 1999 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 October 28, 1999
+.Dd April 28, 2010
 .Dt GETCONTEXT 2
 .Os
 .Sh NAME
@@ -124,10 +124,22 @@
 and
 .Fn setcontext
 functions conform to
-.St -xsh5 .
+.St -xsh5
+and
+.St -p1003.1-2001 .
 The
 .Va errno
 indications are an extension to the standard.
+.Pp
+The
+.St -p1003.1-2008
+revision marked the functions
+.Fn getcontext
+and
+.Fn setcontext
+as obsolete, citing portability issues and recommending the use of
+.Tn POSIX
+threads instead.
 .Sh HISTORY
 The
 .Fn getcontext
diff -r f35cb61c81f8 -r b9e8676e89e1 share/man/man2/ucontext.2
--- a/share/man/man2/ucontext.2 Wed Apr 28 14:01:27 2010 +0000
+++ b/share/man/man2/ucontext.2 Wed Apr 28 14:07:03 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ucontext.2,v 1.4 2010/04/28 13:23:02 jruoho Exp $
+.\"    $NetBSD: ucontext.2,v 1.5 2010/04/28 14:07:03 jruoho Exp $
 .\"
 .\" Copyright (c) 2001 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -96,13 +96,11 @@
 .Xr swapcontext 3
 .Sh STANDARDS
 The
-.Nm ucontext_t
+.Vt ucontext_t
 type conforms to
-.St -xsh5 .
-.Sh HISTORY
+.St -xsh5
+and
+.St -p1003.1-2001 .
 The
-.Fn makecontext
-and
-.Fn swapcontext
-functions first appeared in
-.At V.4 .
+.St -p1003.1-2008
+revision marked the accompanying functions as obsolescent.



Home | Main Index | Thread Index | Old Index