diff options
Diffstat (limited to 'winsup/cygwin/fhandler_nodevice.cc')
-rw-r--r-- | winsup/cygwin/fhandler_nodevice.cc | 40 |
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 000000000..22281d5d3 --- /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 "path.h" +#include "fhandler.h" +#include "dtable.h" +#include "cygheap.h" +#include "shared_info.h" +#include "pinfo.h" +#include <assert.h> +#include <limits.h> + +int +fhandler_nodevice::open (int, mode_t) +{ + set_errno (ENXIO); + return 0; +} + +fhandler_nodevice::fhandler_nodevice () +{ +} |