示例#1
0
文件: print.c 项目: bol/boc
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;
}
示例#2
0
文件: main.c 项目: dbrooke/wsrdr
//! Print the header records (that are programmed) to stdout.
//
void printHeader() {
    printf("List header...\n");
    listHeader();       // see header.c
}