int listAllProcs() { struct Process *proc; listHeader(); for (proc = first_process; (proc->next_process); proc = proc->next_process) { if (proc->colour == 1 ) { listProc(proc); } } return 0; }
//! Print the header records (that are programmed) to stdout. // void printHeader() { printf("List header...\n"); listHeader(); // see header.c }