Lines Matching refs:tmpbuf
91 char tmpbuf[64];
121 strlcpy(tmpbuf, (char*)cp, sizeof(tmpbuf));
122 printf("%s", tmpbuf);
133 tmpbuf[0] = '\0';
134 if (fgets(tmpbuf, sizeof(tmpbuf), stdin) == NULL)
136 if ((tmpbuf[0] == '\0') || (tmpbuf[0] == '\n')) {
143 if (sscanf(tmpbuf, "%d", &tmp) != 1)
158 tmp = strlen(tmpbuf);
161 if (tmpbuf[tmp-1] == '\n')
162 tmpbuf[tmp-1] = '\0';
163 strncpy((char*)cp, tmpbuf, f->f_type);
187 if (fgets(tmpbuf, sizeof(tmpbuf), stdin) == NULL)
189 if (sscanf(tmpbuf, "%d", &nsect) != 1)
193 if (fgets(tmpbuf, sizeof(tmpbuf), stdin) == NULL)
195 if (sscanf(tmpbuf, "%d", &ntrack) != 1)
302 if (fgets(tmpbuf, sizeof(tmpbuf), stdin) == NULL)
304 get_val_cts(d, tmpbuf, &p->p_offset);
309 if (fgets(tmpbuf, sizeof(tmpbuf), stdin) == NULL)
311 get_val_cts(d, tmpbuf, &p->p_size);
315 if (fgets(tmpbuf, sizeof(tmpbuf), stdin) == NULL)
317 get_fstype(tmpbuf, &p->p_fstype);
439 if (fgets(tmpbuf, sizeof(tmpbuf), stdin) == NULL)
441 c = tmpbuf[0];
522 if (fgets(tmpbuf, sizeof(tmpbuf), stdin) == NULL)
525 if (cmd->cmd_name[0] == tmpbuf[0])