File 0608-erl_nif.md-enif_get_string-re-spell-is-1-to-is-0-for.patch of Package erlang

From 934e7eeb326b7f10a681fe50e1a0104590bf8e31 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= <nabijaczleweli@nabijaczleweli.xyz>
Date: Wed, 28 Jan 2026 20:45:08 +0100
Subject: [PATCH] erl_nif.md: enif_get_string(): re-spell 'is < 1' to 'is 0'
 for an uint

Followup-for: #10462
---
 erts/doc/references/erl_nif.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/erts/doc/references/erl_nif.md b/erts/doc/references/erl_nif.md
index 90d689b5af..5c4e4195a5 100644
--- a/erts/doc/references/erl_nif.md
+++ b/erts/doc/references/erl_nif.md
@@ -1530,7 +1530,7 @@ Returns one of the following:
 - The number of bytes written (including the terminating NUL byte)
 - `-size` if the string was truncated because of buffer space
 - `0` if `list` is not a string that can be encoded with `encoding` or if `size`
-  was < `1`.
+  was `0`.
 
 The written string is always NUL\-terminated, unless buffer `size` is `0`.
 
-- 
2.51.0

openSUSE Build Service is sponsored by