rminnichmerge57758a716 years agoHistory
30 lines · 386 B · C
RawDownload
 /* 8c stop-res.c &&8l -o stop-res stop-res.8 &&cp stop-res $home/bin/386 &&8.out*/ #include "send-cmd.h" voidmain(int argc, char *argv[]){  	char buf[1024];	int i;		if ( argc <= 0) {		print ("not enough arguments\n");		exits(0);	}	strcpy (buf, "qdel");	for (i = 1 ; i < argc ; ++i ) {		strcat (buf, " ");		strcat (buf, argv[i]);	}	execute_cmd (buf);	exits(0);}