home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / sgi / bugs / 85 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  1.6 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!usc!howland.reston.ans.net!paladin.american.edu!darwin.sura.net!spool.mu.edu!olivea!sgigate!sgi!fido!odin!bananapc.csd.sgi.com!ciemo
  2. From: ciemo@bananapc.csd.sgi.com (Dave Ciemiewicz)
  3. Newsgroups: comp.sys.sgi.bugs
  4. Subject: Re: PIOCPSINFO (proc) always EINVAL
  5. Keywords: PIOCPSINFO proc debug
  6. Message-ID: <1993Jan6.230705.19016@odin.corp.sgi.com>
  7. Date: 6 Jan 93 23:07:05 GMT
  8. References: <1993Jan6.181444.26115@pixar.com>
  9. Sender: news@odin.corp.sgi.com (Net News)
  10. Organization: Silicon Graphics, Customer Support Division
  11. Lines: 22
  12. Nntp-Posting-Host: bananapc.csd.sgi.com
  13.  
  14. In article <1993Jan6.181444.26115@pixar.com>, brighton@pixar.com (Bill Carson) writes:
  15. |> Has anyone had any luck with the PIOCPSINFO ioctl?
  16. |> According to the 4.0.5 proc(4) man page:
  17. |> 
  18. |> >          void *p;
  19. |> >          retval = ioctl(fildes, code, p);
  20. |> >
  21. |> >     The argument p is a generic pointer whose type depends on the specific
  22. |> >     ioctl code.  Where not specifically mentioned below, its value should be
  23. |> >     zero.  <sys/procfs.h> contains definitions of ioctl codes and data
  24. |> >     structures used by the operations.
  25. |> > ...
  26. |> >   PIOCPSINFO
  27. |> >     This returns miscellaneous process information such as that reported by
  28. |> >     ps(1).  p is a pointer to a prpsinfo structure containing at least the
  29. |> >     following fields:
  30. |> >
  31.  
  32. Unfortunately, the PIOCPSINFO ioctl is currently unimplemented, thus the
  33. EINVAL error.  This will be remedied in the next major operating system
  34. release but there are currently no plans to have it implemented as part
  35. of the 4.0.5 series.
  36.