Home
last modified time | relevance | path

Searched refs:utab (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/cmd/acct/
H A Dacctprc2.c48 struct utab { struct
78 if (((const struct utab *)node1)->ut_uid > \ in node_compare()
79 ((const struct utab *)node2)->ut_uid) in node_compare()
81 else if (((const struct utab *)node1)->ut_uid < \ in node_compare()
82 ((const struct utab *)node2)->ut_uid) in node_compare()
84 else return(strcmp(((const struct utab *) node1)->ut_name, in node_compare()
85 ((const struct utab *) node2)->ut_name)); in node_compare()
94 struct utab **pt; in enter()
99 if ((ub = (struct utab *)malloc(sizeof (struct utab))) == NULL) { in enter()
113 if (*(pt = (struct utab **)tsearch((void *)ub, (void **)&root, \ in enter()
[all …]
H A Dacctprc.c53 struct utab { struct
110 if (((const struct utab *)node1)->ut_uid > \ in node_compare()
111 ((const struct utab *)node2)->ut_uid) in node_compare()
113 else if (((const struct utab *)node1)->ut_uid < \ in node_compare()
114 ((const struct utab *)node2)->ut_uid) in node_compare()
123 struct utab **pt; in enter()
125 if ((ub = (struct utab *)malloc(sizeof (struct utab))) == NULL) { in enter()
139 if (*(pt = (struct utab **)tsearch((void *)ub, (void **)&root, \ in enter()
158 tb.ta_uid = (*(struct utab **)node)->ut_uid; in print_node()
159 CPYN(tb.ta_name, (char *)uidtonam((*(struct utab **)node)->ut_uid)); in print_node()
[all …]