src/backend/utils/init/miscinit.c
/*
 * proc_exit callback to remove lockfiles.
 */
proc_exit callback to remove lockfiles.
proc_exit callback to remove lockfiles .
static void
UnlinkLockFiles(int status, Datum arg)
{
	ListCell   *l;
	foreach(l, lock_files)
	{
		char	   *curfile = (char *) lfirst(l);
		unlink(curfile);
	}
	lock_files = NIL;
}
static void UnlinkLockFiles ( int status , Datum arg ) { ListCell * l ; foreach ( l , lock_files ) { char * curfile = ( char * ) lfirst ( l ) ; unlink ( curfile ) ; } lock_files = NIL ; }
proc_exit callback to remove lockfiles.
proc_exit callback to remove lockfiles .
/* Should we complain if the unlink fails? */ /* Since we're about to exit, no need to reclaim storage */