1 /* fhandler_nodevice.cc. "No such device" handler.
3 This file is part of Cygwin.
5 This software is a copyrighted work licensed under the terms of the
6 Cygwin license. Please consult the file "CYGWIN_LICENSE" for
15 fhandler_nodevice::open (int flags
, mode_t
)
19 /* Fixup EROFS error returned from path_conv if /dev is not backed by real
20 directory on disk and the file doesn't exist. */
21 else if (pc
.error
== EROFS
&& (flags
& O_ACCMODE
) == O_RDONLY
)
26 fhandler_nodevice::fhandler_nodevice ()