summaryrefslogtreecommitdiffstats
path: root/doc/rst/util.rst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-11-17 06:43:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-11-17 06:43:39 +0000
commit02448cb973a7c22a61fd7fa49b97ff5d597fec1d (patch)
tree3b1c4d23e28ad796b647400aff33031ecd1f49c6 /doc/rst/util.rst
parentReleasing debian version 1.11-2. (diff)
downloadlibnvme-02448cb973a7c22a61fd7fa49b97ff5d597fec1d.tar.xz
libnvme-02448cb973a7c22a61fd7fa49b97ff5d597fec1d.zip
Merging upstream version 1.11.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/rst/util.rst')
-rw-r--r--doc/rst/util.rst8
1 files changed, 3 insertions, 5 deletions
diff --git a/doc/rst/util.rst b/doc/rst/util.rst
index 6d024ed..f8d4a52 100644
--- a/doc/rst/util.rst
+++ b/doc/rst/util.rst
@@ -7,7 +7,7 @@ libnvme utility functions
-.. c:enum:: nvme_connect_err
+.. c:type:: enum nvme_connect_err
nvme connect error codes
@@ -487,9 +487,7 @@ If **s** starts with **prefix**, then return a pointer within **s** at
the first character after the matched **prefix**. NULL otherwise.
-.. c:macro:: round_up
-
-``round_up (val, mult)``
+.. c:function:: round_up (val, mult)
Round a value **val** to the next multiple specified by **mult**.
@@ -572,7 +570,7 @@ Pointer to the next element in the array.
-.. c:enum:: nvme_version
+.. c:type:: enum nvme_version
Selector for version to be returned by **nvme_get_version**