1 /* fhandler_dev_zero.cc: code to access /dev/zero
3 Written by DJ Delorie (dj@cygnus.com)
5 This file is part of Cygwin.
7 This software is a copyrighted work licensed under the terms of the
8 Cygwin license. Please consult the file "CYGWIN_LICENSE" for
17 fhandler_dev_zero::fhandler_dev_zero ()
23 fhandler_dev_zero::write (const void *, size_t len
)
25 if (get_device () == FH_FULL
)
34 fhandler_dev_zero::read (void *ptr
, size_t& len
)