aboutsummaryrefslogtreecommitdiff
path: root/libps/filters.c
Commit message (Collapse)AuthorAgeFilesLines
* Use our own variant of 'assert' and 'assert_perror'.Justus Winter2017-08-051-1/+1
| | | | | Our variants print stack traces on failures. This will make locating errors much easier.
* 2001-10-01 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2001-10-011-6/+6
| | | | | | | | | | * filters.c (ps_own_filter): Add const to type. (ps_not_leader_filter): Likewise. (ps_unorphaned_filter): Likewise. (ps_ctty_filter): Likewise. (ps_parent_filter): Likewise. (ps_alive_filter): Likewise. Submitted by Maurizio Boriani <baux@debian.org>.
* Get rid of mega typedefs, and just use structure pointers like other hurdMiles Bader1996-03-261-17/+17
| | | | libraries. Other misc cleanups.
* (ps_alive_filter): New variable.Miles Bader1996-02-151-1/+14
| | | | (ps_alive_p): New function.
* (ps_not_leader_p): Renamed from ps_not_sess_leader_p.Miles Bader1995-12-211-11/+14
| | | | | | | (ps_not_leader_filter): Renamed from ps_not_sess_leader_filter. (ps_unorphaned_p): Include login leaders as well as session leaders. (ps_own_filter): Depend on PSTAT_OWNER_UID. (ps_own_p): Account for there being no uid.
* (ps_own_filter): Use PSTAT_PROC_INFO, not PSTAT_INFO.Miles Bader1995-11-031-2/+2
| | | | (ps_own_p): Use proc_stat_proc_info, not proc_stat_info.
* (ps_not_sess_leader_p, ps_unorphaned_p, ps_parent_p): Use the new state bits.Miles Bader1995-08-191-3/+3
|
* Include <unistd.h>.Michael I. Bushnell1995-03-211-0/+1
|
* Initial revisionMiles Bader1995-03-131-0/+74