Skip to content

Commit

Permalink
README.md: "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 1a61502 commit e2588f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ See the PDF manual at <https://lukateras.github.io/nanoid.h/man.pdf>.

- static inline function `int *nanoidgen(char *buffer, size_t length)`

Fills the buffer with a Nano ID of the specified length up to 256.
Fills the buffer with a Nano ID of the specified length up to
`GETENTROPY_MAX` (256).

Returns the return value of [`getentropy(3)`][].

Expand Down
3 changes: 2 additions & 1 deletion openbsd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ See the PDF manual at <https://lukateras.github.io/nanoid.h/openbsd/man.pdf>.

- static inline function `int *nanoidgen(char *buffer, size_t length)`

Fills the buffer with a Nano ID of the specified length up to 256.
Fills the buffer with a Nano ID of the specified length up to
`GETENTROPY_MAX` (256).

Returns the return value of [`getentropy(2)`][].

Expand Down

0 comments on commit e2588f4

Please sign in to comment.