cdefs(9): document __nonstring

Reviewed by:	emaste
Discussed with:	imp
Fixes:	802c6d5d61 ("cdefs.h: Introduce __nonstring attribute")
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D58804
This commit is contained in:
Mitchell Horne committed 2026-08-13 10:47:41 -03:00
1 parent 3c33729ce2
commit 2ea905c875
1 file changed
+4 -1
+4 -1
View File
@@ -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