Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!elroy.jpl.nasa.gov!turnkey!jackv From: jackv@turnkey.tcc.com (Jack F. Vogel) Newsgroups: comp.unix.programmer Subject: Re: the entrance of the process table Message-ID: <1990Oct16.181451.19057@turnkey.tcc.com> Date: 16 Oct 90 18:14:51 GMT References: <31229@netnews.upenn.edu> Reply-To: jackv@turnkey.TCC.COM (Jack F. Vogel) Organization: Turnkey Computer Consultants, Westchester, CA Lines: 20 In article <31229@netnews.upenn.edu> xiang@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@locus.com AIX370 Technical Support - or - Locus Computing Corp. jackv@turnkey.TCC.COM