Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man9 Mark up NULL with Dv.



details:   https://anonhg.NetBSD.org/src/rev/465fb317c8ef
branches:  trunk
changeset: 996976:465fb317c8ef
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sat Feb 16 07:00:56 2019 +0000

description:
Mark up NULL with Dv.

diffstat:

 share/man/man9/audio.9 |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r 59a28461249a -r 465fb317c8ef share/man/man9/audio.9
--- a/share/man/man9/audio.9    Sat Feb 16 06:51:04 2019 +0000
+++ b/share/man/man9/audio.9    Sat Feb 16 07:00:56 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: audio.9,v 1.50 2019/02/16 06:51:04 isaki Exp $
+.\"    $NetBSD: audio.9,v 1.51 2019/02/16 07:00:56 wiz Exp $
 .\"
 .\" Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -133,7 +133,9 @@
 The fields of
 .Va audio_hw_if
 are described in some more detail below.
-Some fields are optional and can be set to NULL if not needed.
+Some fields are optional and can be set to
+.Dv NULL
+if not needed.
 .Bl -tag -width indent
 .It Dv int open(void *hdl, int flags)
 optional, is called when the audio device is opened.
@@ -414,7 +416,9 @@
 The reason for using a device dependent routine instead of
 .Xr malloc 9
 is that some buses need special allocation to do DMA.
-Returns the address of the buffer, or NULL on failure.
+Returns the address of the buffer, or
+.Dv NULL
+on failure.
 .It Dv void freem(void *hdl, void *addr, size_t size)
 optional, is called to free memory allocated by
 .Va allocm .



Home | Main Index | Thread Index | Old Index