my_fmemopen.c with funopen