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, May 29, 1:11 PM
Unknown Object (File)
Wed, May 27, 12:06 PM
Unknown Object (File)
Mon, May 18, 4:15 PM
Unknown Object (File)
Mon, May 18, 1:29 PM
Unknown Object (File)
Mon, May 18, 3:02 AM
Unknown Object (File)
Fri, May 15, 3:15 AM
Unknown Object (File)
Sun, May 10, 4:26 AM
Unknown Object (File)
Apr 30 2026, 8:12 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 Not Applicable
Unit
Tests Not Applicable