Try #2: fmemopen()