aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2021-06-07 09:01:57 +0100
committerRon Yorston <rmy@pobox.com>2021-06-07 11:30:37 +0100
commitcdd0e9946a45dd69dc0bc8a8d0bcb734c7234937 (patch)
tree298423a59df4c51461e708008ca15461fb9a403a /include
parentaef29667bf794761a76d7c744e1e434f744e0b9b (diff)
downloadbusybox-w32-cdd0e9946a45dd69dc0bc8a8d0bcb734c7234937.tar.gz
busybox-w32-cdd0e9946a45dd69dc0bc8a8d0bcb734c7234937.tar.bz2
busybox-w32-cdd0e9946a45dd69dc0bc8a8d0bcb734c7234937.zip
win32: rename update_dev_fd() as update_special_fd()
Avoid confusion between special devices and /dev/fd.
Diffstat (limited to 'include')
-rw-r--r--include/mingw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mingw.h b/include/mingw.h
index 89b26762a..367aa7cdc 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -453,7 +453,7 @@ NOIMPL(mknod,const char *name UNUSED_PARAM, mode_t mode UNUSED_PARAM, dev_t devi
453/* order of devices must match that in get_dev_type */ 453/* order of devices must match that in get_dev_type */
454enum {DEV_NULL, DEV_ZERO, DEV_URANDOM, NOT_DEVICE = -1}; 454enum {DEV_NULL, DEV_ZERO, DEV_URANDOM, NOT_DEVICE = -1};
455int get_dev_type(const char *filename); 455int get_dev_type(const char *filename);
456void update_dev_fd(int dev, int fd); 456void update_special_fd(int dev, int fd);
457int mingw_open (const char *filename, int oflags, ...); 457int mingw_open (const char *filename, int oflags, ...);
458 458
459/* functions which add O_SPECIAL to open(2) to allow access to devices */ 459/* functions which add O_SPECIAL to open(2) to allow access to devices */