aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLexi Winter <lexi@hemlock.eden.le-fay.org>2025-03-26 13:52:29 +0000
committerLexi Winter <lexi@hemlock.eden.le-fay.org>2025-03-26 13:52:29 +0000
commitff30478c4e814efc28b5485aa17567a93265bf99 (patch)
tree0887046321710cbcd363d7cca527f0f0ca4413da
parent561d2ffd4a1566ec6bffbac8c2f3c2086dbb3b6c (diff)
downloadlibnvxx-ff30478c4e814efc28b5485aa17567a93265bf99.tar.gz
libnvxx-ff30478c4e814efc28b5485aa17567a93265bf99.tar.bz2
nvxx.3: spell descriptor properly
-rw-r--r--libnvxx/nvxx.34
1 files changed, 2 insertions, 2 deletions
diff --git a/libnvxx/nvxx.3 b/libnvxx/nvxx.3
index ee1578e..9f8e3b3 100644
--- a/libnvxx/nvxx.3
+++ b/libnvxx/nvxx.3
@@ -493,7 +493,7 @@ The
.Fn move_string_array ,
.Fn move_nvlist_array
and
-.Fn move_desctiptor_array
+.Fn move_descriptor_array
member functions take ownership of the provided C array of the given type
and add it to the nvlist as an array.
The array must be a C array which was previously allocated using
@@ -508,7 +508,7 @@ the nvlist takes ownership of the member values and will later free them using
.Xr nvlist_destroy 3
(for nvlists).
In the case of
-.Fn move_desctiptor_array ,
+.Fn move_descriptor_array ,
the nvlist takes ownership of the member descriptors and will later close them
using
.Xr close 2 .