Return to top.c CVS log | Up to [local] / src / usr.bin / top |
version 1.36, 2005/04/13 02:33:09 | version 1.37, 2005/05/13 20:43:30 | ||
---|---|---|---|
|
|
||
break; | break; | ||
case CMD_pid: | case CMD_pid: | ||
new_message(MT_standout, "Process id to show: "); | new_message(MT_standout, "Process ID to show: "); | ||
if (readline(tempbuf2, sizeof(tempbuf2), No) > 0) { | if (readline(tempbuf2, sizeof(tempbuf2), No) > 0) { | ||
if (tempbuf2[0] == '+' && | if (tempbuf2[0] == '+' && | ||
tempbuf2[1] == '\0') { | tempbuf2[1] == '\0') { |