buf 104 src/exec.c char *buf = malloc_chk(INSIZE + 1, "svcin.buf"); buf 106 src/exec.c if(fgets(buf, INSIZE, stdin) == NULL) { buf 111 src/exec.c if(!buf[i] || buf[i] == '\n') { buf 119 src/exec.c sys->memory[sys->cpu->gr[1] + i] = buf[i]; buf 122 src/exec.c FREE(buf); buf 391 src/monitor.c char *buf = NULL; buf 397 src/monitor.c buf = malloc_chk(MONINSIZE + 1, "monitor.buf"); buf 398 src/monitor.c fgets(buf, MONINSIZE, stdin); buf 399 src/monitor.c if(!buf[0]) { buf 402 src/monitor.c strip_end(buf); /* 文字列末尾の改行と空白を削除 */ buf 403 src/monitor.c fprintf(stdout, "%s\n", buf); buf 404 src/monitor.c if((moncmdl = monlinetok(buf)) != NULL) { buf 408 src/monitor.c FREE(buf);