Searched refs:idkey_t (Results 1 – 3 of 3) sorted by relevance
/titanic_44/usr/src/cmd/pgrep/ |
H A D | idtab.c | 56 idtab_append(idtab_t *idt, idkey_t id) in idtab_append() 64 if (data = realloc(idt->id_data, sizeof (idkey_t) * size)) { in idtab_append() 78 idkey_t lhs = *((idkey_t *)lhsp); in idtab_compare() 79 idkey_t rhs = *((idkey_t *)rhsp); in idtab_compare() 92 sizeof (idkey_t), idtab_compare); in idtab_sort() 97 idtab_search(idtab_t *idt, idkey_t id) in idtab_search() 100 sizeof (idkey_t), idtab_compare) != NULL); in idtab_search()
|
H A D | idtab.h | 44 typedef unsigned long idkey_t; typedef 47 idkey_t *id_data; 54 extern void idtab_append(idtab_t *, idkey_t); 56 extern int idtab_search(idtab_t *, idkey_t);
|
H A D | pgrep.c | 340 parse_ids(idtab_t *idt, char *arg, int base, int opt, idkey_t zero) in parse_ids() 343 idkey_t id; in parse_ids() 346 if ((id = (idkey_t)strtoul(ptr, &next, base)) != 0) in parse_ids() 366 idkey_t id; in parse_uids() 396 idkey_t id; in parse_gids() 432 idtab_append(idt, (idkey_t)PRNODEV); in parse_ttys() 441 idtab_append(idt, (idkey_t)buf.st_rdev); in parse_ttys() 444 idtab_append(idt, (idkey_t)buf.st_rdev); in parse_ttys() 454 idtab_append(idt, (idkey_t)buf.st_rdev); in parse_ttys() 469 idkey_t id; in parse_projects()
|