aboutsummaryrefslogtreecommitdiff
path: root/lib/libclang_rt
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2026-02-02 15:46:57 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2026-02-02 15:46:57 +0000
commit5074d5c9845e142883cdbb9ad212be66e57615d0 (patch)
tree07a0cb69533619ce94736f9426027fe9bcf3fe53 /lib/libclang_rt
parent387ae6390534b6e9b48931840e7bc76eeb0b258d (diff)
libc: Improve POSIX conformance of dirfd()HEADmain
POSIX states that dirfd() should set errno to EINVAL and return -1 if dirp does not refer to a valid directory stream. Our interpretation is that this applies if dirp is null or the file descriptor associated with it is negative. MFC after: 1 week Sponsored by: Klara, Inc. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D55025
Diffstat (limited to 'lib/libclang_rt')
0 files changed, 0 insertions, 0 deletions