From 5a54ecdade484168846b8db83a7f41c5275059c0 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Tue, 20 Oct 2026 12:02:09 +0000 Subject: docs(strings): document the embedded standard library and STRING values Describe -no-std, C_STRING literals, library function semantics and owning string lifetimes in the manuals and contributor guidance. Co-Authored-By: Claude Opus 5.5 --- doc/language/function/cpsc-function-length.7.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc/language/function/cpsc-function-length.7.md') diff --git a/doc/language/function/cpsc-function-length.7.md b/doc/language/function/cpsc-function-length.7.md index fcdc47a..470b975 100644 --- a/doc/language/function/cpsc-function-length.7.md +++ b/doc/language/function/cpsc-function-length.7.md @@ -12,7 +12,9 @@ LENGTH(text : STRING) RETURNS INTEGER # DESCRIPTION -Return the number of bytes before the string terminator. String operations are byte-based, so this is not a Unicode character count. +Provided by the standard string library, loaded and linked by default. + +Return the number of bytes in the owning string, including embedded NUL bytes. String operations are byte-based, so this is not a Unicode character count. # EXAMPLE -- cgit v1.3.1-4-g156e