Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libkvm Correct the signature of kvm_getlwps(3) in the ma...
details: https://anonhg.NetBSD.org/src/rev/ffe223f3c7f2
branches: trunk
changeset: 828913:ffe223f3c7f2
user: kamil <kamil%NetBSD.org@localhost>
date: Tue Jan 09 21:13:59 2018 +0000
description:
Correct the signature of kvm_getlwps(3) in the man-page.
The elemsize argument is of type "size_t", not "int *".
Sponsored by <The NetBSD Foundation>
diffstat:
lib/libkvm/kvm_getlwps.3 | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 89a51c50f53c -r ffe223f3c7f2 lib/libkvm/kvm_getlwps.3
--- a/lib/libkvm/kvm_getlwps.3 Tue Jan 09 20:55:42 2018 +0000
+++ b/lib/libkvm/kvm_getlwps.3 Tue Jan 09 21:13:59 2018 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: kvm_getlwps.3,v 1.7 2016/01/23 00:43:43 dholland Exp $
+.\" $NetBSD: kvm_getlwps.3,v 1.8 2018/01/09 21:13:59 kamil Exp $
.\"
.\"Copyright (c) 2002 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 February 10, 2004
+.Dd January 9, 2018
.Dt KVM_GETLWPS 3
.Os
.Sh NAME
@@ -41,7 +41,7 @@
.In sys/sysctl.h
.\" .Fa kvm_t *kd
.Ft struct kinfo_lwp *
-.Fn kvm_getlwps "kvm_t *kd" "int pid" "unsigned long procaddr" "int *elemsize" "int *cnt"
+.Fn kvm_getlwps "kvm_t *kd" "int pid" "unsigned long procaddr" "size_t elemsize" "int *cnt"
.Sh DESCRIPTION
.Fn kvm_getlwps
returns the set of LWPs belonging to the process specified by
Home |
Main Index |
Thread Index |
Old Index