home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / programs / programming / osclid / !OscliD / Tools / c / kill next >
Encoding:
Text File  |  1997-07-09  |  244 b   |  23 lines

  1. /* kill.c
  2.  * kills applications
  3.  */
  4.  
  5. #include <string.h>
  6.  
  7. #define TOOLNAME "Kill"
  8.  
  9. #include "toollib.c"
  10.  
  11. {
  12.     int p;
  13.     char local[256] = {0, 0};
  14.  
  15.     for (p=1; p<argc; p++)
  16.     {
  17.         strcat (local, " ");
  18.         strcat (local, argv[p]);
  19.     }
  20.     
  21.     kill (local+1);
  22. }
  23.