mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 04:36:52 -10:00
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:
1 parent
3c33729ce2
commit
2ea905c875
1 file changed
+4
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user