aboutsummaryrefslogtreecommitdiffstats
path: root/libenv_get_chosen_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_get_chosen_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_get_chosen_list.3')
-rw-r--r--libenv_get_chosen_list.310
1 files changed, 5 insertions, 5 deletions
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