• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: The definition of the struct proc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >The definition of the struct proc (From: Chen Ben <email@hidden>)

  • Prev by Date: Re: Crashing before NSApplicationMain
  • Next by Date: Re: Implementing a scrollable icon-table
  • Previous by thread: The definition of the struct proc
  • Next by thread: string at any coordinate
  • Index(es):
    • Date
    • Thread