Page MenuHomeFreeBSD

cdefs.h: Introduce __nonstring attribute
ClosedPublic

Authored by arichardson on Sep 15 2025, 11:24 PM.
Tags
None
Referenced Files
F166792475: D52565.id168221.diff
Sun, Aug 16, 5:14 PM
Unknown Object (File)
Wed, Aug 12, 11:47 PM
Unknown Object (File)
Sun, Aug 9, 7:46 PM
Unknown Object (File)
Sun, Aug 9, 5:14 PM
Unknown Object (File)
Sun, Aug 9, 5:08 AM
Unknown Object (File)
Sun, Aug 9, 4:20 AM
Unknown Object (File)
Sun, Aug 9, 3:12 AM
Unknown Object (File)
Sat, Aug 8, 6:53 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