newlib/winsup/cygwin/include/sys
Corinna Vinschen 5aa8817e3a Allow cygwin_conv_path(3) and cygpath(1) to emit /proc/cygdrive prefixed path
* include/sys/cygwin.h (CCP_PROC_CYGDRIVE): New flag.
        * mount.cc (mount_info::cygdrive_posix_path): Take flag values rather
        than just a trailing_slash_p bool.  Emit /proc/cygdrive path if
        CCP_PROC_CYGDRIVE flag is given.
        (mount_info::conv_to_posix_path): Take flag values rather than just
        a keep_rel_p bool.  Rename _p variables.  Print flag value as hex in
        debug_printf.  Call cygdrive_posix_path with flag values.
        * mount.h (mount_info::cygdrive_posix_path): Accommodate above change
        in declaration.
        (mount_info::conv_to_posix_path): Ditto.
        * fhandler_process.cc (format_process_exename): Accommodate change to
        mount_info::conv_to_posix_path.
        * path.cc (cygwin_conv_path): Ditto.

        * cygpath.cc (absolute_flag): Initialize to CCP_RELATIVE to simplify
        expressions.
        (cygdrive_flag): New global flag.
        (long_options): Add --proc-cygdrive option.
        (options): Add -U option.
        (usage): Add description for -U option.
        (do_sysfolders): Or cygdrive_flag to cygwin_conv_path call.
        (do_pathconv): Simply or absolute_flag to conv_func.  Or
        cygdrive_flag to conv_func.
        (do_options): Initalize absolute_flag to CCP_RELATIVE.  Initialize new
        cygdrive_flag.  Set absolute_flag to CCP_ABSOLUTE on -a.  Set
        cygdrive_flag to CCP_PROC_CYGDRIVE on -U.

        * new-features.xml (ov-new2.4): Document cygpath -U option.
        * utils.xml (cygpath): Ditto.
        * path.xml (func-cygwin-path): Add CCP_PROC_CYGDRIVE description.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-12-06 17:25:48 +01:00
..
acl.h
copying.dj
cygwin.h Allow cygwin_conv_path(3) and cygpath(1) to emit /proc/cygdrive prefixed path 2015-12-06 17:25:48 +01:00
dirent.h Throughout, keep function definitions and declarations in sync with 2013-11-25 11:38:08 +00:00
elf.h
elf32.h
elf64.h
elf_common.h
elf_generic.h
file.h * include/sys/file.h: Add extern "C". 2014-08-06 08:46:12 +00:00
ioctl.h
ipc.h
kd.h
lock.h
mman.h
mount.h * Makefile.in (DLL_OFILES): Add quotactl.o. 2014-10-17 08:19:27 +00:00
msg.h
mtio.h
param.h
poll.h
procfs.h
quota.h * Makefile.in (DLL_OFILES): Add quotactl.o. 2014-10-17 08:19:27 +00:00
resource.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
select.h
sem.h
shm.h
smallprint.h
socket.h * include/sys/socket.h (sockatmark): Add prototype. 2015-02-24 09:00:37 +00:00
soundcard.h
statfs.h
statvfs.h
stdio.h
strace.h headers: properly decorate attributes 2014-08-01 15:48:37 +00:00
sysinfo.h Adapt to changes in newlib's sys/cdefs.h: 2013-04-22 10:33:09 +00:00
syslimits.h
syslog.h
sysmacros.h
sysproto.h
termio.h
termios.h Add CMIN and CTIME definitions 2015-04-23 21:57:07 +02:00
ttychars.h
ucontext.h Try to make sure struct _mcontext is 16-byte aligned 2015-04-23 21:57:11 +02:00
uio.h
un.h * include/sys/un.h (UNIX_PATH_MAX): Rename from UNIX_PATH_LEN to 2013-03-07 15:39:35 +00:00
utime.h
utmp.h
utsname.h
vfs.h
wait.h
xattr.h