Lines Matching refs:toybuf
78 toybuf[0] = toybuf[18] = toybuf[28] = '\0';
79 strncpy(toybuf, ctime(&tm0), 16); // Login Time.
80 snprintf(toybuf+18, 8, "- %s", ctime(&tm1) + 11); // Logout Time.
84 sprintf(toybuf+28, "(%u+%02u:%02u)", days, hours, mins); // Duration.
138 toybuf, toybuf+18, toybuf+28);
149 toybuf, toybuf+18, toybuf+28);
161 strcpy(toybuf+18, " still");
162 strcpy(toybuf+28, "logged in");
165 strcpy(toybuf+18, "- down ");
168 strcpy(toybuf+18, "- crash");
171 strcpy(toybuf+18, " gone");
172 strcpy(toybuf+28, "- no logout");
179 toybuf, toybuf+18, toybuf+28);