fmemopen isn't portable.