summaryrefslogtreecommitdiff
path: root/libps/proclist.c
AgeCommit message (Collapse)Author
2002-05-082002-05-07 Roland McGrath <roland@frob.com>Roland McGrath
* context.c (ps_context_find_tty_by_cttyid): int -> mach_port_t * proclist.c (proc_stat_list_add_all): unsigned -> size_t (proc_stat_list_add_login_coll): Likewise. (proc_stat_list_add_session): Likewise. (proc_stat_list_add_fn_pids): Likewise. (proc_stat_list_add_id_fn_pids): Likewise.
1996-06-27(proc_stat_list_clone): New function.Miles Bader
1996-05-07Add some const decls.Miles Bader
1996-03-26Get rid of mega typedefs, and just use structure pointers like other hurdMiles Bader
libraries. Other misc cleanups.
1996-02-15(proc_stat_list_add_pids): Add and support new return parameter PROC_STATS.Miles Bader
(proc_stat_list_add_pid): Add and support new return parameter PS. (proc_stat_list_add_fn_pids, proc_stat_list_add_id_fn_pids, proc_stat_list_add_all, proc_stat_list_add_login_coll, proc_stat_list_add_session, proc_stat_list_add_pgrp): Add and support new return parameters PROC_STATS & NUM_PROCS.
1995-11-20(proc_stat_list_fmt): Use new write function names.Miles Bader
Use new STREAM parameter instead of old one and count.
1995-05-03(proc_stat_list_for_each): New function for iterating over proc_stat_lists.Miles Bader
(proc_stat_list_spec_nominal): New function for deciding if a particular spec is always nominal.
1995-04-07(proc_stat_list_sort1): Always keep threads after their process when sorting!Miles Bader
Factor out most of proc_stat_list_add_all, proc_stat_list_add_login_coll, and proc_stat_list_add_session into proc_stat_list_add_[id_]fn_pids. (proc_stat_list_add_pgrp): New function, adds pids for a pgrp. Tighten up types used (i.e., don't use int for everything).
1995-03-14A proc_stat_list_t points to a ps_context_t now instead of directly to the procMiles Bader
server (but we can get the proc server from the context). We no longer create or free proc_stat_ts; we leave that up to our ps_context, except in the case of thread proc_stats. Add the inverse of proc_stat_list_add_threads, proc_stat_list_remove_threads.
1995-03-13Initial revisionMiles Bader