diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-02-06 08:37:39 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-02-06 08:37:39 +0000 |
commit | 92f85920b02ad5c9c4262c2c17778f69779c0604 (patch) | |
tree | 76eaa179034157090cbcf81d4301d69ff2d8db24 /src/libposixplz/mkhtemp.c | |
parent | 97879c1e67d0e669f13922295844f0ceb64cd13b (diff) | |
download | skalibs-92f85920b02ad5c9c4262c2c17778f69779c0604.tar.xz |
Rename mkLtemp to mkhtemp; try to make MacOS happy
Diffstat (limited to 'src/libposixplz/mkhtemp.c')
-rw-r--r-- | src/libposixplz/mkhtemp.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libposixplz/mkhtemp.c b/src/libposixplz/mkhtemp.c new file mode 100644 index 0000000..0555ef3 --- /dev/null +++ b/src/libposixplz/mkhtemp.c @@ -0,0 +1,10 @@ +/* ISC license. */ + +#include <unistd.h> + +#include <skalibs/posixplz.h> + +int mkhtemp (char const *src, char *dst) +{ + return mklinktemp(src, dst, &link) ; +} |