C言語なら、俺に聞け! <32>
■ このスレッドは過去ログ倉庫に格納されています
ISO/IEC 9899:1999 によれば、変更できることは要求されていない。
"/tmp/fileXXXXXX"
(char []){"/tmp/fileXXXXXX"}
(const char []){"/tmp/fileXXXXXX"}
The first always has static storage duration and has type array of char,
but need not be modifiable; the last two hav e automatic storage duration
when they occur within the body of a function, and the first of these two
is modifiable.
現実的には、コンパイラオプションでread-onlyでない場所に置くよう
指定できる場合が多いが。
■ このスレッドは過去ログ倉庫に格納されています