Page MenuHomeFreeBSD

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

Authored by kib on Thu, Nov 28, 10:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 15, 7:44 PM
Unknown Object (File)
Sun, Dec 1, 11:25 AM
Unknown Object (File)
Fri, Nov 29, 3:52 PM
Unknown Object (File)
Fri, Nov 29, 9:26 AM

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 Skipped
Unit
Tests Skipped

Event Timeline

kib requested review of this revision.Thu, Nov 28, 10:40 PM
This revision is now accepted and ready to land.Thu, Nov 28, 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