Cygwin使っている人いますか? その10

このエントリーをはてなブックマークに追加
625名無しさん@お腹いっぱい。
cygwinのsnprintf()の実装っておかしくない?
これ↓ちゃんとサポートされてないんすけど・・・

If the value of n is zero on a call to snprintf(), nothing shall be
written, the number of bytes that would have been written had n been
sufficiently large excluding the terminating null shall be returned,
and s may be a null pointer.
626名無しさん@お腹いっぱい。:03/12/27 23:20
あ、この仕様ね。新しいから仕方ないかもしれないけどさ。
http://www.opengroup.org/onlinepubs/007904975/functions/snprintf.html
最新版に更新したらサポートされてた・・・