Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 2015 17:51:07 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r283622 - head/lib/libutil
Message-ID:  <201505271751.t4RHp7Rr026275@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Wed May 27 17:51:06 2015
New Revision: 283622
URL: https://svnweb.freebsd.org/changeset/base/283622

Log:
  Add <sys/user.h> to the SYNOPSIS of the kinfo_get*() functions since these
  functions all return types that are defined in that header.
  
  MFC after:	1 week

Modified:
  head/lib/libutil/kinfo_getallproc.3
  head/lib/libutil/kinfo_getfile.3
  head/lib/libutil/kinfo_getproc.3
  head/lib/libutil/kinfo_getvmmap.3

Modified: head/lib/libutil/kinfo_getallproc.3
==============================================================================
--- head/lib/libutil/kinfo_getallproc.3	Wed May 27 17:44:14 2015	(r283621)
+++ head/lib/libutil/kinfo_getallproc.3	Wed May 27 17:51:06 2015	(r283622)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd July 9, 2009
+.Dd May 27, 2015
 .Dt KINFO_GETALLPROC 3
 .Os
 .Sh NAME
@@ -35,6 +35,7 @@
 .Lb libutil
 .Sh SYNOPSIS
 .In sys/types.h
+.In sys/user.h
 .In libutil.h
 .Ft struct kinfo_proc *
 .Fn kinfo_getallproc "int *cntp"

Modified: head/lib/libutil/kinfo_getfile.3
==============================================================================
--- head/lib/libutil/kinfo_getfile.3	Wed May 27 17:44:14 2015	(r283621)
+++ head/lib/libutil/kinfo_getfile.3	Wed May 27 17:51:06 2015	(r283622)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd December 6, 2008
+.Dd May 27, 2015
 .Dt KINFO_GETFILE 3
 .Os
 .Sh NAME
@@ -35,6 +35,7 @@
 .Lb libutil
 .Sh SYNOPSIS
 .In sys/types.h
+.In sys/user.h
 .In libutil.h
 .Ft struct kinfo_file *
 .Fn kinfo_getfile "pid_t pid" "int *cntp"

Modified: head/lib/libutil/kinfo_getproc.3
==============================================================================
--- head/lib/libutil/kinfo_getproc.3	Wed May 27 17:44:14 2015	(r283621)
+++ head/lib/libutil/kinfo_getproc.3	Wed May 27 17:51:06 2015	(r283622)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd March 1, 2013
+.Dd May 27, 2015
 .Dt KINFO_GETPROC 3
 .Os
 .Sh NAME
@@ -35,6 +35,7 @@
 .Lb libutil
 .Sh SYNOPSIS
 .In sys/types.h
+.In sys/user.h
 .In libutil.h
 .Ft struct kinfo_proc *
 .Fn kinfo_getproc "pid_t pid"

Modified: head/lib/libutil/kinfo_getvmmap.3
==============================================================================
--- head/lib/libutil/kinfo_getvmmap.3	Wed May 27 17:44:14 2015	(r283621)
+++ head/lib/libutil/kinfo_getvmmap.3	Wed May 27 17:51:06 2015	(r283622)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd December 6, 2008
+.Dd May 27, 2015
 .Dt KINFO_GETVMMAP 3
 .Os
 .Sh NAME
@@ -35,6 +35,7 @@
 .Lb libutil
 .Sh SYNOPSIS
 .In sys/types.h
+.In sys/user.h
 .In libutil.h
 .Ft struct kinfo_vmentry *
 .Fn kinfo_getvmmap "pid_t pid" "int *cntp"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505271751.t4RHp7Rr026275>