HomeFreeBSD

fileno(3): set errno when returning -1

Description

fileno(3): set errno when returning -1

as required by IEEE Std 1003.1™-2024.

PR: 283014
Reported by: Graham Percival <gperciva@tarsnap.com>
Reviewed by: emaste, imp
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D47834

Details

Provenance
kibAuthored on Thu, Nov 28, 10:12 PM
Reviewer
emaste
Differential Revision
D47834: fileno(3): set errno when returning -1
Parents
rG35ac34a23bc0: stdio(3): correct summary information for fileno(3)
Branches
Unknown
Tags
Unknown