🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #1038

Re: the entrance of the process table

#1038
From: Jack F. Vogel
Date: Tue, 16 Oct 1990 18:14
20 lines
1091 bytes
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
Technical Details
Message-ID: <1990Oct16.181451.19057@turnkey.tcc.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!elroy.jpl.nasa.gov!turnkey!jackv
References: <31229@netnews.upenn.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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