aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2014-01-07 22:39:35 +0000
committerRon Yorston <rmy@pobox.com>2014-01-07 22:39:35 +0000
commit7f0cb741c77f74a48ffd10a1e7d36ff2adf95f03 (patch)
tree11b7d44f8c42d7d39d641e56d6fdd5ef7aed94d6 /include
parent94150aba92d308e417aa552a1b3a957be264b423 (diff)
downloadbusybox-w32-7f0cb741c77f74a48ffd10a1e7d36ff2adf95f03.tar.gz
busybox-w32-7f0cb741c77f74a48ffd10a1e7d36ff2adf95f03.tar.bz2
busybox-w32-7f0cb741c77f74a48ffd10a1e7d36ff2adf95f03.zip
Implement POSIX-compliant mktemp for WIN32
Diffstat (limited to 'include')
-rw-r--r--include/mingw.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h
index b3fc603c0..d6eb5d22c 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -164,12 +164,14 @@ int mingw_system(const char *cmd);
164 164
165int clearenv(void); 165int clearenv(void);
166char *mingw_getenv(const char *name); 166char *mingw_getenv(const char *name);
167char *mingw_mktemp(char *template);
167int mkstemp(char *template); 168int mkstemp(char *template);
168char *realpath(const char *path, char *resolved_path); 169char *realpath(const char *path, char *resolved_path);
169int setenv(const char *name, const char *value, int replace); 170int setenv(const char *name, const char *value, int replace);
170void unsetenv(const char *env); 171void unsetenv(const char *env);
171 172
172#define getenv mingw_getenv 173#define getenv mingw_getenv
174#define mktemp mingw_mktemp
173 175
174/* 176/*
175 * sys/ioctl.h 177 * sys/ioctl.h