%%s 0/0/0 %%d D 1.1 27-Mar-82 14:59:01 v1.1 1 0 %%c Version 1.1 is the Spring 1982 Distribution of the LBL/Hughes release %%c of the Software Tools Virtual Operating System software and documentation. %%T %%I 1 #-h- kill.r 398 asc 25-mar-82 09:34:03 v1.1 (sw-tools v1.1) #-h- main 325 asc 25-mar-82 09:33:58 v1.1 (sw-tools v1.1) DRIVER(kill) integer i, getarg, kill character arg(FILENAMESIZE), pid(PIDSIZE) call query("usage: kill pid [pid] ...") for (i=1; getarg(i, arg, FILENAMESIZE) != EOF; i=i+1) { call exppid(arg, pid) if (kill(pid) != OK) { call putlin("Error in deleting ", ERROUT) call remark(pid) } } DRETURN end #-h- kill.fmt 452 asc 25-mar-82 09:34:04 v1.1 (sw-tools v1.1) .so ~bin/manhdr .hd Kill (1) 8-Jun-79 kill a running process .sy kill processid [processid ...] .ds kill kills the processes specified by the processid's in the command line. The processid's are those provided by the shell when it spawns a background process. .fl none .sa sh - shell (command line interpreter) .di if the process specified by the processid does not exist, an error message will be displayed on error output. .au Joe Sventek (VAX) .bu %%E 1