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

Bruce Cran brucec at FreeBSD.org
Fri Dec 3 18:30:56 UTC 2010


Author: brucec
Date: Fri Dec  3 18:30:55 2010
New Revision: 216156
URL: http://svn.freebsd.org/changeset/base/216156

Log:
  Document the fact that passing in a count of zero to the bus_space functions
  will result in undefined behaviour.
  Taken from NetBSD's bus_space(9).

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

Modified: head/share/man/man9/bus_space.9
==============================================================================
--- head/share/man/man9/bus_space.9	Fri Dec  3 16:40:47 2010	(r216155)
+++ head/share/man/man9/bus_space.9	Fri Dec  3 18:30:55 2010	(r216156)
@@ -719,6 +719,9 @@ or which return data read from bus space
 do not obviously return an error code) do not fail.
 They could only fail
 if given invalid arguments, and in that case their behaviour is undefined.
+Functions which take a count of bytes have undefined results if the specified
+.Fa count
+is zero.
 .Sh TYPES
 Several types are defined in
 .In machine/bus.h


More information about the svn-src-all mailing list