Hacker News new | past | comments | ask | show | jobs | submit login

The actual answer is to use O_TMPFILE.



Which is not portable. But also if you wanted to find your stuff again in other processes that you can't arrange to inherit shared memory and/or open FDs from the one creating it, then O_TMPFILE is not a relevant answer.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: