From 445794569c9b1a0e7a90ab9123e371c84e668bf2 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 30 Jan 2025 21:14:17 +0100 Subject: Fix some mistakes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libenv_select_variable_list.3 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'libenv_select_variable_list.3') diff --git a/libenv_select_variable_list.3 b/libenv_select_variable_list.3 index 2ec8427..b38950f 100644 --- a/libenv_select_variable_list.3 +++ b/libenv_select_variable_list.3 @@ -18,9 +18,9 @@ Link with .SH DESCRIPTION The .BR libenv_select_variable_list () -function removes element in +function removes elements in .I variables -that matches the name, optionally with an equals sign +that match the name, optionally with an equals sign .RB ( = ) followed by anything, of an environment variable that do not belong to any of the environment variable classes @@ -28,7 +28,7 @@ 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 @@ -39,11 +39,11 @@ terminated list, but may be .PP The .BR libenv_select_variable_list_with_dealloc () -fucntion is a variant of the +function is a variant of the .BR libenv_select_variable_list () function that deallocates, using the .BR free (3) -function, any remove element. +function, any removed element. .PP The .BR libenv_vselect_variable_list () @@ -53,7 +53,7 @@ functions are variants of the .BR libenv_select_variable_list () and .BR libenv_select_variable_list_with_dealloc () -functions, respectively, that uses +functions, respectively, that use .I va_list instead of being properly variadic. @@ -66,10 +66,10 @@ and .BR libenv_vselect_variable_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 . -- cgit v1.2.3-70-g09d2