From 1a6150237b1894d8224a7ca7f20964b8601d6b92 Mon Sep 17 00:00:00 2001 From: Luka Teras Date: Fri, 3 Jan 2025 01:58:29 +0000 Subject: [PATCH] `nanoid.3`: "up to `GETENTROPY_MAX`" --- nanoid.3 | 5 +++-- openbsd/nanoid.3 | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/nanoid.3 b/nanoid.3 index 6abe9e9..4ad8d1e 100644 --- a/nanoid.3 +++ b/nanoid.3 @@ -12,8 +12,9 @@ expands to the default Nano ID length of 21. .Fn nanoidgen -fills the buffer with a Nano ID of the specified length up to 256 and returns -the return value of +fills the buffer with a Nano ID of the specified length up to +.Dv GETENTROPY_MAX (256) +and returns the return value of .Xr getentropy 3 . .Sh RETURN VALUES .Rv -std diff --git a/openbsd/nanoid.3 b/openbsd/nanoid.3 index bbb3285..7865dad 100644 --- a/openbsd/nanoid.3 +++ b/openbsd/nanoid.3 @@ -12,8 +12,9 @@ expands to the default Nano ID length of 21. .Fn nanoidgen -fills the buffer with a Nano ID of the specified length up to 256 and returns -the return value of +fills the buffer with a Nano ID of the specified length up to +.Dv GETENTROPY_MAX (256) +and returns the return value of .Xr getentropy 2 . .Sh RETURN VALUES .Rv -std