コード例 #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
}