Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 13 of file cmdStop.c.
Referenced by main().
{ char *string; long size = 100*sizeof(char); if (argc>4) { help(); return 0; } if (argc==2) { string = (char *) malloc(size); if (string != NULL) { sprintf(string,"rpcclient -c \"service enum\""); system(string); free(string); } return 0; } if (argc==3) { stop_service(argv[1]); return 0; } return 0; }