[c] write, tostr
[c] add strcmp_opt