Lines Matching defs:tofind
3595 init_utmp(int type, struct UTMP_STR *tofind)
3597 memset(tofind, 0, sizeof(*tofind));
3598 tofind->ut_type = (short) type;
3599 copy_filled(tofind->ut_id, my_utmp_id(ttydev), sizeof(tofind->ut_id));
3600 copy_filled(tofind->ut_line, my_pty_name(ttydev), sizeof(tofind->ut_line));
3607 find_utmp(struct UTMP_STR *tofind)
3615 working.ut_type = tofind->ut_type;
3616 copy_filled(working.ut_id, tofind->ut_id, sizeof(tofind->ut_id));
3623 if (!memcmp(limited.ut_line, tofind->ut_line, sizeof(limited.ut_line)))