From b98a76519ec67466dabe71a849af9c4807b13d7e Mon Sep 17 00:00:00 2001 From: Luka Teras Date: Thu, 2 Jan 2025 03:55:26 +0000 Subject: [PATCH] =?UTF-8?q?"=E2=89=A4"=20->=20"up=20to"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- nanoid.3 | 2 +- openbsd/README.md | 2 +- openbsd/nanoid.3 | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9e2b5a6..ff9008b 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ To build just [`nanoidgen(1)`][], run `make nanoidgen`. No `Makefile` required. - static function `char *nanoid(size_t length)` - Generates a Nano ID of the given length ≤256. + Generates a Nano ID of the given length up to 256. Returns a newly allocated null-terminated string with the ID, or `NULL` if [`calloc(3)`][] or [`getentropy(3)`][] fail. diff --git a/nanoid.3 b/nanoid.3 index 698d759..4b901b8 100644 --- a/nanoid.3 +++ b/nanoid.3 @@ -15,7 +15,7 @@ Expands to .Fn nanoid 21 . .Fn nanoid -generates a Nano ID of the given length ≤256. +generates a Nano ID of the given length up to 256. Returns a newly allocated null-terminated string with the ID, or .Dv NULL if diff --git a/openbsd/README.md b/openbsd/README.md index 74f3505..e83a210 100644 --- a/openbsd/README.md +++ b/openbsd/README.md @@ -69,7 +69,7 @@ For details, consult `nanoid(3)` and `nanoidgen(1)` man pages. - static function `char *nanoid(size_t length)` - Generates a Nano ID of the given length ≤256. + Generates a Nano ID of the given length up to 256. Returns a newly allocated null-terminated string with the ID, or `NULL` if [`calloc(3)`][] or [`getentropy(2)`][] fail. diff --git a/openbsd/nanoid.3 b/openbsd/nanoid.3 index 9aeeda2..dfdd3ac 100644 --- a/openbsd/nanoid.3 +++ b/openbsd/nanoid.3 @@ -15,7 +15,7 @@ Expands to .Fn nanoid 21 . .Fn nanoid -generates a Nano ID of the given length ≤256. +generates a Nano ID of the given length up to 256. Returns a newly allocated null-terminated string with the ID, or .Dv NULL if