From e2588f449e782c73d7c620c8891117d67f58b85c Mon Sep 17 00:00:00 2001 From: Luka Teras Date: Fri, 3 Jan 2025 01:59:34 +0000 Subject: [PATCH] `README.md`: "up to `GETENTROPY_MAX`" --- README.md | 3 ++- openbsd/README.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a85a661..61d4990 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,8 @@ See the PDF manual at . - 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)`][]. diff --git a/openbsd/README.md b/openbsd/README.md index 54acd95..c4c2b43 100644 --- a/openbsd/README.md +++ b/openbsd/README.md @@ -84,7 +84,8 @@ See the PDF manual at . - 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)`][].