OSDN Git Service

* path.cc (conv_path_list): Take cygwin_conv_path_t as third parameter.
[pf3gnuchains/pf3gnuchains4x.git] / winsup / cygwin / fhandler_nodevice.cc
1 /* fhandler_nodevice.cc.  "No such device" handler.
2
3    Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2008, 2009
4    Red Hat, Inc.
5
6 This file is part of Cygwin.
7
8 This software is a copyrighted work licensed under the terms of the
9 Cygwin license.  Please consult the file "CYGWIN_LICENSE" for
10 details. */
11
12 #include "winsup.h"
13 #include "cygerrno.h"
14 #include "path.h"
15 #include "fhandler.h"
16
17 int
18 fhandler_nodevice::open (int, mode_t)
19 {
20   if (!pc.error)
21     set_errno (ENXIO);
22   return 0;
23 }
24
25 fhandler_nodevice::fhandler_nodevice ()
26 {
27 }