aboutsummaryrefslogtreecommitdiffhomepage
path: root/janet.1
diff options
context:
space:
mode:
authorCalvin Rose <calsrose@gmail.com>2020-08-03 20:53:32 -0500
committerCalvin Rose <calsrose@gmail.com>2020-08-03 20:56:11 -0500
commit76cfbde9330c90f493c0b8597abe032ad387c150 (patch)
treef2dbce8a1d551c9f85832f63f7d5240aea3d1ec8 /janet.1
parentMerge pull request #455 from andrewchambers/prfseed (diff)
Add JANET_HASHSEED environment variable.
Diffstat (limited to 'janet.1')
-rw-r--r--janet.18
1 files changed, 8 insertions, 0 deletions
diff --git a/janet.1 b/janet.1
index 21b38e46..61c65b64 100644
--- a/janet.1
+++ b/janet.1
@@ -213,5 +213,13 @@ find native and source code modules. If no JANET_PATH is set, Janet will look in
the default location set at compile time.
.RE
+.B JANET_HASHSEED
+.RS
+To disable randomization of Janet's PRF on start up, one can set this variable. This can have the
+effect of making programs deterministic that otherwise would depend on the random seed chosen at program start.
+This variable does nothing in the default configuration of Janet, as PRF is disabled by default. Also, JANET_REDUCED_OS
+cannot be defined for this variable to have an effect.
+.RE
+
.SH AUTHOR
Written by Calvin Rose <calsrose@gmail.com>