src/stdlib/path.c
/*===========================================
 * closefp -- Close file pointer & set pointer to zero
 *=========================================*/
- Close file pointer & set pointer to zero
- Close file pointer & set pointer to zero
void
closefp (FILE **pfp)
{
	if (pfp && *pfp) {
		fclose(*pfp);
		*pfp = 0;
	}
}
void closefp ( FILE * * pfp ) { if ( pfp && * pfp ) { fclose ( * pfp ) ; * pfp = 0 ; } }
closefp -- Close file pointer & set pointer to zero
closefp -- Close file pointer & set pointer to zero