Page MenuHomeFreeBSD

fileno(3): set errno when returning -1
ClosedPublic

Authored by kib on Nov 28 2024, 10:40 PM.
Tags
None
Referenced Files
F159467662: D47834.id.diff
Sun, Jun 14, 1:03 PM
Unknown Object (File)
Tue, Jun 9, 3:11 PM
Unknown Object (File)
Tue, Jun 9, 9:57 AM
Unknown Object (File)
Mon, Jun 8, 7:27 PM
Unknown Object (File)
Mon, Jun 8, 2:36 PM
Unknown Object (File)
Tue, Jun 2, 1:10 AM
Unknown Object (File)
Mon, Jun 1, 2:04 PM
Unknown Object (File)
Sat, May 30, 9:12 PM

Details

Summary

as required by IEEE Std 1003.1™-2024.

PR: 283014
Reported by: Graham Percival <gperciva@tarsnap.com>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Nov 28 2024, 10:40 PM
This revision is now accepted and ready to land.Nov 28 2024, 10:47 PM

Thanks for the quick patch!

To nitpick the summary, it should be "as required by IEEE Std 1003.1™-2016"

Direct link to it:
https://pubs.opengroup.org/onlinepubs/9699919799.2016edition/functions/fileno.html

Thanks for the quick patch!

To nitpick the summary, it should be "as required by IEEE Std 1003.1™-2016"

The first one is really 1003.1-2008. The 2016 edition is just nitpicky corrections...

Buy kib's reference is fine. It's not wrong.

Direct link to it:
https://pubs.opengroup.org/onlinepubs/9699919799.2016edition/functions/fileno.html