summaryrefslogtreecommitdiff
path: root/winsup/cygwin/fhandler_nodevice.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/fhandler_nodevice.cc')
-rw-r--r--winsup/cygwin/fhandler_nodevice.cc40
1 files changed, 40 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler_nodevice.cc b/winsup/cygwin/fhandler_nodevice.cc
new file mode 100644
index 00000000000..8f2b26c6dbe
--- /dev/null
+++ b/winsup/cygwin/fhandler_nodevice.cc
@@ -0,0 +1,40 @@
+/* fhandler.cc. See console.cc for fhandler_console functions.
+
+ Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
+
+This file is part of Cygwin.
+
+This software is a copyrighted work licensed under the terms of the
+Cygwin license. Please consult the file "CYGWIN_LICENSE" for
+details. */
+
+#include "winsup.h"
+#include <errno.h>
+#include <unistd.h>
+#include <stdlib.h>
+#include <sys/cygwin.h>
+#include <sys/uio.h>
+#include <signal.h>
+#include "cygerrno.h"
+#include "perprocess.h"
+#include "security.h"
+#include "cygwin/version.h"
+#include "fhandler.h"
+#include "path.h"
+#include "dtable.h"
+#include "cygheap.h"
+#include "shared_info.h"
+#include "pinfo.h"
+#include <assert.h>
+#include <limits.h>
+
+int
+fhandler_nodevice::open (path_conv *, int, mode_t)
+{
+ set_errno (ENODEV);
+ return 0;
+}
+
+fhandler_nodevice::fhandler_nodevice ()
+{
+}