Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Apr 2017 02:03:35 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r316549 - head/share/man/man9
Message-ID:  <201704060203.v3623Z04093960@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Thu Apr  6 02:03:35 2017
New Revision: 316549
URL: https://svnweb.freebsd.org/changeset/base/316549

Log:
  Add sys/types.h #include to EXAMPLE to provide a complete functional
  standalone example program
  
  MFC after:	2 months
  Sponsored by:	Dell EMC Isilon

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

Modified: head/share/man/man9/sbuf.9
==============================================================================
--- head/share/man/man9/sbuf.9	Thu Apr  6 01:37:03 2017	(r316548)
+++ head/share/man/man9/sbuf.9	Thu Apr  6 02:03:35 2017	(r316549)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd March 14, 2015
+.Dd April 5, 2017
 .Dt SBUF 9
 .Os
 .Sh NAME
@@ -567,6 +567,7 @@ function (the userland version)
 will return zero for success and \-1 and set errno on error.
 .Sh EXAMPLES
 .Bd -literal -compact
+#include <sys/types.h>
 #include <sys/sbuf.h>
 
 struct sbuf *sb;



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