diff options
author | Mattias Andrée <m@maandree.se> | 2025-01-30 21:14:17 +0100 |
---|---|---|
committer | Mattias Andrée <m@maandree.se> | 2025-01-30 21:14:17 +0100 |
commit | 445794569c9b1a0e7a90ab9123e371c84e668bf2 (patch) | |
tree | 289b8839634abac5066fa68824be59c94e9ff0f7 /libenv_select_variable_list.3 | |
parent | First commit (diff) | |
download | libenv-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_variable_list.3')
-rw-r--r-- | libenv_select_variable_list.3 | 16 |
1 files changed, 8 insertions, 8 deletions
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 . |