Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Sep 2017 04:45:19 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r323301 - stable/11/lib/libprocstat
Message-ID:  <201709080445.v884jJWs033192@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Fri Sep  8 04:45:18 2017
New Revision: 323301
URL: https://svnweb.freebsd.org/changeset/base/323301

Log:
  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

Modified:
  stable/11/lib/libprocstat/libprocstat.3
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/lib/libprocstat/libprocstat.3
==============================================================================
--- stable/11/lib/libprocstat/libprocstat.3	Fri Sep  8 04:39:59 2017	(r323300)
+++ stable/11/lib/libprocstat/libprocstat.3	Fri Sep  8 04:45:18 2017	(r323301)
@@ -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



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