svn commit: r334490 - head/share/man/man9

Jonathan T. Looney jtl at FreeBSD.org
Fri Jun 1 16:47:40 UTC 2018


Author: jtl
Date: Fri Jun  1 16:47:39 2018
New Revision: 334490
URL: https://svnweb.freebsd.org/changeset/base/334490

Log:
  Update the sysctl(9) manpage to indicate that <sys/param.h> is required
  instead of <sys/types.h>.  (<sys/sysctl.h> includes NULL, which is defined
  with <sys/param.h> and not <sys/types.h>.)
  
  Sponsored by:	Netflix

Modified:
  head/share/man/man9/sysctl.9

Modified: head/share/man/man9/sysctl.9
==============================================================================
--- head/share/man/man9/sysctl.9	Fri Jun  1 16:46:29 2018	(r334489)
+++ head/share/man/man9/sysctl.9	Fri Jun  1 16:47:39 2018	(r334490)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd March 3, 2018
+.Dd June 1, 2018
 .Dt SYSCTL 9
 .Os
 .Sh NAME
@@ -80,7 +80,7 @@
 .Nm SYSCTL_UQUAD
 .Nd Dynamic and static sysctl MIB creation functions
 .Sh SYNOPSIS
-.In sys/types.h
+.In sys/param.h
 .In sys/sysctl.h
 .Fn SYSCTL_DECL name
 .Ft struct sysctl_oid *


More information about the svn-src-head mailing list