...
int myFclose(FILE * fmy)
{
  if(!fclose(fmy)) {
    fmy = NULL;
    return 0;
  }
  return -1;
}
...
  fe = fopen("myFile.txt", "wt"); 
  ...
  fclose(fe); // BAD
...
  fe = fopen("myFile.txt", "wt"); 
  ...
  myFclose(fe); // GOOD
...
