085_tooltip.cpp FOPEN_MACRO fn mod if ((unit = fopen(fn, mod)) == NULL) \ { \ msg(OPEN_ERR,strerror(errno)); \ } a general open macro FCLOSE_MACRO if (fclose(unit) != 0) \ { \ msg(CLOSE_ERR,strerror(errno)); \ } a general close macro FILE * FILE* unit unit = NULL the unit