Page MenuHomeFreeBSD

cdefs.h: Introduce __nonstring attribute
AcceptedPublic

Authored by arichardson on Sep 15 2025, 11:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 5, 11:59 PM
Unknown Object (File)
Tue, Nov 4, 10:41 PM
Unknown Object (File)
Sat, Oct 25, 9:44 AM
Unknown Object (File)
Oct 19 2025, 11:26 PM
Unknown Object (File)
Oct 12 2025, 4:39 PM
Unknown Object (File)
Oct 10 2025, 11:32 PM
Unknown Object (File)
Oct 9 2025, 9:29 PM
Unknown Object (File)
Oct 9 2025, 1:43 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 Passed
Unit
No Test Coverage
Build Status
Buildable 67065
Build 63948: arc lint + arc unit