Page MenuHomeFreeBSD

cdefs.h: Introduce __nonstring attribute
AcceptedPublic

Authored by arichardson on Sep 15 2025, 11:24 PM.
Tags
None
Referenced Files
F138090366: D52565.id162123.diff
Fri, Nov 28, 7:45 PM
F138027966: D52565.diff
Fri, Nov 28, 7:41 AM
Unknown Object (File)
Wed, Nov 5, 11:59 PM
Unknown Object (File)
Tue, Nov 4, 10:41 PM
Unknown Object (File)
Oct 25 2025, 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
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