Page MenuHomeFreeBSD

cdefs.h: Introduce __nonstring attribute
ClosedPublic

Authored by arichardson on Sep 15 2025, 11:24 PM.
Tags
None
Referenced Files
F171613519: D52565.id168221.diff
Sat, Sep 12, 4:28 AM
Unknown Object (File)
Tue, Sep 8, 9:33 PM
Unknown Object (File)
Sun, Sep 6, 11:02 AM
Unknown Object (File)
Fri, Sep 4, 5:28 PM
Unknown Object (File)
Fri, Sep 4, 4:35 PM
Unknown Object (File)
Wed, Sep 2, 5:39 PM
Unknown Object (File)
Wed, Sep 2, 9:16 AM
Unknown Object (File)
Sat, Aug 22, 1:07 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