diff options
Diffstat (limited to 'doc/rst/util.rst')
-rw-r--r-- | doc/rst/util.rst | 8 |
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** |