Be a little more consistent about nulls.

This commit is contained in:
riastradh 2015-03-30 13:35:50 +00:00
parent a6a845b4eb
commit 6bcaafafa3

View File

@ -1,4 +1,4 @@
.\" $NetBSD: bufferio.9,v 1.10 2015/03/30 13:26:55 riastradh Exp $ .\" $NetBSD: bufferio.9,v 1.11 2015/03/30 13:35:50 riastradh Exp $
.\" .\"
.\" Copyright (c) 2015 The NetBSD Foundation, Inc. .\" Copyright (c) 2015 The NetBSD Foundation, Inc.
.\" All rights reserved. .\" All rights reserved.
@ -159,7 +159,7 @@ in this case.
.It .It
Otherwise, if Otherwise, if
.Fa bp Ns Li "->b_iodone" .Fa bp Ns Li "->b_iodone"
is null and is a null function pointer and
.Dv B_ASYNC .Dv B_ASYNC
is not specified, the user may wait for the I/O transfer to complete is not specified, the user may wait for the I/O transfer to complete
with with
@ -364,7 +364,9 @@ is nonnull, the transfer is associated with it.
If If
.Fa waitok .Fa waitok
is false, is false,
returns null if none can be allocated immediately. returns
.Dv NULL
if none can be allocated immediately.
.Pp .Pp
The resulting The resulting
.Vt "struct buf" .Vt "struct buf"