aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Horne <mhorne@FreeBSD.org>2026-02-05 18:52:36 +0000
committerMitchell Horne <mhorne@FreeBSD.org>2026-08-13 13:47:41 +0000
commit2ea905c875b6c89117023e240c3158f2da79bc52 (patch)
tree9dbc963bb4f0179787e36f9c081da92db874e57e
parent3c33729ce2f421e2a583f19f85a181968aa310de (diff)
cdefs(9): document __nonstring
Reviewed by: emaste Discussed with: imp Fixes: 802c6d5d61d1 ("cdefs.h: Introduce __nonstring attribute") MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D58804
-rw-r--r--share/man/man9/cdefs.95
1 files changed, 4 insertions, 1 deletions
diff --git a/share/man/man9/cdefs.9 b/share/man/man9/cdefs.9
index 9edfeec70bc6..e8da7d57dee1 100644
--- a/share/man/man9/cdefs.9
+++ b/share/man/man9/cdefs.9
@@ -3,7 +3,7 @@
.\"
.\" SPDX-License-Identifier: BSD-2-Clause
.\"
-.Dd June 26, 2026
+.Dd August 13, 2026
.Dt CDEFS 9
.Os
.Sh NAME
@@ -205,6 +205,9 @@ except
.Fa fmtarg
may be
.Dv NULL.
+.It Sy __nonstring Ta Specify that an array of
+.Vt char
+does not require a null terminator.
.It Sy __strong_reference(sym,aliassym) Ta
.It Sy __weak_reference(sym,alias) Ta
.It Sy __warn_references(sym,msg) Ta