Page MenuHomeFreeBSD

libc: Deprecate readdir_r()
ClosedPublic

Authored by des on Aug 1 2025, 4:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 2, 7:32 PM
Unknown Object (File)
Wed, Sep 23, 3:37 PM
Unknown Object (File)
Thu, Sep 17, 11:53 PM
Unknown Object (File)
Mon, Sep 14, 4:32 AM
Unknown Object (File)
Sep 2 2026, 5:21 AM
Unknown Object (File)
Aug 28 2026, 4:54 PM
Unknown Object (File)
Aug 26 2026, 11:43 PM
Unknown Object (File)
Aug 21 2026, 3:29 PM
Subscribers

Details

Summary

This function was never safe to use. We marked it deprecated in the
manual page in 2016, and it is marked obsolete in POSIX 2024. Add a
linker warning and annotate the prototype.

Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 65898
Build 62781: arc lint + arc unit