diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-04-14 05:39:44 +0200 |
---|---|---|
committer | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-04-20 19:14:21 +0200 |
commit | 4b9e588269e4f8af5aa14c9f3208b2b638db10b1 (patch) | |
tree | c58874497a61ce9c612a3fdf5167582767a62f31 /include/mingw.h | |
parent | 8b54c03f4a6cbabfa91d753592d3404a3d2b11ad (diff) | |
download | busybox-w32-4b9e588269e4f8af5aa14c9f3208b2b638db10b1.tar.gz busybox-w32-4b9e588269e4f8af5aa14c9f3208b2b638db10b1.tar.bz2 busybox-w32-4b9e588269e4f8af5aa14c9f3208b2b638db10b1.zip |
win32: mingw.h mingw_isatty
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Diffstat (limited to 'include/mingw.h')
-rw-r--r-- | include/mingw.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h index ffedb2bee..3c4ae9d8a 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -293,6 +293,7 @@ IMPL(getuid,int,1,void); | |||
293 | int fcntl(int fd, int cmd, ...); | 293 | int fcntl(int fd, int cmd, ...); |
294 | #define fork() -1 | 294 | #define fork() -1 |
295 | IMPL(fsync,int,0,int fd UNUSED_PARAM); | 295 | IMPL(fsync,int,0,int fd UNUSED_PARAM); |
296 | int mingw_isatty(int fd); | ||
296 | NOIMPL(kill,pid_t pid UNUSED_PARAM, int sig UNUSED_PARAM); | 297 | NOIMPL(kill,pid_t pid UNUSED_PARAM, int sig UNUSED_PARAM); |
297 | int link(const char *oldpath, const char *newpath); | 298 | int link(const char *oldpath, const char *newpath); |
298 | NOIMPL(mknod,const char *name UNUSED_PARAM, mode_t mode UNUSED_PARAM, dev_t device UNUSED_PARAM); | 299 | NOIMPL(mknod,const char *name UNUSED_PARAM, mode_t mode UNUSED_PARAM, dev_t device UNUSED_PARAM); |
@@ -311,6 +312,7 @@ NOIMPL(vfork,void); | |||
311 | //#define dup mingw_dup | 312 | //#define dup mingw_dup |
312 | #define dup2 mingw_dup2 | 313 | #define dup2 mingw_dup2 |
313 | #define getcwd mingw_getcwd | 314 | #define getcwd mingw_getcwd |
315 | #define isatty(fd) mingw_isatty(fd) | ||
314 | #define lchown(a,b,c) chown(a,b,c) | 316 | #define lchown(a,b,c) chown(a,b,c) |
315 | #define open mingw_open | 317 | #define open mingw_open |
316 | #define unlink mingw_unlink | 318 | #define unlink mingw_unlink |