Page MenuHomeFreeBSD

cdefs.h: Introduce __nonstring attribute
ClosedPublic

Authored by arichardson on Sep 15 2025, 11:24 PM.
Tags
None
Referenced Files
F163036548: D52565.id162123.diff
Sun, Jul 19, 11:43 AM
F162961873: D52565.id.diff
Sat, Jul 18, 5:52 PM
Unknown Object (File)
Sat, Jul 18, 3:41 PM
Unknown Object (File)
Sat, Jul 18, 11:52 AM
Unknown Object (File)
Wed, Jul 15, 6:44 AM
Unknown Object (File)
Wed, Jul 15, 6:44 AM
Unknown Object (File)
Thu, Jun 25, 7:18 AM
Unknown Object (File)
Jun 4 2026, 2:15 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