예제 #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
}