Yes, errno and fopen behave the same on windows. You may want to consider looking into fopen_s which Windows and gcc using C11 or newer should have. It makes errno threadsafe among other safety improvements.
On Mon, Aug 13, 2018 at 5:13 PM Jeff Young <[email protected]> wrote: > While I can’t test it, Microsoft’s doc certainly suggests they support it > equivalently enough for our purposes: > > https://msdn.microsoft.com/en-us/library/5814770t.aspx > > Cheers, > Jeff. > > > > > > On 13 Aug 2018, at 21:30, Jeff Young <[email protected]> wrote: > > > > I’m putting in some more/better error messages to try and catch a > file-save issue some folks are having [1]. > > > > Is errno defined on MSW? > > > > Thanks, > > Jeff. > > > > [1] https://bugs.launchpad.net/kicad/+bug/1786512 > > _______________________________________________ > > Mailing list: https://launchpad.net/~kicad-developers > > Post to : [email protected] > > Unsubscribe : https://launchpad.net/~kicad-developers > > More help : https://help.launchpad.net/ListHelp > > > _______________________________________________ > Mailing list: https://launchpad.net/~kicad-developers > Post to : [email protected] > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp > -- Mark
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

