aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2009-04-23 03:01:21 +1000
committerNguyễn Thái Ngọc Duy <pclouds@gmail.com>2009-04-23 04:44:31 +1000
commit4287ed1ecbe21e7e90b9420b267edf8fe1482b71 (patch)
tree88e035804c977aa2a3fc02e859314fc114d83bdc /include
parentbe6cd4da128c27f6f58d600c3ab1d09422eff968 (diff)
downloadbusybox-w32-4287ed1ecbe21e7e90b9420b267edf8fe1482b71.tar.gz
busybox-w32-4287ed1ecbe21e7e90b9420b267edf8fe1482b71.tar.bz2
busybox-w32-4287ed1ecbe21e7e90b9420b267edf8fe1482b71.zip
mingw.c: make fopen support /dev/null (needed for cmp iirc)
Diffstat (limited to 'include')
-rw-r--r--include/mingw.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h
index eae6a7d3a..763606e51 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -141,6 +141,9 @@ int link(const char *oldpath, const char *newpath);
141int mingw_open (const char *filename, int oflags, ...); 141int mingw_open (const char *filename, int oflags, ...);
142#define open mingw_open 142#define open mingw_open
143 143
144FILE* mingw_fopen (const char *filename, const char *mode);
145#define fopen mingw_fopen
146
144int mingw_close (int fd); 147int mingw_close (int fd);
145#define close mingw_close 148#define close mingw_close
146 149