Feature #6955

libproc should be documented and shipped

Added by Robert Mustacchi almost 5 years ago. Updated almost 5 years ago.

lib - userland libraries
Start date:
Due date:
% Done:


Estimated time:
Gerrit CR:


For a long time we've discussed having libproc be a public interface. At Joyent, we've ended up leveraging this a bit and finding that the API is generally solid and makes sense. As part of this, I've gone and written manual pages for the vast majority of libproc. It's worth noting that a few things haven't been promoted at this time. Particularly:

  • The old ps_* functions which represent old proc service routines all of which have modern equivalents
  • A few things which expose libproc internals, e.g. Pgrab_ops which need changes to be suitably stable and are less generally useful
  • A few other internal functions and symbols which fall into the category of spilling too much implementation detail.

All in all, this is quite a small set.


Updated by Robert Mustacchi almost 5 years ago

  • Subject changed from libproc should be a public interface to libproc should be documented and shipped

Updated by Robert Mustacchi almost 5 years ago

There was some discussion on developer@ and the general thoughts here were that we should just document and ship this at uncommitted for now. Having the docs and shipping it are more important at the moment than the alternative.


Updated by Electric Monk almost 5 years ago

  • Status changed from New to Closed

git commit 43051d2742bbe5911de73322064cb573b6aff975

commit  43051d2742bbe5911de73322064cb573b6aff975
Author: Robert Mustacchi <>
Date:   2016-05-12T16:47:18.000Z

    6955 libproc should be documented and shipped
    6956 libproc cannot leave free() to callers
    Reviewed by: Ryan Zezeski <>
    Reviewed by: Cody Mello <>
    Reviewed by: Joshua M. Clulow <>
    Approved by: Richard Lowe <>

Also available in: Atom PDF