Repair a verified behavior in apache/nuttx.
Repair a verified behavior in apache/nuttx.: a task in OriGent-RL-Data (Harbor dataset). The NuttX C library provides memory-buffer streams only through fmemopen() , which writes into a caller-supplied fixed-size buffer, and custom streams through fopencookie() . The POSIX open memstream()…
The task
The NuttX C library provides memory-buffer streams only through `fmemopen()`, which writes into a caller-supplied fixed-size buffer, and custom streams through `fopencookie()`. The POSIX `open_memstream()` interface is missing entirely: it is not declared in the public standard-I/O header next to the other…
Part of henryen/OriGent-RL-Data.