>>233
strtok(バッファの内容を改変してもいいとき)
もしくは strchr(よくないとき)を使う。

>>242
: の後は空白を空ける。
printf("Content-type: text/html\n\n");

>>244
Linux 上でコンパイルする。