From 81efa65b51c07b7e8a2ae947924e8f11d6589d9d Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Fri, 8 Sep 2017 04:45:18 +0000 Subject: MFC r321704,r321705,r321706: r321704: Add sys/socket.h to SYNOPSIS for libprocstat(3) sys/socket.h is required for procstat_get_socket_info(3), added in r221807. PR: 217884 r321705: libprocstat(3): fix reference (typo) to procstat_freeenvv in description for procstat_getargv(3) PR: 217884 r321706: libprocstat(3): fix arguments list for procstat_getargv(3) and procstat_getenvv(3) Neither libcall takes a fourth argument (`char *errbuf`). PR: 217884 --- lib/libprocstat/libprocstat.3 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lib/libprocstat/libprocstat.3') diff --git a/lib/libprocstat/libprocstat.3 b/lib/libprocstat/libprocstat.3 index e8be41c532e1..3a9e4f13552e 100644 --- a/lib/libprocstat/libprocstat.3 +++ b/lib/libprocstat/libprocstat.3 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 18, 2015 +.Dd July 29, 2017 .Dt LIBPROCSTAT 3 .Os .Sh NAME @@ -64,6 +64,7 @@ .Sh SYNOPSIS .In sys/param.h .In sys/queue.h +.In sys/socket.h .In libprocstat.h .Ft void .Fn procstat_close "struct procstat *procstat" @@ -149,7 +150,6 @@ .Fa "struct procstat *procstat" .Fa "const struct kinfo_proc *kp" .Fa "size_t nchr" -.Fa "char *errbuf" .Fc .Ft "Elf_Auxinfo *" .Fo procstat_getauxv @@ -162,7 +162,6 @@ .Fa "struct procstat *procstat" .Fa "const struct kinfo_proc *kp" .Fa "size_t nchr" -.Fa "char *errbuf" .Fc .Ft "struct filestat_list *" .Fo procstat_getfiles @@ -352,7 +351,7 @@ function is similar to .Fn procstat_getargv but returns the vector of environment strings. The caller may free the allocated memory with a subsequent -.Fn procstat_freeenv +.Fn procstat_freeenvv function call. .Pp The -- cgit v1.3