Re: The definition of the struct proc
Re: The definition of the struct proc
- Subject: Re: The definition of the struct proc
- From: Daniel Jalkut <email@hidden>
- Date: Tue, 20 Dec 2005 09:36:27 -0500
The format of these structures is private to the kernel
implementation. That's why you only see pointer references to them in
the public headers. If you *need* to know what these structures look
like (at the moment!) because you're curious, then you could look at
the xnu project in Darwin. They're defined in bsd/sys/proc_internal.h.
Daniel
On Dec 20, 2005, at 8:10 AM, Chen Ben wrote:
Hi, all:
I am searching for the definition of the struct proc. I looked for the
file 'proc.h' in usr/include/sys, but there is only one line
declaration. I still havn't known what are inside the struct. Same
things happens when I am looking for the definition of the struct
session, and the struct pgrp. I even copy the entire usr directory
out, so that I can use the Spotlight to search for it, but failed.
looking for you reply, thanks!
--
Ben Chen, Student Union and Apple Technology Lab of Software
Engineering School, Tongji University
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
sweater.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden