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_getproc2(3) in the m...



details:   https://anonhg.NetBSD.org/src/rev/3e7a6f2843e7
branches:  trunk
changeset: 828914:3e7a6f2843e7
user:      kamil <kamil%NetBSD.org@localhost>
date:      Tue Jan 09 21:17:45 2018 +0000

description:
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 ffe223f3c7f2 -r 3e7a6f2843e7 lib/libkvm/kvm_getprocs.3
--- a/lib/libkvm/kvm_getprocs.3 Tue Jan 09 21:13:59 2018 +0000
+++ b/lib/libkvm/kvm_getprocs.3 Tue Jan 09 21:17:45 2018 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: kvm_getprocs.3,v 1.16 2017/10/22 14:25:33 abhinav Exp $
+.\"    $NetBSD: kvm_getprocs.3,v 1.17 2018/01/09 21:17:45 kamil 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
@@ -58,7 +58,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