GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
1/**************************************************************************** 2** 3*A CloseFile.c ANUPQ source Eamonn O'Brien 4** 5*Y Copyright 1995-2001, Lehrstuhl D fuer Mathematik, RWTH Aachen, Germany 6*Y Copyright 1995-2001, School of Mathematical Sciences, ANU, Australia 7** 8*/ 9 10#include "pq_defs.h" 11#include "constants.h" 12 13/* close file */ 14 15void CloseFile(FILE *file) 16{ 17 if (fclose(file) != 0) { 18 perror(NULL); 19 exit(FAILURE); 20 } 21} 22 23