Lines Matching defs:ubuf
89 struct utmpx *ubuf;
176 for (self.ut_pid = 0, count = 0; (ubuf = getutxent()) != NULL; ) {
179 if (ubuf->ut_type == USER_PROCESS) {
182 if (strncmp(&ubuf->ut_line[0], oterminal,
183 sizeof (ubuf->ut_line)) == 0) self = *ubuf;
187 if (strncmp(receipient, &ubuf->ut_user[0],
188 sizeof (ubuf->ut_user)) == 0) {
194 if (strncmp(terminal, &ubuf->ut_line[0],
195 sizeof (ubuf->ut_line)) == 0) {
196 strlcpy(rterm, &ubuf->ut_line[0],
214 strlcpy(rterm, &ubuf->ut_line[0],
245 fwrite(&ubuf->ut_line[0], sizeof (ubuf->ut_line),