Parent Directory | Revision Log | Patch
revision 1.55 by martinp, Fri Feb 14 08:22:33 2003 UTC | revision 1.56 by hauk, Fri Feb 28 23:00:29 2003 UTC | |
---|---|---|
# | Line 356 int exist_process(char *name) { | Line 356 int exist_process(char *name) { |
356 | ||
357 | ||
358 | /** | /** |
359 | * Get the length of the process list, that is; the number of | |
360 | * processes in the list. | |
361 | * @return The length of the process list | |
362 | */ | |
363 | int get_process_list_length() { | |
364 | ||
365 | int i= 0; | |
366 | Process_T p; | |
367 | ||
368 | for(p= processlist; p; p= p->next) i+=1; | |
369 | ||
370 | return i; | |
371 | ||
372 | } | |
373 | ||
374 | ||
375 | /** | |
376 | * Print the Runtime object | * Print the Runtime object |
377 | */ | */ |
378 | void printrunlist() { | void printrunlist() { |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |