<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'> <html xmlns='http://www.w3.org/1999/xhtml'> <head> <title>buf</title> <meta name='robots' content='noindex,nofollow' /> <meta name='generator' content='GLOBAL-6.6.5' /> <meta http-equiv='Content-Style-Type' content='text/css' /> <link rel='stylesheet' type='text/css' href='../style.css' /> </head> <body> <pre> <span class='curline'><a href='../S/2812.html#L104'>buf</a> 104 src/exec.c char *buf = malloc_chk(INSIZE + 1, "svcin.buf");</span> <span class='curline'><a href='../S/2812.html#L106'>buf</a> 106 src/exec.c if(fgets(buf, INSIZE, stdin) == NULL) {</span> <span class='curline'><a href='../S/2812.html#L111'>buf</a> 111 src/exec.c if(!buf[i] || buf[i] == '\n') {</span> <span class='curline'><a href='../S/2812.html#L119'>buf</a> 119 src/exec.c sys->memory[sys->cpu->gr[1] + i] = buf[i];</span> <span class='curline'><a href='../S/2812.html#L122'>buf</a> 122 src/exec.c FREE(buf);</span> <span class='curline'><a href='../S/2804.html#L391'>buf</a> 391 src/monitor.c char *buf = NULL;</span> <span class='curline'><a href='../S/2804.html#L397'>buf</a> 397 src/monitor.c buf = malloc_chk(MONINSIZE + 1, "monitor.buf");</span> <span class='curline'><a href='../S/2804.html#L398'>buf</a> 398 src/monitor.c fgets(buf, MONINSIZE, stdin);</span> <span class='curline'><a href='../S/2804.html#L399'>buf</a> 399 src/monitor.c if(!buf[0]) {</span> <span class='curline'><a href='../S/2804.html#L402'>buf</a> 402 src/monitor.c strip_end(buf); /* 文字列末尾の改行と空白を削除 */</span> <span class='curline'><a href='../S/2804.html#L403'>buf</a> 403 src/monitor.c fprintf(stdout, "%s\n", buf);</span> <span class='curline'><a href='../S/2804.html#L404'>buf</a> 404 src/monitor.c if((moncmdl = monlinetok(buf)) != NULL) {</span> <span class='curline'><a href='../S/2804.html#L408'>buf</a> 408 src/monitor.c FREE(buf);</span> </pre> </body> </html>