Skip to content

Commit

Permalink
nanoid.3: "up to GETENTROPY_MAX"
Browse files Browse the repository at this point in the history
  • Loading branch information
lukateras committed Jan 3, 2025
1 parent 2647e57 commit 1a61502
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions nanoid.3
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions openbsd/nanoid.3
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1a61502

Please sign in to comment.