aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2022-05-16 13:56:05 +0100
committerRon Yorston <rmy@pobox.com>2022-05-16 14:03:51 +0100
commit7eff2ff404f2a4961be927de6bd23b7fb702080e (patch)
tree04d0e0252e904733a723bb536e9aef3504f0325f /include
parent7fb95a2a569ca6d68dad4cef5b7b299e9fe68e2b (diff)
downloadbusybox-w32-7eff2ff404f2a4961be927de6bd23b7fb702080e.tar.gz
busybox-w32-7eff2ff404f2a4961be927de6bd23b7fb702080e.tar.bz2
busybox-w32-7eff2ff404f2a4961be927de6bd23b7fb702080e.zip
jn: new applet
Add a Windows-specific applet to create a directory junction. Usage: jn DIR JUNC where DIR must be an existing directory on a local drive and JUNC must not currently exist. There isn't a simple WIN32 API to create directory junctions. The implementation of mklink in ReactOS provided useful inspiration.
Diffstat (limited to 'include')
-rw-r--r--include/mingw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h
index 5e01b874e..b91fbb531 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -479,6 +479,7 @@ NOIMPL(setuid,uid_t gid UNUSED_PARAM);
479NOIMPL(seteuid,uid_t gid UNUSED_PARAM); 479NOIMPL(seteuid,uid_t gid UNUSED_PARAM);
480unsigned int sleep(unsigned int seconds); 480unsigned int sleep(unsigned int seconds);
481int symlink(const char *target, const char *linkpath); 481int symlink(const char *target, const char *linkpath);
482int create_junction(const char *oldpath, const char *newpath);
482long sysconf(int name); 483long sysconf(int name);
483IMPL(getpagesize,int,4096,void); 484IMPL(getpagesize,int,4096,void);
484NOIMPL(ttyname_r,int fd UNUSED_PARAM, char *buf UNUSED_PARAM, int sz UNUSED_PARAM); 485NOIMPL(ttyname_r,int fd UNUSED_PARAM, char *buf UNUSED_PARAM, int sz UNUSED_PARAM);