standard macros for error handling

Are there any standard marcos (or defines) for error handling?

I’m looking for a macro that prints the source file name/line number and the result of calling getErrno().

I can create them myself but I was hoping there were standard header files for things like this.

Not really. The defines are all in errno.h in the /cygwin340/usr/include/sys directory.