Page MenuHomeFreeBSD

libc: Deprecate readdir_r()
ClosedPublic

Authored by des on Aug 1 2025, 4:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 28, 9:28 PM
Unknown Object (File)
Tue, Apr 28, 9:25 PM
Unknown Object (File)
Mon, Apr 27, 10:48 PM
Unknown Object (File)
Mon, Apr 27, 5:13 AM
Unknown Object (File)
Mon, Apr 20, 7:13 PM
Unknown Object (File)
Tue, Apr 14, 1:05 PM
Unknown Object (File)
Mon, Apr 13, 11:36 PM
Unknown Object (File)
Thu, Apr 9, 1:28 AM
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