the entrance of the process table

Jack F. Vogel jackv at turnkey.tcc.com
Wed Oct 17 04:14:51 AEST 1990


In article <31229 at netnews.upenn.edu> xiang at grad1.cis.upenn.edu (Xiang Ge) writes:
>The process table is a linked list. Can any body tell my how to get
>the head of this list, or any other way to get the entrance of the
>process table.
 

A simple glance at proc.h would give you your answer. Following the proc
structure definition you will find a declaration such as the following:

	extern struct proc proc[];
		-or-
	extern struct proc *proc;

Clear enough?


-- 
Jack F. Vogel			jackv at locus.com
AIX370 Technical Support	       - or -
Locus Computing Corp.		jackv at turnkey.TCC.COM



More information about the Comp.unix.programmer mailing list