aboutsummaryrefslogtreecommitdiff
path: root/libps/fmt.c
Commit message (Collapse)AuthorAgeFilesLines
* (ps_fmt_create):Miles Bader1996-01-191-8/+35
| | | | | | | | Use the new spec fields. Now takes a ps_fmt_specs_t instead of an array of specs. Also fixup call to ps_fmt_specs_find(). (ps_fmt_write_proc_stat): Support new inval field in FMT. (ps_fmt_set_output_width): New function.
* (ps_fmt_write_titles, ps_fmt_write_proc_stat): Use new write function names.Miles Bader1995-11-201-8/+7
| | | | Use new STREAM parameter instead of old one and count.
* (ps_fmt_create): Don't mutate the format spec name in the fmt_spec list we'reMiles Bader1995-05-311-34/+22
| | | | | | passed just to get correctly capitalized titles. Instead, do things correctly by making enough room to store our own version of the title string, which we can do with what we please.
* Rename ps_fmt_squash to ps_fmt_squash_flags, moving most of the guts into aMiles Bader1995-05-031-62/+78
| | | | | | new more general ps_fmt_squash, which is usable for other things than flags. Recalculate the set of ps flags needed by the fmt in ps_fmt_squash (which then allows us to remove more specific code in ps_fmt_squash_flags).
* Tighten up types used (i.e., don't use int for everything).Miles Bader1995-04-071-3/+4
|
* Copy the correct number of fields when squashing.Miles Bader1995-03-141-1/+4
| | | | Correctly skip prefix-only fields.
* Initial revisionMiles Bader1995-03-131-0/+385