What's the difference between tempfile and mktemp?

前端 未结 3 1476
我在风中等你
我在风中等你 2021-02-03 21:38

Most systems I\'ve encountered have both tempfile(1) and mktemp(1). There are syntactic differences, and mktemp can also create directorie

3条回答
  •  隐瞒了意图╮
    2021-02-03 22:41

    From the source code sight of things (on debian) tempfile is from the package debianutils and uses the libc function tempnam() while mktemp is from GNU coreutils and doesn't use the libc function

提交回复
热议问题