aboutsummaryrefslogtreecommitdiffstats
path: root/libenv_select_name_list.3
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-01-30 21:14:17 +0100
committerMattias Andrée <m@maandree.se>2025-01-30 21:14:17 +0100
commit445794569c9b1a0e7a90ab9123e371c84e668bf2 (patch)
tree289b8839634abac5066fa68824be59c94e9ff0f7 /libenv_select_name_list.3
parentFirst commit (diff)
downloadlibenv-445794569c9b1a0e7a90ab9123e371c84e668bf2.tar.gz
libenv-445794569c9b1a0e7a90ab9123e371c84e668bf2.tar.bz2
libenv-445794569c9b1a0e7a90ab9123e371c84e668bf2.tar.xz
Fix some mistakes
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'libenv_select_name_list.3')
-rw-r--r--libenv_select_name_list.318
1 files changed, 9 insertions, 9 deletions
diff --git a/libenv_select_name_list.3 b/libenv_select_name_list.3
index 6addcd1..c0cb1e8 100644
--- a/libenv_select_name_list.3
+++ b/libenv_select_name_list.3
@@ -18,15 +18,15 @@ Link with
.SH DESCRIPTION
The
.BR libenv_select_name_list ()
-function removes element in
+function removes elements in
.I variables
-that matches the name of an environment variable that
-do not belong to ant of the environment variable classes
+that match the name of an environment variable that
+do not belong to any of the environment variable classes
listed after the
.I variables
argument. The list must end with
.I LIBENV_END
-to mark indicate to the function that there are no
+to signal to the function that there are no
more arguments to read.
.PP
.I variables
@@ -37,11 +37,11 @@ terminated list, but may be
.PP
The
.BR libenv_select_name_list_with_dealloc ()
-fucntion is a variant of the
+function is a variant of the
.BR libenv_select_name_list ()
function that deallocates, using the
.BR free (3)
-function, any remove element.
+function, any removed element.
.PP
The
.BR libenv_vselect_name_list ()
@@ -51,7 +51,7 @@ functions are variants of the
.BR libenv_select_name_list ()
and
.BR libenv_select_name_list_with_dealloc ()
-functions, respectively, that uses
+functions, respectively, that use
.I va_list
instead of being properly variadic.
@@ -64,10 +64,10 @@ and
.BR libenv_vselect_name_list_with_dealloc ()
functions return the new number of elements in
.IR variables ,
-exclucing the
+excluding the
.I NULL
element at the end of the list.
-0 if
+The functions return 0 if
.I variables
is
.IR NULL .