mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-18 14:23:55 +00:00
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).
This commit is contained in:
parent
e2326639c2
commit
01688065e7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=216156
|
@ -719,6 +719,9 @@ or which return data read from bus space (i.e., functions which
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue