예제 #1
0
/*
 * Get the process tables from the kernel, PM, and VFS.
 */
static int
update_tables(void)
{
	int r;

	if ((r = update_proc_table()) != OK) return r;

	if ((r = update_mproc_table()) != OK) return r;

	if ((r = update_fproc_table()) != OK) return r;

	return OK;
}
예제 #2
0
파일: tree.c 프로젝트: AjeyBohare/minix
/*===========================================================================*
 *				update_tables				     *
 *===========================================================================*/
static int update_tables(void)
{
	/* Get the process tables from the kernel, PM, and VFS.
	 */
	int r;

	if ((r = update_proc_table()) != OK) return r;

	if ((r = update_mproc_table()) != OK) return r;

	if ((r = update_fproc_table()) != OK) return r;

	return OK;
}