From owner-svn-src-head@FreeBSD.ORG Fri Dec 3 18:30:56 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16F431065670; Fri, 3 Dec 2010 18:30:56 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 059288FC0A; Fri, 3 Dec 2010 18:30:56 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id oB3IUtsR007174; Fri, 3 Dec 2010 18:30:55 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id oB3IUtB5007172; Fri, 3 Dec 2010 18:30:55 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201012031830.oB3IUtB5007172@svn.freebsd.org> From: Bruce Cran Date: Fri, 3 Dec 2010 18:30:55 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r216156 - head/share/man/man9 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Dec 2010 18:30:56 -0000 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