long	pid; int	rc = LSB_EXIT_OK; 
init_stop(const char *pid_file){	FNIN();		if (pid_file == NULL) {		cl_log(LOG_ERR, "No pid file specified to kill process");		return LSB_EXIT_GENERIC;	}	long	pid;	int	rc = LSB_EXIT_OK;	pid =	get_running_pid(pid_file, NULL);		if (pid > 0) {		if (CL_KILL((pid_t)pid, SIGTERM) < 0) {			rc = (errno == EPERM			      ?	LSB_EXIT_EPERM : LSB_EXIT_GENERIC);			fprintf(stderr, "Cannot kill pid %ld\n", pid);		}else{			cl_log(LOG_INFO,			       "Signal sent to pid=%ld,"			       " waiting for process to exit",			       pid);						while (CL_PID_EXISTS(pid)) {				sleep(1);			}		}	}	FNRET(rc);}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/f73502eb3f08dad08dfb1281186e638cdfd8d7b0/crmutils.c/clean/crm/common/crmutils.c