Page MenuHomeFreeBSD

cdefs.h: Introduce __nonstring attribute
ClosedPublic

Authored by arichardson on Sep 15 2025, 11:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 15, 11:12 PM
Unknown Object (File)
Nov 30 2025, 12:11 AM
Unknown Object (File)
Nov 28 2025, 7:45 PM
Unknown Object (File)
Nov 28 2025, 7:41 AM
Unknown Object (File)
Nov 5 2025, 11:59 PM
Unknown Object (File)
Nov 4 2025, 10:41 PM
Unknown Object (File)
Oct 25 2025, 9:44 AM
Unknown Object (File)
Oct 19 2025, 11:26 PM
Subscribers
None

Details

Summary

This attribute can be used to annotate char arrays that are not supposed to
be terminated with a NUL char and is needed to silence clang's new
-Wunterminated-string-initialization warning. The name matches linuxkpi.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable