[procps] Re: newlib, ps fix

  • From: Jim Warner <james.warner@xxxxxxxxxxx>
  • To: procps@xxxxxxxxxxxxx
  • Date: Sun, 30 Aug 2015 17:25:26 -0500

On 08/30/2015 05:19 PM, Craig Small wrote:

The top code is where I learnt it wanted an array "oh its enum* not
enum". Im pretty happy with how clean the api looks. Does reap re-read
the proc fs? Also if you reap and reap again are they different
structures? So is this valid
a = reap
b = reap
free a
Access things in b

No, you would have to open a 2nd context.

But top copies those stack pointers to each separate window where they can be sorted differently during the life of a single reap.

Jim



Other related posts: