Recently, "Tim Peters" <tim.one@home.com> said: > [Jeremy] > > open_the_file() uses errno to check the return value of fopen(). On > > Windows, should it use GetLastError() ? > > The MS docs don't document anything about fopen failure modes, beyond that > it returns NULL then. Same here with CodeWarrior on the Mac: stdio errors return NULL or -1 and that is it, errno isn't touched, not even for fopen() file not found, etc. If the ANSI standard requires errno to be set and people can point me to the right section I can submit an error report... -- Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++ Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++ www.cwi.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4