/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
Against /tmp
(dotat.at)
257 points
todsacerdoti
| 1 comments |
22 Oct 24 12:36 UTC
|
HN request time: 0.24s
|
source
Show context
Starlevel004
◴[
22 Oct 24 16:07 UTC
]
No.
41915728
[source]
▶
>>41913610 (OP)
#
The actual answer is to use O_TMPFILE.
replies(1):
>>41919250
#
1.
cryptonector
◴[
22 Oct 24 22:10 UTC
]
No.
41919250
[source]
▶
>>41915728
#
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.
ID:
GO
↑