diff options
author | Christopher Faylor <me@cgf.cx> | 2003-09-20 00:31:13 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-09-20 00:31:13 +0000 |
commit | d1fb625d2bbe16aeb77d403d62742b0240ca7024 (patch) | |
tree | 282edbea12074ba940905d8930168a69d63c3601 /winsup/cygwin/fhandler_nodevice.cc | |
parent | 41946df6111b6daf93518b22ca49c54544c77599 (diff) | |
download | cygnal-d1fb625d2bbe16aeb77d403d62742b0240ca7024.tar.gz cygnal-d1fb625d2bbe16aeb77d403d62742b0240ca7024.tar.bz2 cygnal-d1fb625d2bbe16aeb77d403d62742b0240ca7024.zip |
* syscalls.cc (system): Strip signal considerations from here so that they are
not inherited by a child process.
* spawn.cc (spawn_guts): Handle system() signal stuff here.
* winsup.h (_P_SYSTEM): Define.
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 () +{ +} |