change 'const char*' to 'const(char)*'
remove testing main()
move fmemopen, open_*memstream to linux/stdio