Module Name: src
Committed By: wiz
Date: Fri Jul 9 20:58:38 UTC 2010
Modified Files:
src/lib/libpthread: affinity.3
Log Message:
Sort sections.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libpthread/affinity.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libpthread/affinity.3
diff -u src/lib/libpthread/affinity.3:1.5 src/lib/libpthread/affinity.3:1.6
--- src/lib/libpthread/affinity.3:1.5 Fri Jul 9 18:16:31 2010
+++ src/lib/libpthread/affinity.3 Fri Jul 9 20:58:38 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: affinity.3,v 1.5 2010/07/09 18:16:31 jruoho Exp $
+.\" $NetBSD: affinity.3,v 1.6 2010/07/09 20:58:38 wiz Exp $
.\"
.\" Copyright (c) 2008 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -72,8 +72,6 @@
.Fn pthread_getaffinity_np
functions return 0 on success.
Otherwise, an error number is returned to indicate the error.
-.Sh COMPATIBILITY
-Both functions are non-standard extensions.
.Sh EXAMPLES
An example of code fragment, which sets the affinity for the current
thread to the CPU whose ID is 0:
@@ -96,6 +94,8 @@
}
cpuset_destroy(cset);
.Ed
+.Sh COMPATIBILITY
+Both functions are non-standard extensions.
.Sh ERRORS
Both functions may fail if:
.Bl -tag -width Er