Page MenuHomeFreeBSD

cdefs.h: Introduce __nonstring attribute
Needs ReviewPublic

Authored by arichardson on Sep 15 2025, 11:24 PM.
Tags
None
Referenced Files
F133386980: D52565.diff
Sat, Oct 25, 9:44 AM
Unknown Object (File)
Sun, Oct 19, 11:26 PM
Unknown Object (File)
Sun, Oct 12, 4:39 PM
Unknown Object (File)
Fri, Oct 10, 11:32 PM
Unknown Object (File)
Thu, Oct 9, 9:29 PM
Unknown Object (File)
Thu, Oct 9, 1:43 PM
Unknown Object (File)
Thu, Oct 9, 1:42 PM
Unknown Object (File)
Thu, Oct 9, 12:42 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