projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a wrapper for mkstemp
[ghc-base.git]
/
include
/
HsBase.h
diff --git
a/include/HsBase.h
b/include/HsBase.h
index
f69e9cf
..
1f1837b
100644
(file)
--- a/
include/HsBase.h
+++ b/
include/HsBase.h
@@
-687,6
+687,10
@@
INLINE int __hscore_fstat(int fd, struct_stat *buf) {
return (fstat(fd,buf));
}
+INLINE int __hscore_mkstemp(char *filetemplate) {
+ return (mkstemp(filetemplate));
+}
+
// select-related stuff
#if !defined(__MINGW32__)