Talk:Mktemp

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

are we sure mktemp isn't older?[edit]

If you search around you'll find hints that it is older than 1997, and 1997 is just the initial version of one iteration of mktemp. But I'm not sure to be honest. It's hard to prove a negative in cases like this. eean (talk) 23:49, 5 April 2023 (UTC)[reply]

The library call is much older mktemp(3) as mentioned in the article. I find it odd that nobody would make a user-level command for 20 years, but I assume people just used test(1). That being said m4 was a user command that had access to system functions and commonly used mktemp(3).
Mktemp(1) is based on mkdtemp(3) (1999 later), mkstemp(3) (1986 in bsd4.3 ), mktemp(3). 2601:643:283:76B0:0:0:0:15AB (talk) 01:53, 23 July 2023 (UTC)[reply]