aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/rand48.33
-rw-r--r--lib/libc/gen/syslog.36
2 files changed, 6 insertions, 3 deletions
diff --git a/lib/libc/gen/rand48.3 b/lib/libc/gen/rand48.3
index ac7e33e0f80d..a6b2eefe9d8d 100644
--- a/lib/libc/gen/rand48.3
+++ b/lib/libc/gen/rand48.3
@@ -56,7 +56,8 @@ particular formula employed is
r(n+1) = (a * r(n) + c) mod m
where the default values are
for the multiplicand a = 0xfdeece66d = 25214903917 and
-the addend c = 0xb = 11. The modulo is always fixed at m = 2 ** 48.
+the addend c = 0xb = 11.
+The modulo is always fixed at m = 2 ** 48.
r(n) is called the seed of the random number generator.
.Pp
For all the six generator routines described next, the first
diff --git a/lib/libc/gen/syslog.3 b/lib/libc/gen/syslog.3
index 437b6222b995..550ce5b3378c 100644
--- a/lib/libc/gen/syslog.3
+++ b/lib/libc/gen/syslog.3
@@ -63,7 +63,8 @@ writes
.Fa message
to the system message logger.
The message is then written to the system console, log files,
-logged-in users, or forwarded to other machines as appropriate. (See
+logged-in users, or forwarded to other machines as appropriate.
+(See
.Xr syslogd 8 . )
.Pp
The message is identical to a
@@ -71,7 +72,8 @@ The message is identical to a
format string, except that
.Ql %m
is replaced by the current error
-message. (As denoted by the global variable
+message.
+(As denoted by the global variable
.Va errno ;
see
.Xr strerror 3 . )