aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2012-05-11 20:06:46 +0000
committerGlen Barber <gjb@FreeBSD.org>2012-05-11 20:06:46 +0000
commita3fb6da9ba05cbeeab1d5bec46075916256d2fb0 (patch)
tree0b28f0bebde32579d2780e773f4990dfb45d3f30 /lib/libc/stdlib
parent8a3beec66e8b6f0cb1451efcc8a0f55f3bad0614 (diff)
downloadsrc-a3fb6da9ba05cbeeab1d5bec46075916256d2fb0.tar.gz
src-a3fb6da9ba05cbeeab1d5bec46075916256d2fb0.zip
General mdoc(7) and typo fixes.
PR: 167734 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days
Notes
Notes: svn path=/head/; revision=235286
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/getenv.33
-rw-r--r--lib/libc/stdlib/strfmon.34
2 files changed, 4 insertions, 3 deletions
diff --git a/lib/libc/stdlib/getenv.3 b/lib/libc/stdlib/getenv.3
index bc87b9d54cbb..19496489457d 100644
--- a/lib/libc/stdlib/getenv.3
+++ b/lib/libc/stdlib/getenv.3
@@ -152,7 +152,8 @@ failed because
is a
.Dv NULL
pointer,
-.Fa string is without an
+.Fa string
+is without an
.Dq Li \&=
character or
.Dq Li \&=
diff --git a/lib/libc/stdlib/strfmon.3 b/lib/libc/stdlib/strfmon.3
index 11b8e211bf66..7a54f22bf25d 100644
--- a/lib/libc/stdlib/strfmon.3
+++ b/lib/libc/stdlib/strfmon.3
@@ -115,14 +115,14 @@ character is written.
.El
.Sh RETURN VALUES
If the total number of resulting bytes including the terminating
-.Dv NULL
+.Dv NUL
byte is not more than
.Fa maxsize ,
.Fn strfmon
returns the number of bytes placed into the array pointed to by
.Fa s ,
not including the terminating
-.Dv NULL
+.Dv NUL
byte.
Otherwise, \-1 is returned,
the contents of the array are indeterminate,