Changeset 416 for trunk/user
- Timestamp:
 - Jan 4, 2018, 10:05:47 AM (8 years ago)
 - File:
 - 
          
- 1 edited
 
- 
          trunk/user/ksh/ksh.c (modified) (3 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
trunk/user/ksh/ksh.c
r412 r416 11 11 #include <stdlib.h> 12 12 #include <string.h> 13 #include <shared_syscalls.h> 13 14 14 15 #define CMD_MAX_SIZE (256) // max number of characters in one command … … 259 260 pid = atoi(argv[1]); 260 261 261 if( kill( pid , 9 ) ) // TODO replace 9 by SIGKILL262 if( kill( pid , SIGKILL ) ) 262 263 { 263 264 printf(" error: unable to kill process %x\n", pid ); 264 265 } 266 267 printf("\n ... done\n" ); 268 265 269 } // end cmd_kill() 266 270 … … 577 581 578 582 // @@@ 579 parse("load /bin/user/sort.elf");583 // parse("load /bin/user/sort.elf"); 580 584 // @@@ 581 585  
Note: See TracChangeset
          for help on using the changeset viewer.
      