Software:mktemp

From HandWiki
Revision as of 08:12, 9 February 2024 by Rtexter1 (talk | contribs) (over-write)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Unix command

mktemp
Developer(s)Todd Miller, Jim Meyering
Initial release1997; 27 years ago (1997)
Written inC
Operating systemUnix and Unix-like
PlatformCross-platform
TypeCommand

mktemp is a command available in many Unix-like operating systems that creates a temporary file or directory.[1] Originally released in 1997 as part of OpenBSD 2.1,[2] a separate implementation exists as a part of GNU Coreutils.[3]

There used to be a similar named C library function, which is now deprecated for being unsafe, and has safer alternatives.[4]

See also

References

  1. "mktemp". Free Standards Group. http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/mktemp.html. 
  2. Miller, Todd C.. "mktemp manual page". https://www.mktemp.org/manual.html#6. 
  3. Meyering, Jim (7 October 2007). "announce: new program: mktemp" (Mailing list). Retrieved 7 November 2015.
  4. "Temporary Files". GNU. https://www.gnu.org/software/libc/manual/html_node/Temporary-Files.html.