monitor_fclose (fp);
fclose (fp);
write_pid_file (void){  FILE *fp;  /* Ignore errors. XXX Will fail with USE_PRIVSEP.  */  unlink (pid_file);  fp = monitor_fopen (pid_file, "w");  if (fp != NULL)    {      /* XXX Error checking!  */      fprintf (fp, "%ld\n", (long) getpid ());      monitor_fclose (fp);    }  else    log_fatal ("main: fopen (\"%s\", \"w\") failed", pid_file);}