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_get_chosen_list.3 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libenv_get_chosen_list.3') diff --git a/libenv_get_chosen_list.3 b/libenv_get_chosen_list.3 index 0b87403..7132a5d 100644 --- a/libenv_get_chosen_list.3 +++ b/libenv_get_chosen_list.3 @@ -19,11 +19,11 @@ The function returns a .I NULL terminated list of the names of all environment variables, that it knows of, -regardless if they are set in the environemnt, and that belong to at least +regardless if they are set in the environment, and that belong to at least one of the environment variable classes listed in the functions argument list. -The argument list must be termianted with +The argument list must be terminated with .I LIBENV_END -so that the function knonws when there are no more arguments to read. +so that the function knows when there are no more arguments to read. .PP The .BR libenv_vget_chosen_list () @@ -42,14 +42,14 @@ functions return a .IR NULL - terminated list of statically allocated strings, representing environment variable names. -The returned list, but not it's element, shall +The returned list, but not its element, shall be deallocated using the .BR free (3) function. On failure .I NULL is returned and .I errno -is appropriately set to describe the error. +is set appropriately to describe the error. .SH ERRORS The -- cgit v1.2.3-70-g09d2