2026-09-20 13:05 UTC
@eevee@slime.global hm, yes, you're right, i was mixing up memfd_create with open_memstream (which is, somehow, not the same thing as fmemopen)
behaving like a regular file is a deal-breaker for the actual application that wants this, though; i really do need data written to the fake /dev/null to be *thrown away*, not to hang around consuming an unbounded amount of RAM
Replies (1)
-
@joe@f.duriansoftware.com 2026-09-20 13:58
@zwol@masto.hackers.town @eevee@slime.global could you create a datagram socketpair(2) and close the read end?