Source-Changes-HG archive

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

[src/netbsd-8]: src/lib/libkvm Pull up following revision(s) (requested by ka...



details:   https://anonhg.NetBSD.org/src/rev/0ed3eed5036d
branches:  netbsd-8
changeset: 851331:0ed3eed5036d
user:      snj <snj%NetBSD.org@localhost>
date:      Sat Feb 03 22:15:13 2018 +0000

description:
Pull up following revision(s) (requested by kamil in ticket #517):
        lib/libkvm/kvm_getprocs.3: revision 1.17
Correct the signature of kvm_getproc2(3) in the man-page.
The elemsize argument is of type "size_t", not "int".
Sponsored by <The NetBSD Foundation>

diffstat:

 lib/libkvm/kvm_getprocs.3 |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ce253e4cf693 -r 0ed3eed5036d lib/libkvm/kvm_getprocs.3
--- a/lib/libkvm/kvm_getprocs.3 Sat Feb 03 22:13:26 2018 +0000
+++ b/lib/libkvm/kvm_getprocs.3 Sat Feb 03 22:15:13 2018 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: kvm_getprocs.3,v 1.15 2009/03/10 23:49:07 joerg Exp $
+.\"    $NetBSD: kvm_getprocs.3,v 1.15.38.1 2018/02/03 22:15:13 snj Exp $
 .\"
 .\" Copyright (c) 1992, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -33,7 +33,7 @@
 .\"
 .\"     @(#)kvm_getprocs.3     8.1 (Berkeley) 6/4/93
 .\"
-.Dd February 10, 2004
+.Dd January 9, 2018
 .Dt KVM_GETPROCS 3
 .Os
 .Sh NAME
@@ -55,7 +55,7 @@
 .Ft char **
 .Fn kvm_getenvv "kvm_t *kd" "const struct kinfo_proc *p" "int nchr"
 .Ft struct kinfo_proc2 *
-.Fn kvm_getproc2 "kvm_t *kd" "int op" "int arg" "int elemsize" "int *cnt"
+.Fn kvm_getproc2 "kvm_t *kd" "int op" "int arg" "size_t elemsize" "int *cnt"
 .Ft char **
 .Fn kvm_getargv2 "kvm_t *kd" "const struct kinfo_proc2 *p" "int nchr"
 .Ft char **



Home | Main Index | Thread Index | Old Index