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
This commit is contained in:
John Baldwin 2015-05-27 17:51:06 +00:00
parent 18a259a802
commit 965cd3b0c5
4 changed files with 8 additions and 4 deletions

View File

@ -25,7 +25,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd July 9, 2009 .Dd May 27, 2015
.Dt KINFO_GETALLPROC 3 .Dt KINFO_GETALLPROC 3
.Os .Os
.Sh NAME .Sh NAME
@ -35,6 +35,7 @@
.Lb libutil .Lb libutil
.Sh SYNOPSIS .Sh SYNOPSIS
.In sys/types.h .In sys/types.h
.In sys/user.h
.In libutil.h .In libutil.h
.Ft struct kinfo_proc * .Ft struct kinfo_proc *
.Fn kinfo_getallproc "int *cntp" .Fn kinfo_getallproc "int *cntp"

View File

@ -25,7 +25,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd December 6, 2008 .Dd May 27, 2015
.Dt KINFO_GETFILE 3 .Dt KINFO_GETFILE 3
.Os .Os
.Sh NAME .Sh NAME
@ -35,6 +35,7 @@
.Lb libutil .Lb libutil
.Sh SYNOPSIS .Sh SYNOPSIS
.In sys/types.h .In sys/types.h
.In sys/user.h
.In libutil.h .In libutil.h
.Ft struct kinfo_file * .Ft struct kinfo_file *
.Fn kinfo_getfile "pid_t pid" "int *cntp" .Fn kinfo_getfile "pid_t pid" "int *cntp"

View File

@ -25,7 +25,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd March 1, 2013 .Dd May 27, 2015
.Dt KINFO_GETPROC 3 .Dt KINFO_GETPROC 3
.Os .Os
.Sh NAME .Sh NAME
@ -35,6 +35,7 @@
.Lb libutil .Lb libutil
.Sh SYNOPSIS .Sh SYNOPSIS
.In sys/types.h .In sys/types.h
.In sys/user.h
.In libutil.h .In libutil.h
.Ft struct kinfo_proc * .Ft struct kinfo_proc *
.Fn kinfo_getproc "pid_t pid" .Fn kinfo_getproc "pid_t pid"

View File

@ -25,7 +25,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd December 6, 2008 .Dd May 27, 2015
.Dt KINFO_GETVMMAP 3 .Dt KINFO_GETVMMAP 3
.Os .Os
.Sh NAME .Sh NAME
@ -35,6 +35,7 @@
.Lb libutil .Lb libutil
.Sh SYNOPSIS .Sh SYNOPSIS
.In sys/types.h .In sys/types.h
.In sys/user.h
.In libutil.h .In libutil.h
.Ft struct kinfo_vmentry * .Ft struct kinfo_vmentry *
.Fn kinfo_getvmmap "pid_t pid" "int *cntp" .Fn kinfo_getvmmap "pid_t pid" "int *cntp"