20148, "lydia-duncan", "IO module: what should we rename 'openmem' to?", "2022-07-01T20:39:08Z"
This function has the signature:
proc openmem(): file throws
and opens a file that is backed by a buffer in memory that won't persist when the file is closed.
It does not currently match our naming strategy. What should it be renamed to?
openMem
openMemory
openMemoryFile
It also documents itself as throwing a SystemError. It really only throws that with ENOMEM
, so there probably isn't a need to adjust the documentation like #20139 proposes.