%cpu and other changes

This commit is contained in:
albert
2004-09-12 15:43:48 +00:00
parent 55b3e73334
commit 59fc9dd711
5 changed files with 138 additions and 101 deletions

View File

@ -286,7 +286,8 @@ static void kill_main(int argc, const char *restrict const *restrict argv){
goto no_more_args;
}
if(argv[1][1]=='-') kill_usage(); /* likely --help */
if(argv[1][1]=='s' && argv[1][2]=='\0'){
// FIXME: "kill -sWINCH $$" not handled
if(argv[1][2]=='\0' && (argv[1][1]=='s' || argv[1][1]=='n')){
sigptr = argv[2];
argv+=3;
argc-=3;