summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/kenv.2
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-12-19 09:40:28 +0000
committerru <ru@FreeBSD.org>2002-12-19 09:40:28 +0000
commit51fe7c1a888747c57136cc34ec54a93a0487b745 (patch)
treef0781cb8e5be3a35234a6d0c123d6ae11ba70e40 /lib/libc/sys/kenv.2
parent3424a53ebeadf7ab320c37cf93702953cee94efe (diff)
downloadFreeBSD-src-51fe7c1a888747c57136cc34ec54a93a0487b745.zip
FreeBSD-src-51fe7c1a888747c57136cc34ec54a93a0487b745.tar.gz
mdoc(7) police: "The .Fa argument.".
Diffstat (limited to 'lib/libc/sys/kenv.2')
-rw-r--r--lib/libc/sys/kenv.210
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libc/sys/kenv.2 b/lib/libc/sys/kenv.2
index 2ca1c99..1a24a27 100644
--- a/lib/libc/sys/kenv.2
+++ b/lib/libc/sys/kenv.2
@@ -48,7 +48,7 @@ the kernel environment.
.Pp
The
.Fa action
-parameter can be one of the following:
+argument can be one of the following:
.Bl -tag -width ".Dv KENV_UNSET"
.It Dv KENV_GET
Returns the value associated with the named kernel environment variable.
@@ -85,14 +85,14 @@ will return the number of bytes required to copy out the entire environment.
.Pp
The
.Fa name
-parameter is the name of the environment variable to be affected.
+argument is the name of the environment variable to be affected.
In the case of
.Dv KENV_DUMP
it is ignored.
.Pp
The
.Fa value
-parameter contains either the value to set the environment variable
+argument contains either the value to set the environment variable
.Fa name
to in the case of
.Dv KENV_SET ,
@@ -113,7 +113,7 @@ will return the number of bytes required to copy out the entire environment.
.Pp
The
.Fa len
-parameter indicates how many bytes of storage
+argument indicates how many bytes of storage
.Fa value
points to.
.Sh RETURN VALUES
@@ -140,7 +140,9 @@ system call
will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
+The
.Fa action
+argument
is not a valid option, or the length of the
.Fa value
is less than 1 for a
OpenPOWER on IntegriCloud