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/6d744dea5d2d
branches:  trunk
changeset: 358612:6d744dea5d2d
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 692d89cbd665 -r 6d744dea5d2d 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